/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
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
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_ndis.c | 102 struct l2_ethhdr *eth; local 122 size_t mlen = sizeof(*eth) + len; 123 eth = os_malloc(mlen); 124 if (eth == NULL) 127 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 128 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 129 eth->h_proto = htons(proto); 130 os_memcpy(eth + 1, buf, len); 131 res = WriteFile(driver_ndis_get_ndisuio_handle(), eth, mlen, 133 os_free(eth); [all...] |
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_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_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_ndis.c | 96 struct l2_ethhdr *eth; local 116 size_t mlen = sizeof(*eth) + len; 117 eth = os_malloc(mlen); 118 if (eth == NULL) 121 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); 122 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); 123 eth->h_proto = htons(proto); 124 os_memcpy(eth + 1, buf, len); 125 res = WriteFile(driver_ndis_get_ndisuio_handle(), eth, mlen, 127 os_free(eth); [all...] |
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_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...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; 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/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/prebuilts/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
|
/prebuilts/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
|
/prebuilts/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
|
/prebuilts/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
|
/prebuilts/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
|
/prebuilts/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
|
/prebuilts/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
|
/prebuilts/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
|
/prebuilts/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
|