/external/tcpdump/ |
H A D | print-calm-fast.c | 43 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 D | print-geonet.c | 110 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/kernel-headers/original/uapi/linux/ |
H A D | if_arcnet.h | 84 struct ethhdr eth; /* standard ethernet header (yuck!) */ member in struct:arc_eth_encap
|
/external/wpa_supplicant_8/hostapd/src/l2_packet/ |
H A D | l2_packet_freebsd.c | 60 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 D | 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...] |
H A D | 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) { 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 D | 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...] |
/external/wpa_supplicant_8/src/l2_packet/ |
H A D | l2_packet_freebsd.c | 60 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 D | 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...] |
H A D | 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) { 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 D | 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...] |
/external/wpa_supplicant_8/wpa_supplicant/src/l2_packet/ |
H A D | l2_packet_freebsd.c | 60 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 D | 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...] |
H A D | 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) { 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 D | 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...] |
/external/iputils/Modules/ |
H A D | pg3.c | 242 __u8 *eth; local 256 eth = (__u8 *) skb_push(skb, 14); 261 memcpy(eth, hh, 14);
|
/external/libpcap/msdos/ |
H A D | pktdrvr.c | 444 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 D | ctrl_iface.c | 1531 const struct ether_header *eth; local 1539 eth = (const struct ether_header *) buf; 1540 ip = (const struct iphdr *) (eth + 1); 1554 MAC2STR(eth->ether_dhost), MAC2STR(eth->ether_shost)); 1604 struct ether_header *eth; local 1631 eth = (struct ether_header *) buf; 1632 os_memcpy(eth->ether_dhost, dst, ETH_ALEN); 1633 os_memcpy(eth->ether_shost, src, ETH_ALEN); 1634 eth 1665 struct ether_header *eth; local [all...] |
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_atheros.c | 1551 struct l2_ethhdr *eth; local 1571 eth = (struct l2_ethhdr *) bp; 1572 memcpy(eth->h_dest, addr, ETH_ALEN); 1573 memcpy(eth->h_source, own_addr, ETH_ALEN); 1574 eth->h_proto = host_to_be16(ETH_P_EAPOL); 1575 memcpy(eth+1, data, data_len);
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_atheros.c | 1551 struct l2_ethhdr *eth; local 1571 eth = (struct l2_ethhdr *) bp; 1572 memcpy(eth->h_dest, addr, ETH_ALEN); 1573 memcpy(eth->h_source, own_addr, ETH_ALEN); 1574 eth->h_proto = host_to_be16(ETH_P_EAPOL); 1575 memcpy(eth+1, data, data_len);
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_atheros.c | 1551 struct l2_ethhdr *eth; local 1571 eth = (struct l2_ethhdr *) bp; 1572 memcpy(eth->h_dest, addr, ETH_ALEN); 1573 memcpy(eth->h_source, own_addr, ETH_ALEN); 1574 eth->h_proto = host_to_be16(ETH_P_EAPOL); 1575 memcpy(eth+1, data, data_len);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wpa_supplicant.c | 3222 const struct l2_ethhdr *eth; local 3224 if (len < sizeof(*eth)) 3226 eth = (const struct l2_ethhdr *) buf; 3228 if (os_memcmp(eth->h_dest, wpa_s->own_addr, ETH_ALEN) != 0 && 3229 !(eth->h_dest[0] & 0x01)) { 3232 MAC2STR(src_addr), MAC2STR(eth->h_dest)); 3237 " (bridge)", MAC2STR(src_addr), MAC2STR(eth->h_dest)); 3238 wpa_supplicant_rx_eapol(wpa_s, src_addr, buf + sizeof(*eth), 3239 len - sizeof(*eth));
|
H A D | ctrl_iface.c | 7383 const struct ether_header *eth; local 7391 eth = (const struct ether_header *) buf; 7392 ip = (const struct iphdr *) (eth + 1); 7406 MAC2STR(eth->ether_dhost), MAC2STR(eth->ether_shost)); 7447 struct ether_header *eth; local 7474 eth = (struct ether_header *) buf; 7475 os_memcpy(eth->ether_dhost, dst, ETH_ALEN); 7476 os_memcpy(eth->ether_shost, src, ETH_ALEN); 7477 eth 7508 struct ether_header *eth; local [all...] |
/external/mdnsresponder/mDNSCore/ |
H A D | mDNS.c | 10478 // 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, ð->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, ð->src, &src, &dst, pkt->v6.pro, p, (TransportLayerPacket*)trans, end, InterfaceID,
|
/external/owasp/sanitizer/tools/findbugs/lib/ |
H A D | findbugs.jar | META-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ... |