Home
last modified time | relevance | path

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

/linux-5.19.10/net/ipv6/
Dioam6_iptunnel.c225 struct ipv6hdr *oldhdr, *hdr; in ioam6_do_inline() local
234 oldhdr = ipv6_hdr(skb); in ioam6_do_inline()
235 skb_pull(skb, sizeof(*oldhdr)); in ioam6_do_inline()
236 skb_postpull_rcsum(skb, skb_network_header(skb), sizeof(*oldhdr)); in ioam6_do_inline()
238 skb_push(skb, sizeof(*oldhdr) + hdrlen); in ioam6_do_inline()
243 memmove(hdr, oldhdr, sizeof(*oldhdr)); in ioam6_do_inline()
Drpl_iptunnel.c131 const struct ipv6hdr *oldhdr; in rpl_do_srh_inline() local
137 oldhdr = ipv6_hdr(skb); in rpl_do_srh_inline()
149 isrh->rpl_segaddr[srh->segments_left - 1] = oldhdr->daddr; in rpl_do_srh_inline()
171 memmove(hdr, oldhdr, sizeof(*hdr)); in rpl_do_srh_inline()
Dseg6_iptunnel.c203 struct ipv6hdr *hdr, *oldhdr; in seg6_do_srh_inline() local
213 oldhdr = ipv6_hdr(skb); in seg6_do_srh_inline()
225 memmove(hdr, oldhdr, sizeof(*hdr)); in seg6_do_srh_inline()
Dexthdrs.c495 struct ipv6hdr *oldhdr; in ipv6_rpl_srh_rcv() local
628 oldhdr = ipv6_hdr(skb); in ipv6_rpl_srh_rcv()
631 skb_postpull_rcsum(skb, oldhdr, in ipv6_rpl_srh_rcv()
638 memmove(ipv6_hdr(skb), oldhdr, sizeof(struct ipv6hdr)); in ipv6_rpl_srh_rcv()