Lines Matching refs:net_arp_hdr
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()
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()
775 struct net_arp_hdr *arp_hdr; in net_arp_input()
779 if (net_pkt_get_len(pkt) < (sizeof(struct net_arp_hdr) - in net_arp_input()
782 net_pkt_get_len(pkt), sizeof(struct net_arp_hdr) - in net_arp_input()