Searched refs:dst_hwaddr (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/ |
D | arp.h | 36 struct net_eth_addr dst_hwaddr; /* THA */ member
|
D | arp.c | 321 (void)memset(&hdr->dst_hwaddr.addr, 0x00, sizeof(struct net_eth_addr)); in arp_prepare() 507 memcpy(&hdr->dst_hwaddr.addr, net_eth_broadcast_addr(), in arp_gratuitous_send() 737 memcpy(&hdr->dst_hwaddr.addr, &dst_addr->addr, in arp_prepare_reply() 748 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)&hdr->dst_hwaddr.addr; in arp_prepare_reply() 802 (net_eth_is_addr_broadcast(&arp_hdr->dst_hwaddr) || in net_arp_input() 803 net_eth_is_addr_all_zeroes(&arp_hdr->dst_hwaddr)) && in net_arp_input() 845 if (net_eth_is_addr_unspecified(&arp_hdr->dst_hwaddr)) { in net_arp_input()
|
/Zephyr-Core-3.7.0/tests/net/arp/src/ |
D | main.c | 208 memcpy(&hdr->dst_hwaddr.addr, ð->src.addr, in prepare_arp_reply() 260 (void)memset(&hdr->dst_hwaddr.addr, 0x00, sizeof(struct net_eth_addr)); in prepare_arp_request() 630 memcpy(&arp_hdr->dst_hwaddr, net_eth_broadcast_addr(), 6); in ZTEST()
|