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

/external/tcpdump/
H A Dprint-calm-fast.c39 calm_fast_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) argument
46 ND_PRINT((ndo, "CALM FAST src:%s; ", etheraddr_string(ndo, eth+6)));
H A Dprint-geonet.c105 geonet_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) argument
117 ND_PRINT((ndo, "GeoNet src:%s; ", etheraddr_string(ndo, eth+6)));
/external/kernel-headers/original/uapi/linux/
H A Dif_arcnet.h81 struct ethhdr eth; /* standard ethernet header (yuck!) */ member in struct:arc_eth_encap
/external/wpa_supplicant_8/hostapd/src/l2_packet/
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_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...]
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) {
63 if (eth_get(l2->eth, &own_addr) < 0) {
67 eth_close(l2->eth);
68 l2->eth = NULL;
82 struct l2_ethhdr *eth; local
91 ret = eth_send(l2->eth, buf, len);
94 size_t mlen = sizeof(*eth) + len;
95 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...]
/external/wpa_supplicant_8/src/l2_packet/
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_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...]
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) {
63 if (eth_get(l2->eth, &own_addr) < 0) {
67 eth_close(l2->eth);
68 l2->eth = NULL;
82 struct l2_ethhdr *eth; local
91 ret = eth_send(l2->eth, buf, len);
94 size_t mlen = sizeof(*eth) + len;
95 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...]
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/
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_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...]
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) {
63 if (eth_get(l2->eth, &own_addr) < 0) {
67 eth_close(l2->eth);
68 l2->eth = NULL;
82 struct l2_ethhdr *eth; local
91 ret = eth_send(l2->eth, buf, len);
94 size_t mlen = sizeof(*eth) + len;
95 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...]
/external/iputils/Modules/
H A Dpg3.c242 __u8 *eth; local
256 eth = (__u8 *) skb_push(skb, 14);
261 memcpy(eth, hh, 14);
/external/libpcap/msdos/
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/wpa_supplicant_8/hostapd/
H A Dctrl_iface.c1595 const struct ether_header *eth; local
1603 eth = (const struct ether_header *) buf;
1604 os_memcpy(&ip, eth + 1, sizeof(ip));
1605 pos = &buf[sizeof(*eth) + sizeof(ip)];
1618 MAC2STR(eth->ether_dhost), MAC2STR(eth->ether_shost));
1668 struct ether_header *eth; local
1695 eth = (struct ether_header *) &buf[2];
1696 os_memcpy(eth->ether_dhost, dst, ETH_ALEN);
1697 os_memcpy(eth
1729 struct ether_header *eth; local
[all...]
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_atheros.c1559 struct l2_ethhdr *eth; local
1579 eth = (struct l2_ethhdr *) bp;
1580 os_memcpy(eth->h_dest, addr, ETH_ALEN);
1581 os_memcpy(eth->h_source, own_addr, ETH_ALEN);
1582 eth->h_proto = host_to_be16(ETH_P_EAPOL);
1583 os_memcpy(eth + 1, data, data_len);
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_atheros.c1559 struct l2_ethhdr *eth; local
1579 eth = (struct l2_ethhdr *) bp;
1580 os_memcpy(eth->h_dest, addr, ETH_ALEN);
1581 os_memcpy(eth->h_source, own_addr, ETH_ALEN);
1582 eth->h_proto = host_to_be16(ETH_P_EAPOL);
1583 os_memcpy(eth + 1, data, data_len);
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_atheros.c1559 struct l2_ethhdr *eth; local
1579 eth = (struct l2_ethhdr *) bp;
1580 os_memcpy(eth->h_dest, addr, ETH_ALEN);
1581 os_memcpy(eth->h_source, own_addr, ETH_ALEN);
1582 eth->h_proto = host_to_be16(ETH_P_EAPOL);
1583 os_memcpy(eth + 1, data, data_len);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwpa_supplicant.c3411 const struct l2_ethhdr *eth; local
3413 if (len < sizeof(*eth))
3415 eth = (const struct l2_ethhdr *) buf;
3417 if (os_memcmp(eth->h_dest, wpa_s->own_addr, ETH_ALEN) != 0 &&
3418 !(eth->h_dest[0] & 0x01)) {
3421 MAC2STR(src_addr), MAC2STR(eth->h_dest));
3426 " (bridge)", MAC2STR(src_addr), MAC2STR(eth->h_dest));
3427 wpa_supplicant_rx_eapol(wpa_s, src_addr, buf + sizeof(*eth),
3428 len - sizeof(*eth));
H A Dctrl_iface.c7770 const struct ether_header *eth; local
7778 eth = (const struct ether_header *) buf;
7779 os_memcpy(&ip, eth + 1, sizeof(ip));
7780 pos = &buf[sizeof(*eth) + sizeof(ip)];
7793 MAC2STR(eth->ether_dhost), MAC2STR(eth->ether_shost));
7842 struct ether_header *eth; local
7869 eth = (struct ether_header *) &buf[2];
7870 os_memcpy(eth->ether_dhost, dst, ETH_ALEN);
7871 os_memcpy(eth
7903 struct ether_header *eth; local
[all...]
/external/mdnsresponder/mDNSCore/
H A DmDNS.c10478 // but if pkt is 4-byte aligned, that necessarily means that eth CANNOT also be 4-byte aligned
10480 const EthernetHeader *const eth = (const EthernetHeader *)p; local
10481 const NetworkLayerPacket *const pkt = (const NetworkLayerPacket *)(eth+1);
10486 if (end >= p+42 && mDNSSameOpaque16(eth->ethertype, Ethertype_ARP) && mDNSSameOpaque16(pkt->arp.hrd, ARP_hrd_eth) && mDNSSameOpaque16(pkt->arp.pro, ARP_pro_ip))
10489 else if (end >= p+34 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv4) && (pkt->v4.flagsfrags.b[0] & 0x1F) == 0 && pkt->v4.flagsfrags.b[1] == 0)
10496 mDNSCoreReceiveRawTransportPacket(m, &eth->src, &src, &dst, pkt->v4.protocol, p, (TransportLayerPacket*)trans, end, InterfaceID, 0);
10499 else if (end >= p+54 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv6))
10506 mDNSCoreReceiveRawTransportPacket(m, &eth->src, &src, &dst, pkt->v6.pro, p, (TransportLayerPacket*)trans, end, InterfaceID,
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ...

Completed in 1974 milliseconds