/system/core/libnetutils/ |
packet.c | 54 bindaddr.sll_halen = ETH_ALEN; 55 memcpy(bindaddr.sll_addr, hwaddr, ETH_ALEN); 143 destaddr.sll_halen = ETH_ALEN; 144 memcpy(destaddr.sll_addr, "\xff\xff\xff\xff\xff\xff", ETH_ALEN);
|
/external/grub/netboot/ |
depca.c | 441 u8 phys_addr[ETH_ALEN]; /* Physical ethernet address */ 495 for (i = 0; i < ETH_ALEN; i++) 622 memcpy_toio(mem, d, ETH_ALEN); 623 memcpy_toio(mem + ETH_ALEN, nic->node_addr, ETH_ALEN); 624 mem[ETH_ALEN * 2] = t >> 8; 625 mem[ETH_ALEN * 2 + 1] = t;
|
lance.c | 56 unsigned char phys_addr[ETH_ALEN]; 261 for (i = 0; i < ETH_ALEN; ++i) 345 memcpy(lp->tbuf, d, ETH_ALEN); /* dst */ 346 memcpy(&lp->tbuf[ETH_ALEN], nic->node_addr, ETH_ALEN); /* src */ 347 lp->tbuf[ETH_ALEN+ETH_ALEN] = t >> 8; /* type */ 348 lp->tbuf[ETH_ALEN+ETH_ALEN+1] = t; /* type */ 454 for (i = 0; i < ETH_ALEN; ++i) [all...] |
sk_g16.c | 638 memcpy(&p->ram->tmdbuf[p->tmdnum][0], d, ETH_ALEN); /* dst */ 639 memcpy(&p->ram->tmdbuf[p->tmdnum][ETH_ALEN], nic->node_addr, ETH_ALEN); /* src */ 640 p->ram->tmdbuf[p->tmdnum][ETH_ALEN + ETH_ALEN] = t >> 8; /* type */ 641 p->ram->tmdbuf[p->tmdnum][ETH_ALEN + ETH_ALEN + 1] = t; /* type */ 810 for (i = 0, j = 0; i < ETH_ALEN; i++, j+=2) 953 for (i = 0; i < ETH_ALEN; i++) /* Set physical address */
|
davicom.c | 572 memcpy(&txb[0], d, ETH_ALEN); /* DA 6byte */ 573 memcpy(&txb[ETH_ALEN], nic->node_addr, ETH_ALEN); /* SA 6byte*/ 574 txb[ETH_ALEN*2] = (t >> 8) & 0xFF; /* Frame type: 2byte */ 575 txb[ETH_ALEN*2+1] = t & 0xFF; 689 for (i=0; i<ETH_ALEN; i++)
|
eepro100.c | 377 unsigned char dst_addr[ETH_ALEN]; 378 unsigned char src_addr[ETH_ALEN]; 394 memcpy (&hdr.dst_addr, d, ETH_ALEN); 395 memcpy (&hdr.src_addr, nic->node_addr, ETH_ALEN); 516 for (i=0;i<ETH_ALEN;i++) { 578 for (i=0;i<ETH_ALEN;i++)
|
rtl8139.c | 208 for (i = 0; i < ETH_ALEN; i++) 299 for (i = 0; i < ETH_ALEN; i++) 340 memcpy(tx_buffer, destaddr, ETH_ALEN); 341 memcpy(tx_buffer + ETH_ALEN, nic->node_addr, ETH_ALEN); 343 memcpy(tx_buffer + 2 * ETH_ALEN, (char*)&nstype, 2);
|
3c595.c | 108 for (i = 0; i < ETH_ALEN; i++) 210 outsw(BASE + VX_W1_TX_PIO_WR_1, d, ETH_ALEN/2); 211 outsw(BASE + VX_W1_TX_PIO_WR_1, nic->node_addr, ETH_ALEN/2); 305 nic->packet[5] == 0xFF*ETH_ALEN)
|
ni5010.c | 208 for(i = 0; i < ETH_ALEN; i++) 259 outsb(IE_XBUF, d, ETH_ALEN); /* Put dst in buffer */ 260 outsb(IE_XBUF, nic->node_addr, ETH_ALEN);/* Put src in buffer */ 318 for (i = 0; i < ETH_ALEN; i++) {
|
/external/wpa_supplicant_8/src/drivers/ |
driver_roboswitch.c | 51 static const u8 pae_group_addr[ETH_ALEN] = 59 u8 own_addr[ETH_ALEN]; 77 static void wpa_driver_roboswitch_addr_be16(const u8 addr[ETH_ALEN], u16 *be) 80 for (i = 0; i < ETH_ALEN; i += 2) 81 be[(ETH_ALEN - i) / 2 - 1] = WPA_GET_BE16(addr + i); 176 os_memcmp(buf, drv->own_addr, ETH_ALEN) == 0) 191 os_memcpy(bssid, pae_group_addr, ETH_ALEN);
|
driver.h | 195 u8 bssid[ETH_ALEN]; 1001 u8 addr[ETH_ALEN]; 1170 * @bssid: buffer for BSSID (ETH_ALEN = 6 bytes) [all...] |
linux_ioctl.c | 97 os_memcpy(addr, ifr.ifr_hwaddr.sa_data, ETH_ALEN); 109 os_memcpy(ifr.ifr_hwaddr.sa_data, addr, ETH_ALEN);
|
driver_test.c | 38 u8 addr[ETH_ALEN]; 49 u8 bssid[ETH_ALEN]; 63 u8 req_addr[ETH_ALEN]; 70 u8 own_addr[ETH_ALEN]; 109 u8 pending_action_src[ETH_ALEN]; 110 u8 pending_action_dst[ETH_ALEN]; 111 u8 pending_action_bssid[ETH_ALEN]; 186 if (memcmp(cli->addr, addr, ETH_ALEN) == 0) 197 memcpy(eth.h_dest, addr, ETH_ALEN); 198 memcpy(eth.h_source, own_addr, ETH_ALEN); [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
peerkey.c | 75 kde_len += 2 + RSN_SELECTOR_LEN + ETH_ALEN; 98 pos = wpa_add_kde(pos, RSN_KEY_DATA_MAC_ADDR, peer, ETH_ALEN); 135 2 + RSN_SELECTOR_LEN + ETH_ALEN + 161 pos = wpa_add_kde(pos, RSN_KEY_DATA_MAC_ADDR, peerkey->addr, ETH_ALEN); 200 kde.mac_addr_len < ETH_ALEN) { 238 os_memcpy(peerkey->addr, kde.mac_addr, ETH_ALEN); 302 const size_t len[5] = { 8, WPA_NONCE_LEN, ETH_ALEN, WPA_NONCE_LEN, 303 ETH_ALEN }; 533 if (kde.mac_addr == NULL || kde.mac_addr_len < ETH_ALEN || 543 if (os_memcmp(peerkey->addr, kde.mac_addr, ETH_ALEN) == 0 & [all...] |
peerkey.h | 16 u8 addr[ETH_ALEN]; /* other end MAC address */
|
wpa_i.h | 42 u8 preauth_bssid[ETH_ALEN]; /* current RSN pre-auth peer or 62 u8 own_addr[ETH_ALEN]; 65 u8 bssid[ETH_ALEN]; 119 u8 target_ap[ETH_ALEN]; /* over-the-DS target AP */
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wpa_priv.c | 224 u8 bssid[ETH_ALEN]; 233 sendto(iface->fd, bssid, ETH_ALEN, 0, (struct sockaddr *) from, 325 io[0].iov_len = ETH_ALEN; 346 u8 own_addr[ETH_ALEN]; 388 res = sendto(iface->fd, own_addr, ETH_ALEN, 0, 423 if (len < ETH_ALEN + 2) { 430 os_memcpy(&proto, buf + ETH_ALEN, 2); 438 res = l2_packet_send(iface->l2, dst_addr, proto, buf + ETH_ALEN + 2, 439 len - ETH_ALEN - 2); 801 len = sizeof(int) + ETH_ALEN + data->ft_ies.ies_len [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps.h | 55 u8 mac_addr[ETH_ALEN]; 87 u8 mac_addr[ETH_ALEN]; 509 u8 peer_macaddr[ETH_ALEN]; 513 u8 peer_macaddr[ETH_ALEN]; 519 u8 peer_macaddr[ETH_ALEN]; 579 u8 addr[ETH_ALEN];
|
/external/iptables/extensions/ |
libipt_CLUSTERIP.c | 133 static const char *mac2str(const uint8_t mac[ETH_ALEN]) 135 static char buf[ETH_ALEN*3];
|
/external/libpcap/ |
pcap-dos.h | 23 #define ETH_ALEN sizeof(ETHER) /* Ether address length */ 24 #define ETH_HLEN (2*ETH_ALEN+2) /* Ether header length */
|
/bionic/libc/kernel/common/linux/ |
if_pppox.h | 36 unsigned char remote[ETH_ALEN];
|
/external/wpa_supplicant_8/src/ap/ |
ap_config.h | 21 typedef u8 macaddr[ETH_ALEN]; 107 u8 addr[ETH_ALEN]; 108 u8 p2p_dev_addr[ETH_ALEN]; 413 u8 hessid[ETH_ALEN];
|
preauth_auth.c | 61 if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { 254 os_memcpy(ethhdr->h_dest, sta->addr, ETH_ALEN); 255 os_memcpy(ethhdr->h_source, hapd->own_addr, ETH_ALEN);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new.h | 157 u8 bssid[ETH_ALEN], unsigned int id); 159 u8 bssid[ETH_ALEN], unsigned int id); 309 u8 bssid[ETH_ALEN], unsigned int id) 315 u8 bssid[ETH_ALEN], unsigned int id)
|
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
driver_mac80211_nl.c | 89 u8 macaddr[ETH_ALEN] = {};
|