Searched refs:eth (Results 1 - 25 of 34) sorted by relevance

12

/external/tcpdump/
H A Dprint-calm-fast.c43 calm_fast_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) argument
50 printf("CALM FAST src:%s; ", etheraddr_string(eth+6));
H A Dprint-geonet.c110 geonet_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) argument
112 printf("GeoNet src:%s; ", etheraddr_string(eth+6));
/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_pcap.c31 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
[all...]
H A Dl2_packet_freebsd.c60 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...]
H A Dl2_packet_winpcap.c76 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...]
H A Dl2_packet_ndis.c96 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...]
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_pcap.c31 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
[all...]
H A Dl2_packet_freebsd.c60 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...]
H A Dl2_packet_winpcap.c76 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...]
H A Dl2_packet_ndis.c96 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...]
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
H A Dl2_packet_pcap.c31 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
[all...]
H A Dl2_packet_freebsd.c60 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...]
H A Dl2_packet_winpcap.c76 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...]
H A Dl2_packet_ndis.c96 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...]
/external/kernel-headers/original/uapi/linux/
H A Dif_arcnet.h84 struct ethhdr eth; /* standard ethernet header (yuck!) */ member in struct:arc_eth_encap
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_test.c163 struct l2_ethhdr eth; local
181 memcpy(eth.h_dest, addr, ETH_ALEN);
182 memcpy(eth.h_source, own_addr, ETH_ALEN);
183 eth.h_proto = host_to_be16(ETH_P_EAPOL);
187 io[1].iov_base = &eth;
188 io[1].iov_len = sizeof(eth);
208 struct l2_ethhdr eth; local
225 memcpy(eth.h_dest, dst, ETH_ALEN);
226 memcpy(eth.h_source, src, ETH_ALEN);
227 eth
678 struct l2_ethhdr *eth; local
2280 struct l2_ethhdr eth; local
[all...]
H A Ddriver_madwifi.c1083 struct l2_ethhdr *eth; local
1102 eth = (struct l2_ethhdr *) bp;
1103 memcpy(eth->h_dest, addr, ETH_ALEN);
1104 memcpy(eth->h_source, own_addr, ETH_ALEN);
1105 eth->h_proto = host_to_be16(ETH_P_EAPOL);
1106 memcpy(eth+1, data, data_len);
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_test.c163 struct l2_ethhdr eth; local
181 memcpy(eth.h_dest, addr, ETH_ALEN);
182 memcpy(eth.h_source, own_addr, ETH_ALEN);
183 eth.h_proto = host_to_be16(ETH_P_EAPOL);
187 io[1].iov_base = &eth;
188 io[1].iov_len = sizeof(eth);
208 struct l2_ethhdr eth; local
225 memcpy(eth.h_dest, dst, ETH_ALEN);
226 memcpy(eth.h_source, src, ETH_ALEN);
227 eth
678 struct l2_ethhdr *eth; local
2280 struct l2_ethhdr eth; local
[all...]
H A Ddriver_madwifi.c1083 struct l2_ethhdr *eth; local
1102 eth = (struct l2_ethhdr *) bp;
1103 memcpy(eth->h_dest, addr, ETH_ALEN);
1104 memcpy(eth->h_source, own_addr, ETH_ALEN);
1105 eth->h_proto = host_to_be16(ETH_P_EAPOL);
1106 memcpy(eth+1, data, data_len);
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_test.c163 struct l2_ethhdr eth; local
181 memcpy(eth.h_dest, addr, ETH_ALEN);
182 memcpy(eth.h_source, own_addr, ETH_ALEN);
183 eth.h_proto = host_to_be16(ETH_P_EAPOL);
187 io[1].iov_base = &eth;
188 io[1].iov_len = sizeof(eth);
208 struct l2_ethhdr eth; local
225 memcpy(eth.h_dest, dst, ETH_ALEN);
226 memcpy(eth.h_source, src, ETH_ALEN);
227 eth
678 struct l2_ethhdr *eth; local
2280 struct l2_ethhdr eth; local
[all...]
/external/libpcap/msdos/
H A Dpktdrvr.h131 extern BOOL PktTransmit (const void *eth, int len);
H A Dpktdrvr.c444 PUBLIC BOOL PktTransmit (const void *eth, int len) argument
453 dosmemput (eth, len, realBase+pktTxBuf);
458 memcpy ((void*)(realBase+pktTxBuf), eth, len);
463 memcpy (&pktTxBuf, eth, len);
468 reg.r_ds = FP_SEG (eth);
469 reg.r_si = FP_OFF (eth);
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A DHTMLEntities.properties113 eth=240
/external/qemu/ui/
H A Dcurses_keys.h428 { "eth", 0x0f0 },
/external/iputils/Modules/
H A Dpg3.c242 __u8 *eth; local
256 eth = (__u8 *) skb_push(skb, 14);
261 memcpy(eth, hh, 14);

Completed in 2227 milliseconds

12