/external/wpa_supplicant/ |
l2_packet_pcap.c | 129 struct l2_ethhdr *ethhdr; local 135 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 138 ethhdr = (struct l2_ethhdr *) packet; 140 buf = (unsigned char *) ethhdr; 143 buf = (unsigned char *) (ethhdr + 1); 144 len = hdr.caplen - sizeof(*ethhdr); 146 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); 156 struct l2_ethhdr *ethhdr; local 160 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 163 ethhdr = (struct l2_ethhdr *) pkt_data [all...] |
l2_packet_freebsd.c | 80 struct l2_ethhdr *ethhdr; local 86 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 89 ethhdr = (struct l2_ethhdr *) packet; 91 buf = (unsigned char *) ethhdr; 94 buf = (unsigned char *) (ethhdr + 1); 95 len = hdr.caplen - sizeof(*ethhdr); 97 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
|
l2_packet_winpcap.c | 112 struct l2_ethhdr *ethhdr; local 114 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 117 ethhdr = (struct l2_ethhdr *) pkt_data; 119 l2->rx_buf = (u8 *) ethhdr; 122 l2->rx_buf = (u8 *) (ethhdr + 1); 123 l2->rx_len = hdr->caplen - sizeof(*ethhdr); 125 l2->rx_src = ethhdr->h_source;
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_pcap.c | 129 struct l2_ethhdr *ethhdr; local 135 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 138 ethhdr = (struct l2_ethhdr *) packet; 140 buf = (unsigned char *) ethhdr; 143 buf = (unsigned char *) (ethhdr + 1); 144 len = hdr.caplen - sizeof(*ethhdr); 146 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); 156 struct l2_ethhdr *ethhdr; local 160 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 163 ethhdr = (struct l2_ethhdr *) pkt_data [all...] |
l2_packet_freebsd.c | 83 struct l2_ethhdr *ethhdr; local 89 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 92 ethhdr = (struct l2_ethhdr *) packet; 94 buf = (unsigned char *) ethhdr; 97 buf = (unsigned char *) (ethhdr + 1); 98 len = hdr.caplen - sizeof(*ethhdr); 100 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
|
l2_packet_winpcap.c | 112 struct l2_ethhdr *ethhdr; local 114 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 117 ethhdr = (struct l2_ethhdr *) pkt_data; 119 l2->rx_buf = (u8 *) ethhdr; 122 l2->rx_buf = (u8 *) (ethhdr + 1); 123 l2->rx_len = hdr->caplen - sizeof(*ethhdr); 125 l2->rx_src = ethhdr->h_source;
|
/external/kernel-headers/original/linux/ |
if_ether.h | 117 struct ethhdr { struct 126 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) 128 return (struct ethhdr *)skb_mac_header(skb);
|
if_arcnet.h | 86 struct ethhdr eth; /* standard ethernet header (yuck!) */
|
/bionic/libc/kernel/common/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/development/ndk/platforms/android-3/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
if_ether.h | 75 struct ethhdr { struct
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
if_arcnet.h | 86 struct ethhdr eth; /* standard ethernet header (yuck!) */
|
if_ether.h | 106 struct ethhdr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
if_ether.h | 75 struct ethhdr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
if_ether.h | 75 struct ethhdr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
if_ether.h | 75 struct ethhdr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
if_ether.h | 75 struct ethhdr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
if_ether.h | 75 struct ethhdr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/external/ppp/pppd/plugins/rp-pppoe/ |
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)
|