/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | preauth_auth.c | 48 struct l2_ethhdr *ethhdr; local 52 if (len < sizeof(*ethhdr) + sizeof(*hdr)) { 58 ethhdr = (struct l2_ethhdr *) buf; 59 hdr = (struct ieee802_1x_hdr *) (ethhdr + 1); 61 if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { 63 MACSTR, MAC2STR(ethhdr->h_dest)); 67 sta = ap_get_sta(hapd, ethhdr->h_source); 74 sta = ap_sta_add(hapd, ethhdr->h_source); 92 ieee802_1x_receive(hapd, ethhdr->h_source, (u8 *) (ethhdr 235 struct l2_ethhdr *ethhdr; local [all...] |
H A D | wpa_auth_glue.c | 509 struct l2_ethhdr *ethhdr; local 510 if (len < sizeof(*ethhdr)) 512 ethhdr = (struct l2_ethhdr *) buf; 514 MACSTR, MAC2STR(ethhdr->h_source), MAC2STR(ethhdr->h_dest)); 515 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), 516 len - sizeof(*ethhdr));
|
/external/wpa_supplicant_8/src/ap/ |
H A D | preauth_auth.c | 48 struct l2_ethhdr *ethhdr; local 52 if (len < sizeof(*ethhdr) + sizeof(*hdr)) { 58 ethhdr = (struct l2_ethhdr *) buf; 59 hdr = (struct ieee802_1x_hdr *) (ethhdr + 1); 61 if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { 63 MACSTR, MAC2STR(ethhdr->h_dest)); 67 sta = ap_get_sta(hapd, ethhdr->h_source); 74 sta = ap_sta_add(hapd, ethhdr->h_source); 92 ieee802_1x_receive(hapd, ethhdr->h_source, (u8 *) (ethhdr 235 struct l2_ethhdr *ethhdr; local [all...] |
H A D | wpa_auth_glue.c | 509 struct l2_ethhdr *ethhdr; local 510 if (len < sizeof(*ethhdr)) 512 ethhdr = (struct l2_ethhdr *) buf; 514 MACSTR, MAC2STR(ethhdr->h_source), MAC2STR(ethhdr->h_dest)); 515 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), 516 len - sizeof(*ethhdr));
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | preauth_auth.c | 48 struct l2_ethhdr *ethhdr; local 52 if (len < sizeof(*ethhdr) + sizeof(*hdr)) { 58 ethhdr = (struct l2_ethhdr *) buf; 59 hdr = (struct ieee802_1x_hdr *) (ethhdr + 1); 61 if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { 63 MACSTR, MAC2STR(ethhdr->h_dest)); 67 sta = ap_get_sta(hapd, ethhdr->h_source); 74 sta = ap_sta_add(hapd, ethhdr->h_source); 92 ieee802_1x_receive(hapd, ethhdr->h_source, (u8 *) (ethhdr 235 struct l2_ethhdr *ethhdr; local [all...] |
H A D | wpa_auth_glue.c | 509 struct l2_ethhdr *ethhdr; local 510 if (len < sizeof(*ethhdr)) 512 ethhdr = (struct l2_ethhdr *) buf; 514 MACSTR, MAC2STR(ethhdr->h_source), MAC2STR(ethhdr->h_dest)); 515 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), 516 len - sizeof(*ethhdr));
|
/external/wpa_supplicant_8/hostapd/src/l2_packet/ |
H A D | l2_packet_pcap.c | 123 struct l2_ethhdr *ethhdr; local 129 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 132 ethhdr = (struct l2_ethhdr *) packet; 134 buf = (unsigned char *) ethhdr; 137 buf = (unsigned char *) (ethhdr + 1); 138 len = hdr.caplen - sizeof(*ethhdr); 140 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); 150 struct l2_ethhdr *ethhdr; local 154 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 157 ethhdr [all...] |
H A D | l2_packet_freebsd.c | 81 struct l2_ethhdr *ethhdr; local 87 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 90 ethhdr = (struct l2_ethhdr *) packet; 92 buf = (unsigned char *) ethhdr; 95 buf = (unsigned char *) (ethhdr + 1); 96 len = hdr.caplen - sizeof(*ethhdr); 98 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
|
H A D | l2_packet_winpcap.c | 106 struct l2_ethhdr *ethhdr; local 108 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 111 ethhdr = (struct l2_ethhdr *) pkt_data; 113 l2->rx_buf = (u8 *) ethhdr; 116 l2->rx_buf = (u8 *) (ethhdr + 1); 117 l2->rx_len = hdr->caplen - sizeof(*ethhdr); 119 l2->rx_src = ethhdr->h_source;
|
H A D | l2_packet_ndis.c | 283 struct l2_ethhdr *ethhdr = (struct l2_ethhdr *) l2->rx_buf; local 288 if (l2->l2_hdr || l2->rx_written < sizeof(*ethhdr)) { 289 rx_buf = (u8 *) ethhdr; 292 rx_buf = (u8 *) (ethhdr + 1); 293 rx_len = l2->rx_written - sizeof(*ethhdr); 295 rx_src = ethhdr->h_source;
|
/external/wpa_supplicant_8/src/l2_packet/ |
H A D | l2_packet_pcap.c | 123 struct l2_ethhdr *ethhdr; local 129 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 132 ethhdr = (struct l2_ethhdr *) packet; 134 buf = (unsigned char *) ethhdr; 137 buf = (unsigned char *) (ethhdr + 1); 138 len = hdr.caplen - sizeof(*ethhdr); 140 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); 150 struct l2_ethhdr *ethhdr; local 154 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 157 ethhdr [all...] |
H A D | l2_packet_freebsd.c | 81 struct l2_ethhdr *ethhdr; local 87 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 90 ethhdr = (struct l2_ethhdr *) packet; 92 buf = (unsigned char *) ethhdr; 95 buf = (unsigned char *) (ethhdr + 1); 96 len = hdr.caplen - sizeof(*ethhdr); 98 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
|
H A D | l2_packet_winpcap.c | 106 struct l2_ethhdr *ethhdr; local 108 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 111 ethhdr = (struct l2_ethhdr *) pkt_data; 113 l2->rx_buf = (u8 *) ethhdr; 116 l2->rx_buf = (u8 *) (ethhdr + 1); 117 l2->rx_len = hdr->caplen - sizeof(*ethhdr); 119 l2->rx_src = ethhdr->h_source;
|
H A D | l2_packet_ndis.c | 283 struct l2_ethhdr *ethhdr = (struct l2_ethhdr *) l2->rx_buf; local 288 if (l2->l2_hdr || l2->rx_written < sizeof(*ethhdr)) { 289 rx_buf = (u8 *) ethhdr; 292 rx_buf = (u8 *) (ethhdr + 1); 293 rx_len = l2->rx_written - sizeof(*ethhdr); 295 rx_src = ethhdr->h_source;
|
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/ |
H A D | l2_packet_pcap.c | 123 struct l2_ethhdr *ethhdr; local 129 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 132 ethhdr = (struct l2_ethhdr *) packet; 134 buf = (unsigned char *) ethhdr; 137 buf = (unsigned char *) (ethhdr + 1); 138 len = hdr.caplen - sizeof(*ethhdr); 140 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); 150 struct l2_ethhdr *ethhdr; local 154 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 157 ethhdr [all...] |
H A D | l2_packet_freebsd.c | 81 struct l2_ethhdr *ethhdr; local 87 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 90 ethhdr = (struct l2_ethhdr *) packet; 92 buf = (unsigned char *) ethhdr; 95 buf = (unsigned char *) (ethhdr + 1); 96 len = hdr.caplen - sizeof(*ethhdr); 98 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
|
H A D | l2_packet_winpcap.c | 106 struct l2_ethhdr *ethhdr; local 108 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 111 ethhdr = (struct l2_ethhdr *) pkt_data; 113 l2->rx_buf = (u8 *) ethhdr; 116 l2->rx_buf = (u8 *) (ethhdr + 1); 117 l2->rx_len = hdr->caplen - sizeof(*ethhdr); 119 l2->rx_src = ethhdr->h_source;
|
H A D | l2_packet_ndis.c | 283 struct l2_ethhdr *ethhdr = (struct l2_ethhdr *) l2->rx_buf; local 288 if (l2->l2_hdr || l2->rx_written < sizeof(*ethhdr)) { 289 rx_buf = (u8 *) ethhdr; 292 rx_buf = (u8 *) (ethhdr + 1); 293 rx_len = l2->rx_written - sizeof(*ethhdr); 295 rx_src = ethhdr->h_source;
|
/external/kernel-headers/original/uapi/linux/ |
H A D | if_arcnet.h | 84 struct ethhdr eth; /* standard ethernet header (yuck!) */
|
H A D | if_ether.h | 134 struct ethhdr { struct
|
/external/libnl/include/linux/ |
H A D | if_ether.h | 100 struct ethhdr { struct
|
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | pppoe.h | 81 #define ethhdr ether_header macro 95 #define ethhdr ether_header macro 207 struct ethhdr ethHdr; /* Ethernet header */ 223 #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD)
|
/external/iproute2/include/linux/ |
H A D | if_ether.h | 127 struct ethhdr { struct
|
/external/qemu/slirp/ |
H A D | slirp.c | 573 struct ethhdr struct 599 struct ethhdr *eh = (struct ethhdr *)pkt; 602 struct ethhdr *reh = (struct ethhdr *)arp_reply; 690 struct ethhdr *eh = (struct ethhdr *)buf; 697 struct ethhdr *reh = (struct ethhdr *)arp_req; 732 memcpy(buf + sizeof(struct ethhdr), ip_dat [all...] |
/external/qemu/slirp-android/ |
H A D | slirp.c | 662 struct ethhdr struct 688 struct ethhdr *eh = (struct ethhdr *)pkt; 691 struct ethhdr *reh = (struct ethhdr *)arp_reply; 783 struct ethhdr *eh = (struct ethhdr *)buf; 790 struct ethhdr *reh = (struct ethhdr *)arp_req; 825 memcpy(buf + sizeof(struct ethhdr), ip_dat [all...] |