/external/wpa_supplicant_8/src/ap/ |
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 + 1) 235 struct l2_ethhdr *ethhdr; local [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
debug.c | 132 (unsigned) packet->ethHdr.h_source[0], 133 (unsigned) packet->ethHdr.h_source[1], 134 (unsigned) packet->ethHdr.h_source[2], 135 (unsigned) packet->ethHdr.h_source[3], 136 (unsigned) packet->ethHdr.h_source[4], 137 (unsigned) packet->ethHdr.h_source[5], 138 (unsigned) packet->ethHdr.h_dest[0], 139 (unsigned) packet->ethHdr.h_dest[1], 140 (unsigned) packet->ethHdr.h_dest[2], 141 (unsigned) packet->ethHdr.h_dest[3] [all...] |
common.c | 109 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN); 110 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); 112 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); 176 switch (ntohs(packet->ethHdr.h_proto)) { 209 ntohs(packet->ethHdr.h_proto)); 212 printer(arg, " dst %02x:%02x:%02x:%02x:%02x:%02x ", EH(packet->ethHdr.h_dest)); 213 printer(arg, " src %02x:%02x:%02x:%02x:%02x:%02x\n", EH(packet->ethHdr.h_source)); 214 if (ntohs(packet->ethHdr.h_proto) != ETH_PPPOE_DISCOVERY)
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_pcap.c | 124 struct l2_ethhdr *ethhdr; local 130 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 133 ethhdr = (struct l2_ethhdr *) packet; 135 buf = (unsigned char *) ethhdr; 138 buf = (unsigned char *) (ethhdr + 1); 139 len = hdr.caplen - sizeof(*ethhdr); 141 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); 151 struct l2_ethhdr *ethhdr; local 155 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) 158 ethhdr = (struct l2_ethhdr *) pkt_data [all...] |
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);
|
/development/ndk/platforms/android-3/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-15/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-16/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-16/arch-mips/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-16/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-17/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-17/arch-mips/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-17/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|
/prebuilts/ndk/current/platforms/android-18/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth;
|