/external/wpa_supplicant/ |
l2_packet_pcap.c | 37 eth_t *eth; member in struct:l2_packet_data 61 l2->eth = eth_open(l2->ifname); 62 if (!l2->eth) { 68 if (eth_get(l2->eth, &own_addr) < 0) { 72 eth_close(l2->eth); 73 l2->eth = NULL; 87 struct l2_ethhdr *eth; local 96 ret = eth_send(l2->eth, buf, len); 99 size_t mlen = sizeof(*eth) + len; 100 eth = os_malloc(mlen) [all...] |
l2_packet_freebsd.c | 59 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len); local 60 if (eth == NULL) 62 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 63 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 64 eth->h_proto = htons(proto); 65 os_memcpy(eth + 1, buf, len); 66 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); 67 os_free(eth); [all...] |
l2_packet_winpcap.c | 82 struct l2_ethhdr *eth; local 90 size_t mlen = sizeof(*eth) + len; 91 eth = os_malloc(mlen); 92 if (eth == NULL) 95 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 96 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 97 eth->h_proto = htons(proto); 98 os_memcpy(eth + 1, buf, len); 99 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); 100 os_free(eth); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_pcap.c | 37 eth_t *eth; member in struct:l2_packet_data 61 l2->eth = eth_open(l2->ifname); 62 if (!l2->eth) { 68 if (eth_get(l2->eth, &own_addr) < 0) { 72 eth_close(l2->eth); 73 l2->eth = NULL; 87 struct l2_ethhdr *eth; local 96 ret = eth_send(l2->eth, buf, len); 99 size_t mlen = sizeof(*eth) + len; 100 eth = os_malloc(mlen) [all...] |
l2_packet_freebsd.c | 62 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len); local 63 if (eth == NULL) 65 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 66 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 67 eth->h_proto = htons(proto); 68 os_memcpy(eth + 1, buf, len); 69 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); 70 os_free(eth); [all...] |
l2_packet_winpcap.c | 82 struct l2_ethhdr *eth; local 90 size_t mlen = sizeof(*eth) + len; 91 eth = os_malloc(mlen); 92 if (eth == NULL) 95 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 96 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 97 eth->h_proto = htons(proto); 98 os_memcpy(eth + 1, buf, len); 99 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); 100 os_free(eth); [all...] |
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_pcap.c | 37 eth_t *eth; member in struct:l2_packet_data 61 l2->eth = eth_open(l2->ifname); 62 if (!l2->eth) { 68 if (eth_get(l2->eth, &own_addr) < 0) { 72 eth_close(l2->eth); 73 l2->eth = NULL; 87 struct l2_ethhdr *eth; local 96 ret = eth_send(l2->eth, buf, len); 99 size_t mlen = sizeof(*eth) + len; 100 eth = os_malloc(mlen) [all...] |
l2_packet_freebsd.c | 66 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len); local 67 if (eth == NULL) 69 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 70 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 71 eth->h_proto = htons(proto); 72 os_memcpy(eth + 1, buf, len); 73 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); 74 os_free(eth); [all...] |
l2_packet_winpcap.c | 82 struct l2_ethhdr *eth; local 90 size_t mlen = sizeof(*eth) + len; 91 eth = os_malloc(mlen); 92 if (eth == NULL) 95 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 96 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 97 eth->h_proto = htons(proto); 98 os_memcpy(eth + 1, buf, len); 99 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); 100 os_free(eth); [all...] |
/bionic/libc/kernel/common/linux/ |
if_arcnet.h | 57 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
|
/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!) */ member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r7/platforms/android-14/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilt/ndk/android-ndk-r7/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|