Lines Matching refs:hdrlen
45 return ((tuninfo->srh->hdrlen + 1) << 3) + head; in seg6_lwt_headroom()
132 int hdrlen, tot_len, err; in seg6_do_srh_encap() local
135 hdrlen = (osrh->hdrlen + 1) << 3; in seg6_do_srh_encap()
136 tot_len = hdrlen + sizeof(*hdr); in seg6_do_srh_encap()
177 memcpy(isrh, osrh, hdrlen); in seg6_do_srh_encap()
205 int hdrlen, err; in seg6_do_srh_inline() local
207 hdrlen = (osrh->hdrlen + 1) << 3; in seg6_do_srh_inline()
209 err = skb_cow_head(skb, hdrlen + skb->mac_len); in seg6_do_srh_inline()
219 skb_push(skb, sizeof(struct ipv6hdr) + hdrlen); in seg6_do_srh_inline()
228 memcpy(isrh, osrh, hdrlen); in seg6_do_srh_inline()
248 skb_postpush_rcsum(skb, hdr, sizeof(struct ipv6hdr) + hdrlen); in seg6_do_srh_inline()