/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/wpa_supplicant_8/src/drivers/ |
D | driver_test.c | 179 struct l2_ethhdr eth; in test_driver_send_eapol() local 197 memcpy(eth.h_dest, addr, ETH_ALEN); in test_driver_send_eapol() 198 memcpy(eth.h_source, own_addr, ETH_ALEN); in test_driver_send_eapol() 199 eth.h_proto = host_to_be16(ETH_P_EAPOL); in test_driver_send_eapol() 203 io[1].iov_base = ð in test_driver_send_eapol() 204 io[1].iov_len = sizeof(eth); in test_driver_send_eapol() 224 struct l2_ethhdr eth; in test_driver_send_ether() local 241 memcpy(eth.h_dest, dst, ETH_ALEN); in test_driver_send_ether() 242 memcpy(eth.h_source, src, ETH_ALEN); in test_driver_send_ether() 243 eth.h_proto = host_to_be16(proto); in test_driver_send_ether() [all …]
|
D | driver_madwifi.c | 1087 struct l2_ethhdr *eth; in madwifi_send_eapol() local 1106 eth = (struct l2_ethhdr *) bp; in madwifi_send_eapol() 1107 memcpy(eth->h_dest, addr, ETH_ALEN); in madwifi_send_eapol() 1108 memcpy(eth->h_source, own_addr, ETH_ALEN); in madwifi_send_eapol() 1109 eth->h_proto = host_to_be16(ETH_P_EAPOL); in madwifi_send_eapol() 1110 memcpy(eth+1, data, data_len); in madwifi_send_eapol()
|
/external/kernel-headers/original/linux/ |
D | if_arcnet.h | 86 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 | it | 70 eth 0x20 altgr
|
D | pt | 70 eth 0x20 altgr
|
D | de-ch | 139 eth 0x20 altgr inhibit
|
D | de | 72 eth 0x20 altgr
|
D | fr-ch | 72 eth 0x20 altgr
|
D | sl | 72 eth 0x20 altgr
|
D | fr | 117 eth 0x20 altgr
|
D | no | 74 eth 0x20 altgr
|
D | tr | 73 eth 0x20 altgr
|
D | hr | 74 eth 0x20 altgr
|
D | da | 72 eth 0x20 altgr
|
D | pl | 72 eth 0x20 altgr
|
D | fi | 73 eth 0x20 altgr
|
D | en-gb | 70 eth 0x20 altgr
|
/external/kernel-headers/original/asm-mips/ip32/ |
D | mace.h | 353 struct mace_ethernet eth; member
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_supplicant.c | 2379 const struct l2_ethhdr *eth; in wpa_supplicant_rx_eapol_bridge() local 2381 if (len < sizeof(*eth)) in wpa_supplicant_rx_eapol_bridge() 2383 eth = (const struct l2_ethhdr *) buf; in wpa_supplicant_rx_eapol_bridge() 2385 if (os_memcmp(eth->h_dest, wpa_s->own_addr, ETH_ALEN) != 0 && in wpa_supplicant_rx_eapol_bridge() 2386 !(eth->h_dest[0] & 0x01)) { in wpa_supplicant_rx_eapol_bridge() 2389 MAC2STR(src_addr), MAC2STR(eth->h_dest)); in wpa_supplicant_rx_eapol_bridge() 2394 " (bridge)", MAC2STR(src_addr), MAC2STR(eth->h_dest)); in wpa_supplicant_rx_eapol_bridge() 2395 wpa_supplicant_rx_eapol(wpa_s, src_addr, buf + sizeof(*eth), in wpa_supplicant_rx_eapol_bridge() 2396 len - sizeof(*eth)); in wpa_supplicant_rx_eapol_bridge()
|