Home
last modified time | relevance | path

Searched refs:frag_hdr (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/ip/
Dipv6_fragment.c236 struct net_ipv6_frag_hdr *frag_hdr; in reassemble_packet() member
301 ipv6.frag_hdr = (struct net_ipv6_frag_hdr *)net_pkt_get_data( in reassemble_packet()
303 if (!ipv6.frag_hdr) { in reassemble_packet()
308 next_hdr = ipv6.frag_hdr->nexthdr; in reassemble_packet()
599 struct net_ipv6_frag_hdr *frag_hdr; in send_ipv6_fragment() local
628 frag_hdr = (struct net_ipv6_frag_hdr *)net_pkt_get_data(frag_pkt, in send_ipv6_fragment()
630 if (!frag_hdr) { in send_ipv6_fragment()
634 frag_hdr->nexthdr = next_hdr; in send_ipv6_fragment()
635 frag_hdr->reserved = 0U; in send_ipv6_fragment()
636 frag_hdr->id = net_pkt_ipv6_fragment_id(pkt); in send_ipv6_fragment()
[all …]
Dipv4_fragment.c525 struct net_ipv4_hdr *frag_hdr; in net_ipv4_send_fragmented_pkt() local
528 frag_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &frag_access); in net_ipv4_send_fragmented_pkt()
529 if (!frag_hdr) { in net_ipv4_send_fragmented_pkt()
534 flag = ntohs(*((uint16_t *)&frag_hdr->offset)); in net_ipv4_send_fragmented_pkt()
570 switch (frag_hdr->proto) { in net_ipv4_send_fragmented_pkt()