/xen/tools/libxl/ |
A D | libxl_nic.c | 28 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 D | libxl_internal.c | 316 _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 D | libxl.h | 1055 #define LIBXL_MAC_BYTES(mac) mac[0], mac[1], mac[2], mac[3], mac[4], mac[5] argument
|
A D | libxl_utils.h | 69 const char *mac, libxl_device_nic *nic);
|
A D | libxl_json.c | 325 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 D | libxl_types.idl | 17 libxl_mac = Builtin("mac", json_parse_type="JSON_STRING", passby=PASS_BY_REFERENCE, check_default_f… 710 ("mac", libxl_mac),
|
A D | libxl_internal.h | 2078 _hidden int libxl__parse_mac(const char *s, libxl_mac mac); 2082 _hidden int libxl__mac_is_default(libxl_mac *mac);
|
A D | libxl_dm.c | 865 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 D | xl_sxp.c | 186 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 D | xl_nic.c | 120 printf(LIBXL_MAC_FMT, LIBXL_MAC_BYTES(nics[i].mac)); in main_networklist()
|
/xen/tools/hotplug/Linux/ |
A D | vif-openvswitch | 55 local mac=$(xenstore_read "$XENBUS_PATH/mac") 56 openvswitch_external_id $dev "attached-mac" "$mac"
|
A D | vif-nat | 138 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 D | tboot.c | 206 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 D | disk_format.h | 21 struct mac128 mac; member 88 struct mac128 mac; member
|
A D | disk_crypto.c | 206 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 D | disk_write.c | 27 aes_cmac(§or->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 D | disk_read.c | 27 if (aes_cmac_verify(§or->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 D | xl-network-configuration.5.pod | 21 '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 D | xenlight.go | 362 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 D | vtpm-platforms.txt | 56 vif=['mac=00:01:02:03:04:05,bridge=br0'] 63 vif=['mac=00:01:02:03:04:06,bridge=br0']
|
A D | xen-command-line.pandoc | 186 = 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 D | xenstore-paths.pandoc | 531 #### ~/attr/vif/$DEVID/mac/$INDEX = MAC_ADDRESS [w]
|
/xen/docs/misc/arm/ |
A D | passthrough.txt | 172 local-mac-address = [00 0a 35 00 22 01];
|
/xen/ |
A D | config.sub | 1410 mac*)
|
/xen/docs/designs/ |
A D | qemu-deprivilege.md | 309 -device rtl8139,netdev=tapnet0,mac=... -netdev tap,id=tapnet0,fd=<tapfd>
|