| /vbox/src/VBox/Devices/PC/ipxe/src/interface/bofm/ |
| H A D | bofm.c | 179 uint8_t mac[6]; local 183 if ( ( rc = bofm->op->harvest ( bofm, en->mport, mac ) ) != 0 ) { 192 PCI_ARGS ( bofm->pci ), en->mport, eth_ntoa ( mac ) ); 193 memcpy ( en->mac_a, mac, sizeof ( en->mac_a ) ); 199 ( memcmp ( en->mac_a, mac, sizeof ( en->mac_a ) ) != 0 ) ) { 201 PCI_ARGS ( bofm->pci ), en->mport, eth_ntoa ( mac ) ); 213 memcpy ( mac, en->mac_a, sizeof ( mac ) ); 217 if ( ( rc = bofm->op->update ( bofm, en->mport, mac ) ) != 0 ) {
|
| /vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
| H A D | fcoe.h | 26 uint8_t mac[ETH_ALEN]; member in struct:fcoe_name::__anon15731
|
| H A D | aoe.h | 128 uint8_t mac[ETH_ALEN]; member in struct:abft_table
|
| H A D | wpa.h | 480 u8 mac[ETH_ALEN]; member in union:wpa_kde::__anon15756
|
| H A D | fip.h | 150 uint8_t mac[ETH_ALEN]; member in struct:fip_mac_address 296 uint8_t mac[ETH_ALEN]; member in struct:fip_vx_port_id
|
| /vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/ |
| H A D | ath5k_pcu.c | 180 * @mac: The card's mac address 182 * Initialize ah->ah_sta_id using the mac address provided 187 void ath5k_hw_get_lladdr(struct ath5k_hw *ah, u8 *mac) argument 189 memcpy(mac, ah->ah_sta_id, ETH_ALEN); 196 * @mac: The card's mac address 198 * Set station id on hw using the provided mac address 200 int ath5k_hw_set_lladdr(struct ath5k_hw *ah, const u8 *mac) argument 206 memcpy(ah->ah_sta_id, mac, ETH_ALE [all...] |
| H A D | ath5k_eeprom.c | 1719 int ath5k_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac) argument 1744 memcpy(mac, mac_d, ETH_ALEN);
|
| H A D | ath5k.c | 1603 u8 mac[ETH_ALEN] = {}; local 1605 ath5k_hw_set_lladdr(sc->ah, mac);
|
| /vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/igbvf/ |
| H A D | igbvf_vf.c | 50 struct e1000_mac_info *mac = &hw->mac; local 55 mac->mta_reg_count = 128; 57 mac->rar_entry_count = 1; 61 mac->ops.reset_hw = igbvf_reset_hw_vf; 63 mac->ops.init_hw = igbvf_init_hw_vf; 65 mac->ops.check_for_link = igbvf_check_for_link_vf; 67 mac->ops.get_link_up_info = igbvf_get_link_up_info_vf; 69 mac->ops.update_mc_addr_list = igbvf_update_mc_addr_list_vf; 70 /* set mac addres 404 struct e1000_mac_info *mac = &hw->mac; local [all...] |
| H A D | igbvf_main.c | 428 struct e1000_mac_info *mac = &adapter->hw.mac; local 433 if ( mac->ops.reset_hw(hw) ) 436 mac->ops.init_hw ( hw ); 438 if ( is_valid_ether_addr(adapter->hw.mac.addr) ) { 439 memcpy ( netdev->hw_addr, adapter->hw.mac.addr, ETH_ALEN ); 474 rc = adapter->hw.mac.ops.init_params ( &adapter->hw ); 476 DBG ("hw.mac.ops.init_params(&adapter->hw) Failure\n"); 858 err = hw->mac.ops.reset_hw ( hw ); 869 err = hw->mac [all...] |
| H A D | igbvf.h | 307 enum e1000_mac_type mac; member in struct:igbvf_info
|
| /vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ |
| H A D | myson.c | 294 union myson_physical_address mac; local 298 memset ( &mac, 0, sizeof ( mac ) ); 299 memcpy ( mac.raw, netdev->ll_addr, ETH_ALEN ); 300 writel ( le32_to_cpu ( mac.reg.low ), myson->regs + MYSON_PAR0 ); 301 writel ( le32_to_cpu ( mac.reg.high ), myson->regs + MYSON_PAR4 ); 593 union myson_physical_address mac; local 621 mac.reg.low = cpu_to_le32 ( readl ( myson->regs + MYSON_PAR0 ) ); 622 mac.reg.high = cpu_to_le32 ( readl ( myson->regs + MYSON_PAR4 ) ); 623 memcpy ( netdev->hw_addr, mac [all...] |
| H A D | virtio-net.h | 20 /* The config defining mac address (if VIRTIO_NET_F_MAC) */ 21 u8 mac[6]; member in struct:virtio_net_config
|
| H A D | intel.c | 222 union intel_receive_address mac; local 226 mac.reg.low = cpu_to_le32 ( readl ( intel->regs + INTEL_RAL0 ) ); 227 mac.reg.high = cpu_to_le32 ( readl ( intel->regs + INTEL_RAH0 ) ); 229 intel, eth_ntoa ( mac.raw ) ); 236 if ( is_valid_ether_addr ( mac.raw ) ) { 237 memcpy ( hw_addr, mac.raw, ETH_ALEN ); 490 union intel_receive_address mac; local 507 memset ( &mac, 0, sizeof ( mac ) ); 508 memcpy ( mac [all...] |
| H A D | vmxnet3.c | 402 } __attribute__ (( packed )) mac; local 404 memset ( &mac, 0, sizeof ( mac ) ); 405 memcpy ( &mac, ll_addr, ETH_ALEN ); 406 writel ( cpu_to_le32 ( mac.low ), ( vmxnet->vd + VMXNET3_VD_MACL ) ); 407 writel ( cpu_to_le32 ( mac.high ), ( vmxnet->vd + VMXNET3_VD_MACH ) ); 565 } __attribute__ (( packed )) mac; local 567 mac.low = le32_to_cpu ( vmxnet3_command ( vmxnet, 569 mac.high = le32_to_cpu ( vmxnet3_command ( vmxnet, 571 memcpy ( hw_addr, &mac, ETH_ALE [all...] |
| H A D | ipoib.c | 110 struct ipoib_mac mac; member in struct:ipoib_peer 155 * @v mac Peer MAC address 158 static struct ipoib_peer * ipoib_cache_peer ( const struct ipoib_mac *mac ) { 166 if ( memcmp ( &peer->mac, mac, sizeof ( peer->mac ) ) == 0 ) 178 memcpy ( &peer->mac, mac, sizeof ( peer->mac ) ); 180 peer->key, ipoib_ntoa ( &peer->mac ) ); 278 struct ipoib_mac *mac = ll_addr; local 292 const struct ipoib_mac *mac = ll_addr; local 612 struct ipoib_mac *mac = ( ( struct ipoib_mac * ) netdev->ll_addr ); local 649 struct ipoib_mac *mac = ( ( struct ipoib_mac * ) netdev->ll_addr ); local 708 struct ipoib_mac *mac = ( ( struct ipoib_mac * ) netdev->ll_addr ); local [all...] |
| H A D | tlan.c | 84 static void TLan_SetMac(struct nic *nic __unused, int areg, unsigned char *mac); 1301 * mac A pointer to an array of chars. Each 1309 * in mac, then the AREG is filled with 0's. 1313 void TLan_SetMac(struct nic *nic __unused, int areg, unsigned char *mac) argument 1319 if (mac != NULL) { 1322 mac[i]);
|
| /vbox/src/VBox/HostDrivers/VBoxNetAdp/darwin/ |
| H A D | VBoxNetAdp-darwin.cpp | 243 struct sockaddr_dl mac; local 255 mac.sdl_len = sizeof(mac); 256 mac.sdl_family = AF_LINK; 257 mac.sdl_alen = ETHER_ADDR_LEN; 258 mac.sdl_nlen = 0; 259 mac.sdl_slen = 0; 260 memcpy(LLADDR(&mac), pMACAddress->au8, mac.sdl_alen); 287 err = ifnet_attach(pThis->u.s.pIface, &mac); [all...] |
| /vbox/src/VBox/Main/src-server/ |
| H A D | DHCPServerImpl.cpp | 521 com::Bstr mac; local 524 hrc = nic->COMGETTER(MACAddress)(mac.asOutParam()); 529 if (!RTStrICmp(com::Utf8Str(mac).c_str(), aMAC.c_str()))
|
| H A D | NetworkAdapterImpl.cpp | 1290 Utf8Str mac; local 1291 Host::i_generateMACAddress(mac); 1292 LogFlowThisFunc(("generated MAC: '%s'\n", mac.c_str())); 1293 mData->mMACAddress = mac;
|
| /vbox/src/VBox/Devices/PC/ipxe/src/net/80211/ |
| H A D | wpa_tkip.c | 48 u8 mac[ETH_ALEN]; member in struct:tkip_dir_ctx 211 * @v mac MAC address of transmitter 216 static void tkip_mix_1 ( struct tkip_dir_ctx *dctx, struct tkip_tk *tk, u8 *mac ) 220 if ( dctx->ttak_ok && ! memcmp ( mac, dctx->mac, ETH_ALEN ) ) 223 memcpy ( dctx->mac, mac, ETH_ALEN ); 227 dctx->ttak[2] = ( mac[1] << 8 ) | mac[0]; 228 dctx->ttak[3] = ( mac[ [all...] |
| /vbox/src/VBox/NetworkServices/NAT/ |
| H A D | VBoxNetLwipNAT.cpp | 451 LogRel(("netif %c%c%d: mac %RTmac\n", 539 RTMAC mac = g_pLwipNat->getMacAddress(); local 540 memcpy(pNetif->hwaddr, &mac, sizeof(RTMAC)); 656 RTMAC mac; 657 mac.au8[0] = 0x52; 658 mac.au8[1] = 0x54; 659 mac.au8[2] = 0; 660 mac.au8[3] = 0x12; 661 mac.au8[4] = 0x35; 662 mac [all...] |
| /vbox/src/VBox/HostDrivers/VBoxNetFlt/win/drv/ |
| H A D | VBoxNetFltM-win.cpp | 166 RTMAC mac; local 190 rc = vboxNetFltWinMACFromNdisString(&mac, &pParameterValue->ParameterData.StringData); 198 vboxNetFltWinGenerateMACAddress(&mac); 203 rc = vboxNetFltWinMAC2NdisString(&mac, ¶m.ParameterData.StringData); 224 vboxNetFltWinGenerateMACAddress(&mac); 227 pThis->u.s.MacAddr = mac;
|
| /vbox/src/VBox/NetworkServices/DHCP/ |
| H A D | VBoxNetDHCP.cpp | 204 RTMAC mac; local 205 mac.au8[0] = 0x08; 206 mac.au8[1] = 0x00; 207 mac.au8[2] = 0x27; 208 mac.au8[3] = 0x40; 209 mac.au8[4] = 0x41; 210 mac.au8[5] = 0x42; 211 setMacAddress(mac);
|
| H A D | Config.h | 75 void initWithMac(const RTMAC& mac); 76 bool operator== (const RTMAC& mac) const; 229 MACClientMatchCriteria(const RTMAC& mac):m_mac(mac){} argument
|