/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_pcap.c | 31 eth_t *eth; member in struct:l2_packet_data 55 l2->eth = eth_open(l2->ifname); 56 if (!l2->eth) { 62 if (eth_get(l2->eth, &own_addr) < 0) { 66 eth_close(l2->eth); 67 l2->eth = NULL; 81 struct l2_ethhdr *eth; local 90 ret = eth_send(l2->eth, buf, len); 93 size_t mlen = sizeof(*eth) + len; 94 eth = os_malloc(mlen) [all...] |
l2_packet_freebsd.c | 60 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len); local 61 if (eth == NULL) 63 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 64 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 65 eth->h_proto = htons(proto); 66 os_memcpy(eth + 1, buf, len); 67 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); 68 os_free(eth); [all...] |
l2_packet_winpcap.c | 76 struct l2_ethhdr *eth; local 84 size_t mlen = sizeof(*eth) + len; 85 eth = os_malloc(mlen); 86 if (eth == NULL) 89 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 90 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 91 eth->h_proto = htons(proto); 92 os_memcpy(eth + 1, buf, len); 93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); 94 os_free(eth); [all...] |
/bionic/libc/kernel/common/linux/ |
if_arcnet.h | 64 struct ethhdr eth; member in struct:arc_eth_encap
|
/development/ndk/platforms/android-3/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/external/kernel-headers/original/linux/ |
if_arcnet.h | 86 struct ethhdr eth; /* standard ethernet header (yuck!) */ member in struct:arc_eth_encap
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
if_arcnet.h | 86 struct ethhdr eth; /* standard ethernet header (yuck!) */ member in struct:arc_eth_encap
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_arcnet.h | 86 struct ethhdr eth; /* standard ethernet header (yuck!) */ member in struct:arc_eth_encap
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_arcnet.h | 86 struct ethhdr eth; /* standard ethernet header (yuck!) */ member in struct:arc_eth_encap
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|