HomeSort by relevance Sort by last modified time
    Searched refs:eth (Results 1 - 25 of 28) sorted by null

1 2

  /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(&eth, 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 *) &eth;
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
  /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
  /hardware/broadcom/wlan/bcm4329/src/include/proto/
eapol.h 27 struct ether_header eth; /* 802.3/Ethernet header */ member in struct:__anon9420
bcmevent.h 68 struct ether_header eth; member in struct:bcm_event
  /libcore/luni/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(&eth, 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, &eth, sizeof(eth));
862 os_memcpy(msg + 6 + sizeof(eth), data, data_len)
    [all...]
  /external/qemu/
curses_keys.h 393 { "ETH", 0x0d0 },
394 { "Eth", 0x0d0 },
428 { "eth", 0x0f0 },
  /hardware/broadcom/wlan/bcm4329/src/dhd/sys/
dhd_linux.c 1207 uchar *eth; local
1235 eth = skb->data;
1250 skb->data = eth;
    [all...]

Completed in 1172 milliseconds

1 2