Home
last modified time | relevance | path

Searched refs:src_hwaddr (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/
Darp.c326 memcpy(hdr->src_hwaddr.addr, net_pkt_lladdr_src(pkt)->addr, in arp_prepare()
512 memcpy(&hdr->src_hwaddr.addr, net_if_get_link_addr(iface)->addr, in arp_gratuitous_send()
742 memcpy(&hdr->src_hwaddr.addr, net_if_get_link_addr(iface)->addr, in arp_prepare_reply()
797 if (memcmp(&arp_hdr->src_hwaddr, in net_arp_input()
814 &arp_hdr->src_hwaddr, in net_arp_input()
840 net_sprint_ll_addr((uint8_t *)&arp_hdr->src_hwaddr, in net_arp_input()
851 net_sprint_ll_addr((uint8_t *)&arp_hdr->src_hwaddr, in net_arp_input()
857 &arp_hdr->src_hwaddr, in net_arp_input()
860 dst_hw_addr = &arp_hdr->src_hwaddr; in net_arp_input()
878 net_sprint_ll_addr(arp_hdr->src_hwaddr.addr, in net_arp_input()
[all …]
Darp.h34 struct net_eth_addr src_hwaddr; /* SHA */ member
/Zephyr-latest/subsys/net/ip/
Dipv4_acd.c300 (memcmp(&arp_hdr->src_hwaddr, ll_addr->addr, ll_addr->len) != 0) && in net_ipv4_acd_input()
304 net_sprint_ll_addr((uint8_t *)&arp_hdr->src_hwaddr, in net_ipv4_acd_input()
338 memcmp(&arp_hdr->src_hwaddr, ll_addr->addr, ll_addr->len) != 0) { in net_ipv4_acd_input()
340 net_sprint_ll_addr((uint8_t *)&arp_hdr->src_hwaddr, in net_ipv4_acd_input()
/Zephyr-latest/tests/net/arp/src/
Dmain.c210 memcpy(&hdr->src_hwaddr.addr, addr, in prepare_arp_reply()
261 memcpy(&hdr->src_hwaddr.addr, addr, sizeof(struct net_eth_addr)); in prepare_arp_request()
629 memcpy(&arp_hdr->src_hwaddr, &new_hwaddr, 6); in ZTEST()