Home
last modified time | relevance | path

Searched refs:h_dest (Results 1 – 24 of 24) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
Ddebug.c138 (unsigned) packet->ethHdr.h_dest[0], in dumpPacket()
139 (unsigned) packet->ethHdr.h_dest[1], in dumpPacket()
140 (unsigned) packet->ethHdr.h_dest[2], in dumpPacket()
141 (unsigned) packet->ethHdr.h_dest[3], in dumpPacket()
142 (unsigned) packet->ethHdr.h_dest[4], in dumpPacket()
143 (unsigned) packet->ethHdr.h_dest[5]); in dumpPacket()
Dcommon.c109 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN); in sendPADT()
212 printer(arg, " dst %02x:%02x:%02x:%02x:%02x:%02x ", EH(packet->ethHdr.h_dest)); in pppoe_printpkt()
Ddiscovery.c110 if (memcmp(packet->ethHdr.h_dest, conn->myEth, ETH_ALEN)) return 0; in packetIsForMe()
280 memset(packet.ethHdr.h_dest, 0xFF, ETH_ALEN); in sendPADI()
465 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN); in sendPADR()
Dpppoe-discovery.c347 if (memcmp(packet->ethHdr.h_dest, conn->myEth, ETH_ALEN)) return 0; in packetIsForMe()
458 memset(packet.ethHdr.h_dest, 0xFF, ETH_ALEN); in sendPADI()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c326 memcpy(sndeth.hdr.h_dest, rcveth_p->hdr.h_source, ETH_ALEN); in return_arp_reply()
377 if (memcmp(rcveth_p->hdr.h_dest, new_gw_p->hd_addr, ETH_ALEN) == 0) { in return_icmp4_redirect()
383 || memcmp(rcveth_p->hdr.h_dest, gw_p->hd_addr, ETH_ALEN)) in return_icmp4_redirect()
400 memcpy(sndeth.hdr.h_dest, rcveth_p->hdr.h_source, ETH_ALEN); in return_icmp4_redirect()
522 memcpy(sndeth.hdr.h_dest, rcvns_p->src_laddr, ETH_ALEN); in return_neigh_adv()
602 if (memcmp(rcveth_p->hdr.h_dest, new_gw_p->hd_addr, ETH_ALEN) == 0) { in return_icmp6_redirect()
608 || memcmp(rcveth_p->hdr.h_dest, gw_p->hd_addr, ETH_ALEN)) in return_icmp6_redirect()
624 memcpy(sndeth.hdr.h_dest, rcveth_p->hdr.h_source, ETH_ALEN); in return_icmp6_redirect()
/external/wpa_supplicant_8/src/ap/
Dpreauth_auth.c61 if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { in rsn_preauth_receive()
63 MACSTR, MAC2STR(ethhdr->h_dest)); in rsn_preauth_receive()
254 os_memcpy(ethhdr->h_dest, sta->addr, ETH_ALEN); in rsn_preauth_send()
Deth_p_oui.c78 eth_p_oui_deliver(receiver, ethhdr->h_source, ethhdr->h_dest, in eth_p_rx()
178 os_memcpy(ethhdr->h_dest, dst_addr, ETH_ALEN); in eth_p_oui_send()
Dwpa_auth_glue.c629 os_memcpy(buf->h_dest, dst, ETH_ALEN); in hostapd_wpa_auth_send_ether()
1171 MACSTR, MAC2STR(ethhdr->h_source), MAC2STR(ethhdr->h_dest)); in hostapd_rrb_receive()
1172 if (!is_multicast_ether_addr(ethhdr->h_dest) && in hostapd_rrb_receive()
1173 os_memcmp(hapd->own_addr, ethhdr->h_dest, ETH_ALEN) != 0) in hostapd_rrb_receive()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_xdp.c75 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr()
76 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr()
/external/libnl/include/linux-private/linux/
Dif_ether.h120 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet.h33 u8 h_dest[ETH_ALEN]; member
Dl2_packet_freebsd.c63 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
Dl2_packet_winpcap.c89 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
Dl2_packet_pcap.c99 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
Dl2_packet_ndis.c121 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
/external/tcpdump/
Dprint-lane.c37 uint8_t h_dest[ETHER_ADDR_LEN]; member
/external/iproute2/include/uapi/linux/
Dif_ether.h153 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
/external/kernel-headers/original/uapi/linux/
Dif_ether.h162 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
Dethtool.h852 unsigned char h_dest[ETH_ALEN]; member
/external/iptables/iptables/
Dnft-bridge.c193 add_payload(r, offsetof(struct ethhdr, h_dest), 6, in nft_bridge_add()
288 case offsetof(struct ethhdr, h_dest): in nft_bridge_parse_payload()
/external/syzkaller/sys/linux/
Dsocket.txt649 h_dest mac_addr
703 h_dest mac_addr
/external/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c502 memset(eth.h_dest, 0x06, ETH_ALEN); in do_tx()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant.c4351 if (os_memcmp(eth->h_dest, wpa_s->own_addr, ETH_ALEN) != 0 && in wpa_supplicant_rx_eapol_bridge()
4352 !(eth->h_dest[0] & 0x01)) { in wpa_supplicant_rx_eapol_bridge()
4355 MAC2STR(src_addr), MAC2STR(eth->h_dest)); in wpa_supplicant_rx_eapol_bridge()
4360 " (bridge)", MAC2STR(src_addr), MAC2STR(eth->h_dest)); in wpa_supplicant_rx_eapol_bridge()
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c1685 os_memcpy(eth->h_dest, addr, ETH_ALEN); in atheros_send_eapol()