Lines Matching refs:hdrlen
44 return ((tuninfo->srh->hdrlen + 1) << 3) + head; in seg6_lwt_headroom()
131 int hdrlen, tot_len, err; in seg6_do_srh_encap() local
134 hdrlen = (osrh->hdrlen + 1) << 3; in seg6_do_srh_encap()
135 tot_len = hdrlen + sizeof(*hdr); in seg6_do_srh_encap()
176 memcpy(isrh, osrh, hdrlen); in seg6_do_srh_encap()
202 int hdrlen, err; in seg6_do_srh_inline() local
204 hdrlen = (osrh->hdrlen + 1) << 3; in seg6_do_srh_inline()
206 err = skb_cow_head(skb, hdrlen + skb->mac_len); in seg6_do_srh_inline()
216 skb_push(skb, sizeof(struct ipv6hdr) + hdrlen); in seg6_do_srh_inline()
225 memcpy(isrh, osrh, hdrlen); in seg6_do_srh_inline()
243 skb_postpush_rcsum(skb, hdr, sizeof(struct ipv6hdr) + hdrlen); in seg6_do_srh_inline()