/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_pcap.c | 31 eth_t *eth; member 55 l2->eth = eth_open(l2->ifname); in l2_packet_init_libdnet() 56 if (!l2->eth) { in l2_packet_init_libdnet() 62 if (eth_get(l2->eth, &own_addr) < 0) { in l2_packet_init_libdnet() 66 eth_close(l2->eth); in l2_packet_init_libdnet() 67 l2->eth = NULL; in l2_packet_init_libdnet() 81 struct l2_ethhdr *eth; in l2_packet_send() local 90 ret = eth_send(l2->eth, buf, len); in l2_packet_send() 93 size_t mlen = sizeof(*eth) + len; in l2_packet_send() 94 eth = os_malloc(mlen); in l2_packet_send() [all …]
|
D | l2_packet_freebsd.c | 60 struct l2_ethhdr *eth = os_malloc(sizeof(*eth) + len); in l2_packet_send() local 61 if (eth == NULL) in l2_packet_send() 63 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send() 64 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); in l2_packet_send() 65 eth->h_proto = htons(proto); in l2_packet_send() 66 os_memcpy(eth + 1, buf, len); in l2_packet_send() 67 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); in l2_packet_send() 68 os_free(eth); in l2_packet_send()
|
D | l2_packet_winpcap.c | 76 struct l2_ethhdr *eth; in l2_packet_send() local 84 size_t mlen = sizeof(*eth) + len; in l2_packet_send() 85 eth = os_malloc(mlen); in l2_packet_send() 86 if (eth == NULL) in l2_packet_send() 89 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send() 90 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); in l2_packet_send() 91 eth->h_proto = htons(proto); in l2_packet_send() 92 os_memcpy(eth + 1, buf, len); in l2_packet_send() 93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send() 94 os_free(eth); in l2_packet_send()
|
D | l2_packet_ndis.c | 96 struct l2_ethhdr *eth; in l2_packet_send() local 116 size_t mlen = sizeof(*eth) + len; in l2_packet_send() 117 eth = os_malloc(mlen); in l2_packet_send() 118 if (eth == NULL) in l2_packet_send() 121 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send() 122 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); in l2_packet_send() 123 eth->h_proto = htons(proto); in l2_packet_send() 124 os_memcpy(eth + 1, buf, len); in l2_packet_send() 125 res = WriteFile(driver_ndis_get_ndisuio_handle(), eth, mlen, in l2_packet_send() 127 os_free(eth); in l2_packet_send()
|
/external/tcpdump/ |
D | print-calm-fast.c | 43 calm_fast_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) in calm_fast_print() argument 50 printf("CALM FAST src:%s; ", etheraddr_string(eth+6)); in calm_fast_print()
|
D | print-geonet.c | 110 geonet_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) in geonet_print() argument 112 printf("GeoNet src:%s; ", etheraddr_string(eth+6)); in geonet_print()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_test.c | 163 struct l2_ethhdr eth; in test_driver_send_eapol() local 181 memcpy(eth.h_dest, addr, ETH_ALEN); in test_driver_send_eapol() 182 memcpy(eth.h_source, own_addr, ETH_ALEN); in test_driver_send_eapol() 183 eth.h_proto = host_to_be16(ETH_P_EAPOL); in test_driver_send_eapol() 187 io[1].iov_base = ð in test_driver_send_eapol() 188 io[1].iov_len = sizeof(eth); in test_driver_send_eapol() 208 struct l2_ethhdr eth; in test_driver_send_ether() local 225 memcpy(eth.h_dest, dst, ETH_ALEN); in test_driver_send_ether() 226 memcpy(eth.h_source, src, ETH_ALEN); in test_driver_send_ether() 227 eth.h_proto = host_to_be16(proto); in test_driver_send_ether() [all …]
|
D | driver_madwifi.c | 1083 struct l2_ethhdr *eth; in madwifi_send_eapol() local 1102 eth = (struct l2_ethhdr *) bp; in madwifi_send_eapol() 1103 memcpy(eth->h_dest, addr, ETH_ALEN); in madwifi_send_eapol() 1104 memcpy(eth->h_source, own_addr, ETH_ALEN); in madwifi_send_eapol() 1105 eth->h_proto = host_to_be16(ETH_P_EAPOL); in madwifi_send_eapol() 1106 memcpy(eth+1, data, data_len); in madwifi_send_eapol()
|
/external/kernel-headers/original/uapi/linux/ |
D | if_arcnet.h | 84 struct ethhdr eth; /* standard ethernet header (yuck!) */ member
|
/external/qemu/pc-bios/keymaps/ |
D | fo | 53 eth 0x1b addupper
|
D | es | 62 eth 0x20 altgr
|
D | fr-ch | 72 eth 0x20 altgr
|
D | de-ch | 139 eth 0x20 altgr inhibit
|
D | sl | 72 eth 0x20 altgr
|
D | it | 70 eth 0x20 altgr
|
D | pt | 70 eth 0x20 altgr
|
D | de | 72 eth 0x20 altgr
|
D | tr | 73 eth 0x20 altgr
|
D | hr | 74 eth 0x20 altgr
|
D | pl | 72 eth 0x20 altgr
|
D | fi | 73 eth 0x20 altgr
|
D | da | 72 eth 0x20 altgr
|
/external/iputils/Modules/ |
D | pg3.c | 242 __u8 *eth; in fill_packet() local 256 eth = (__u8 *) skb_push(skb, 14); in fill_packet() 261 memcpy(eth, hh, 14); in fill_packet()
|
/external/libpcap/msdos/ |
D | pktdrvr.c | 444 PUBLIC BOOL PktTransmit (const void *eth, int len) in PktTransmit() argument 453 dosmemput (eth, len, realBase+pktTxBuf); in PktTransmit() 458 memcpy ((void*)(realBase+pktTxBuf), eth, len); in PktTransmit() 463 memcpy (&pktTxBuf, eth, len); in PktTransmit() 468 reg.r_ds = FP_SEG (eth); in PktTransmit() 469 reg.r_si = FP_OFF (eth); in PktTransmit()
|
D | pktdrvr.h | 131 extern BOOL PktTransmit (const void *eth, int len);
|