Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 28) sorted by relevance

12

/xen/tools/libxl/
A Dlibxl_nic.c28 rc = libxl__parse_mac(mac, mac_n); in libxl_mac_to_device_nic()
67 if (libxl__mac_is_default(&nic->mac)) { in libxl__device_nic_setdefault()
74 nic->mac[0] = 0x00; in libxl__device_nic_setdefault()
75 nic->mac[1] = 0x16; in libxl__device_nic_setdefault()
76 nic->mac[2] = 0x3e; in libxl__device_nic_setdefault()
77 nic->mac[3] = r[0] & 0x7f; in libxl__device_nic_setdefault()
78 nic->mac[4] = r[1]; in libxl__device_nic_setdefault()
79 nic->mac[5] = r[2]; in libxl__device_nic_setdefault()
124 libxl_mac_copy(CTX, &dst->mac, &src->mac); in libxl__update_config_nic()
284 rc = libxl__parse_mac(tmp, nic->mac); in libxl__nic_from_xenstore()
[all …]
A Dlibxl_internal.c316 _hidden int libxl__parse_mac(const char *s, libxl_mac mac) in libxl__parse_mac() argument
323 mac[i] = strtol(tok, &endptr, 16); in libxl__parse_mac()
347 _hidden int libxl__mac_is_default(libxl_mac *mac) in libxl__mac_is_default() argument
349 return (!(*mac)[0] && !(*mac)[1] && !(*mac)[2] && in libxl__mac_is_default()
350 !(*mac)[3] && !(*mac)[4] && !(*mac)[5]); in libxl__mac_is_default()
A Dlibxl.h1055 #define LIBXL_MAC_BYTES(mac) mac[0], mac[1], mac[2], mac[3], mac[4], mac[5] argument
A Dlibxl_utils.h69 const char *mac, libxl_device_nic *nic);
A Dlibxl_json.c325 yajl_gen_status libxl_mac_gen_json(yajl_gen hand, libxl_mac *mac) in libxl_mac_gen_json() argument
328 snprintf(buf, sizeof(buf), LIBXL_MAC_FMT, LIBXL_MAC_BYTES((*mac))); in libxl_mac_gen_json()
A Dlibxl_types.idl17 libxl_mac = Builtin("mac", json_parse_type="JSON_STRING", passby=PASS_BY_REFERENCE, check_default_f…
710 ("mac", libxl_mac),
A Dlibxl_internal.h2078 _hidden int libxl__parse_mac(const char *s, libxl_mac mac);
2082 _hidden int libxl__mac_is_default(libxl_mac *mac);
A Dlibxl_dm.c865 LIBXL_MAC_FMT, LIBXL_MAC_BYTES(nics[i].mac)); in libxl__build_device_model_args_old()
1539 LIBXL_MAC_BYTES(nics[i].mac)); in libxl__build_device_model_args_new()
/xen/tools/xl/
A Dxl_sxp.c186 d_config->nics[i].mac[0], d_config->nics[i].mac[1], in printf_info_sexp()
187 d_config->nics[i].mac[2], d_config->nics[i].mac[3], in printf_info_sexp()
188 d_config->nics[i].mac[4], d_config->nics[i].mac[5]); in printf_info_sexp()
A Dxl_nic.c120 printf(LIBXL_MAC_FMT, LIBXL_MAC_BYTES(nics[i].mac)); in main_networklist()
/xen/tools/hotplug/Linux/
A Dvif-openvswitch55 local mac=$(xenstore_read "$XENBUS_PATH/mac")
56 openvswitch_external_id $dev "attached-mac" "$mac"
A Dvif-nat138 mac=$(xenstore_read "$XENBUS_PATH/mac")
140 "host $hostname { hardware ethernet $mac; fixed-address $vif_ip; option routers $router_ip; option …
/xen/xen/arch/x86/
A Dtboot.c206 vmac_t *mac) in tboot_gen_domain_integrity() argument
241 *mac = vmac(NULL, 0, nonce, NULL, &ctx); in tboot_gen_domain_integrity()
271 vmac_t *mac) in tboot_gen_xenheap_integrity() argument
303 *mac = vmac(NULL, 0, nonce, NULL, &ctx); in tboot_gen_xenheap_integrity()
310 vmac_t *mac) in tboot_gen_frametable_integrity() argument
332 *mac = vmac(NULL, 0, nonce, NULL, &ctx); in tboot_gen_frametable_integrity()
/xen/stubdom/vtpmmgr/
A Ddisk_format.h21 struct mac128 mac; member
88 struct mac128 mac; member
A Ddisk_crypto.c206 struct mac128 mac; in aes_cmac_verify() local
207 aes_cmac(&mac, src, size, key); in aes_cmac_verify()
208 return verify_128(&mac, target); in aes_cmac_verify()
A Ddisk_write.c27 aes_cmac(&sector->mac, sector->data, sizeof(sector->data), &mgr->tm_key_e); in disk_write_crypt_sector()
358 aes_cmac(&root.rb_macs[j].mac, &root.v, sizeof(root.v), &key_e); in disk_write_root_sector()
365 aes_cmac(&root_sect->mac, &root_sect->data, sizeof(root_sect->data), &mgr->tm_key_e); in disk_write_root_sector()
A Ddisk_read.c27 if (aes_cmac_verify(&sector->mac, sector->data, sizeof(sector->data), &mgr->tm_key_e)) in disk_read_crypt_sector()
532 if (aes_cmac_verify(&ent->mac, &root->v, sizeof(root->v), &key_e)) { in load_root_post()
/xen/docs/man/
A Dxl-network-configuration.5.pod21 'mac=00:16:3E:74:3d:76,model=rtl8139,bridge=xenbr0'
22 'mac=00:16:3E:74:34:32'
27 vif = [ 'mac=00:16:3E:74:34:32', 'mac=00:16:3e:5f:48:e4,bridge=xenbr1' ]
38 =head2 mac section
/xen/tools/golang/xenlight/
A Dxenlight.go362 func (mac Mac) String() string {
366 for i, v := range mac {
373 func (mac *Mac) fromC(cmac *C.libxl_mac) error {
374 for i := range *mac {
375 mac[i] = byte(cmac[i])
381 func (mac Mac) toC(cm *C.libxl_mac) error {
382 for i, v := range mac {
/xen/docs/misc/
A Dvtpm-platforms.txt56 vif=['mac=00:01:02:03:04:05,bridge=br0']
63 vif=['mac=00:01:02:03:04:06,bridge=br0']
A Dxen-command-line.pandoc186 = List of [ <bool>, mac-permissive=<bool> ]
198 * The `mac-permissive` boolean controls whether wildcard receive rings may be
199 registered (`mac-permissive=1`) or may not be registered
200 (`mac-permissive=0`).
A Dxenstore-paths.pandoc531 #### ~/attr/vif/$DEVID/mac/$INDEX = MAC_ADDRESS [w]
/xen/docs/misc/arm/
A Dpassthrough.txt172 local-mac-address = [00 0a 35 00 22 01];
/xen/
A Dconfig.sub1410 mac*)
/xen/docs/designs/
A Dqemu-deprivilege.md309 -device rtl8139,netdev=tapnet0,mac=... -netdev tap,id=tapnet0,fd=<tapfd>

Completed in 1421 milliseconds

12