Searched refs:net_arp_hdr (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/tests/net/arp/src/ |
D | main.c | 99 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-Core-3.7.0/subsys/net/l2/ethernet/ |
D | arp.h | 26 #define NET_ARP_HDR(pkt) ((struct net_arp_hdr *)net_pkt_data(pkt)) 28 struct net_arp_hdr { struct
|
D | arp.c | 256 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() 487 struct net_arp_hdr *hdr; in arp_gratuitous_send() 490 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_arp_hdr), in arp_gratuitous_send() 496 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in arp_gratuitous_send() 713 struct net_arp_hdr *hdr, *query; in arp_prepare_reply() 716 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_arp_hdr), in arp_prepare_reply() 722 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in arp_prepare_reply() 754 static bool arp_hdr_check(struct net_arp_hdr *arp_hdr) in arp_hdr_check() [all …]
|
/Zephyr-Core-3.7.0/subsys/net/ip/ |
D | ipv4_acd.c | 82 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()
|