Home
last modified time | relevance | path

Searched refs:h_dest (Results 1 - 25 of 29) sorted by relevance

12

/third_party/ltp/testcases/network/stress/ns-tools/
H A 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dpreauth_auth.c61 if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { in rsn_preauth_receive()
63 MACSTR_SEC, MAC2STR_SEC(ethhdr->h_dest)); in rsn_preauth_receive()
254 os_memcpy(ethhdr->h_dest, sta->addr, ETH_ALEN); in rsn_preauth_send()
H A 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()
H A Dwpa_auth_glue.c739 os_memcpy(buf->h_dest, dst, ETH_ALEN); in hostapd_wpa_auth_send_ether()
1376 MACSTR_SEC, MAC2STR_SEC(ethhdr->h_source), MAC2STR_SEC(ethhdr->h_dest)); in hostapd_rrb_receive()
1377 if (!is_multicast_ether_addr(ethhdr->h_dest) && in hostapd_rrb_receive()
1378 os_memcmp(hapd->own_addr, ethhdr->h_dest, ETH_ALEN) != 0) in hostapd_rrb_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A 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()
H A 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()
H A Dwpa_auth_glue.c633 os_memcpy(buf->h_dest, dst, ETH_ALEN); in hostapd_wpa_auth_send_ether()
1175 MACSTR, MAC2STR(ethhdr->h_source), MAC2STR(ethhdr->h_dest)); in hostapd_rrb_receive()
1176 if (!is_multicast_ether_addr(ethhdr->h_dest) && in hostapd_rrb_receive()
1177 os_memcmp(hapd->own_addr, ethhdr->h_dest, ETH_ALEN) != 0) in hostapd_rrb_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
H A Dl2_packet.h33 u8 h_dest[ETH_ALEN]; member
H A Dl2_packet_freebsd.c63 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
H A Dl2_packet_pcap.c99 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
H A Dl2_packet_winpcap.c89 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
H A Dl2_packet_ndis.c121 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
H A Dl2_packet.h39 u8 h_dest[ETH_ALEN]; member
H A Dl2_packet_linux.c249 (os_memcmp(eth->h_dest, l2->own_addr, ETH_ALEN) == 0 || in l2_packet_receive()
250 is_multicast_ether_addr(eth->h_dest))) { in l2_packet_receive()
H A Dl2_packet_freebsd.c63 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
H A Dl2_packet_pcap.c99 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
H A Dl2_packet_winpcap.c89 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
H A Dl2_packet_ndis.c121 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
/third_party/musl/porting/liteos_a/kernel/include/netinet/
H A Dif_ether.h116 uint8_t h_dest[ETH_ALEN]; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
H A Dif_ether.h114 uint8_t h_dest[ETH_ALEN]; member
/third_party/musl/porting/uniproton/kernel/include/netinet/
H A Dif_ether.h114 uint8_t h_dest[ETH_ALEN]; member
/third_party/musl/porting/liteos_m/kernel/include/netinet/
H A Dif_ether.h114 uint8_t h_dest[ETH_ALEN]; member
/third_party/musl/include/netinet/
H A Dif_ether.h116 uint8_t h_dest[ETH_ALEN]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dwpa_supplicant.c5545 if (os_memcmp(eth->h_dest, wpa_s->own_addr, ETH_ALEN) != 0 &&
5546 !(eth->h_dest[0] & 0x01)) {
5549 MAC2STR(src_addr), MAC2STR(eth->h_dest));
5552 MAC2STR_SEC(src_addr), MAC2STR_SEC(eth->h_dest));
5557 " (bridge)", MAC2STR(src_addr), MAC2STR(eth->h_dest));
5559 " (bridge)", MAC2STR_SEC(src_addr), MAC2STR_SEC(eth->h_dest));
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Dwpa_hal.c1017 rc = memcpy_s(l2_ethhdr->h_dest, ETH_ADDR_LEN, dest, ETH_ADDR_LEN); in WifiWpaWpaSendEapol()
1768 if (memcpy_s(ethhdr->h_dest, ETH_ADDR_LEN, addr, ETH_ADDR_LEN) != EOK) { in WifiWpaHapdSendEapol()

Completed in 28 milliseconds

12