/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...] |
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...] |
driver_test.c | 645 struct l2_ethhdr eth; local 650 os_memset(ð, 0, sizeof(eth)); 651 os_memcpy(eth.h_dest, dest, ETH_ALEN); 652 os_memcpy(eth.h_source, drv->own_addr, ETH_ALEN); 653 eth.h_proto = host_to_be16(proto); 657 io[1].iov_base = (u8 *) ð 658 io[1].iov_len = sizeof(eth);
|
/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...] |
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...] |
/bionic/libc/kernel/common/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
if_arcnet.h | 57 struct ethhdr eth; member in struct:arc_eth_encap
|
/hardware/ti/wlan/wl1271/platforms/os/common/inc/ |
RxBuf.h | 78 * \brief Macro which gets a pointer to BUF packet header and returns the pointer to the start address of the ETH packet's data 83 * \brief Macro which gets a pointer to BUF packet header and returns the buffer length (without Rx Descriptor) of the ETH packet
|
/system/wlan/ti/wilink_6_1/platforms/os/common/inc/ |
RxBuf.h | 78 * \brief Macro which gets a pointer to BUF packet header and returns the pointer to the start address of the ETH packet's data 83 * \brief Macro which gets a pointer to BUF packet header and returns the buffer length (without Rx Descriptor) of the ETH packet
|
/external/qemu/ |
sdl_keysym.h | 151 { "ETH", 0x0d0}, 152 { "Eth", 0x0d0}, 186 { "eth", 0x0f0},
|
vnc_keysym.h | 151 { "ETH", 0x0d0}, 152 { "Eth", 0x0d0}, 186 { "eth", 0x0f0},
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
HTMLEntities.properties | 81 ETH=208 113 eth=240
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_test.c | 842 struct l2_ethhdr eth; local 851 os_memset(ð, 0, sizeof(eth)); 852 os_memcpy(eth.h_dest, dest, ETH_ALEN); 853 os_memcpy(eth.h_source, drv->own_addr, ETH_ALEN); 854 eth.h_proto = host_to_be16(proto); 856 msg_len = 6 + sizeof(eth) + data_len; 861 os_memcpy(msg + 6, ð, sizeof(eth)); 862 os_memcpy(msg + 6 + sizeof(eth), data, data_len) [all...] |
/external/kernel-headers/original/linux/ |
if_arcnet.h | 86 struct ethhdr eth; /* standard ethernet header (yuck!) */ member in struct:arc_eth_encap
|
/hardware/broadcom/wlan/bcm4329/src/include/proto/ |
bcmevent.h | 68 struct ether_header eth; member in struct:bcm_event
|
eapol.h | 27 struct ether_header eth; /* 802.3/Ethernet header */ member in struct:__anon7512
|