Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/arp/src/
Dmain.c99 struct net_arp_hdr *arp_hdr = in tester_send()
100 (struct net_arp_hdr *)pkt->frags->frags; in tester_send()
176 struct net_arp_hdr *hdr; in prepare_arp_reply()
181 sizeof(struct net_arp_hdr), in prepare_arp_reply()
216 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in prepare_arp_reply()
227 struct net_arp_hdr *hdr, *req_hdr; in prepare_arp_request()
231 sizeof(struct net_arp_hdr), in prepare_arp_request()
266 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in prepare_arp_request()
334 struct net_arp_hdr *arp_hdr; in ZTEST()
523 sizeof(struct net_arp_hdr), in ZTEST()
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/
Darp.h26 #define NET_ARP_HDR(pkt) ((struct net_arp_hdr *)net_pkt_data(pkt))
28 struct net_arp_hdr { struct
Darp.c256 struct net_arp_hdr *hdr; in arp_prepare()
267 sizeof(struct net_arp_hdr), in arp_prepare()
283 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in arp_prepare()
490 struct net_arp_hdr *hdr; in arp_gratuitous_send()
493 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_arp_hdr), in arp_gratuitous_send()
499 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in arp_gratuitous_send()
716 struct net_arp_hdr *hdr, *query; in arp_prepare_reply()
719 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_arp_hdr), in arp_prepare_reply()
725 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in arp_prepare_reply()
757 static bool arp_hdr_check(struct net_arp_hdr *arp_hdr) in arp_hdr_check()
[all …]
/Zephyr-latest/subsys/net/ip/
Dipv4_acd.c82 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_arp_hdr), in ipv4_acd_prepare_arp()
261 struct net_arp_hdr *arp_hdr; in net_ipv4_acd_input()
264 if (net_pkt_get_len(pkt) < sizeof(struct net_arp_hdr)) { in net_ipv4_acd_input()
266 net_pkt_get_len(pkt), sizeof(struct net_arp_hdr)); in net_ipv4_acd_input()