Lines Matching refs:hdrlen
184 tuninfo->eh.hdrlen = ((sizeof(*tuninfo) + len_aligned) >> 3) - 1; in ioam6_build_state()
226 int hdrlen, err; in ioam6_do_inline() local
228 hdrlen = (tuninfo->eh.hdrlen + 1) << 3; in ioam6_do_inline()
230 err = skb_cow_head(skb, hdrlen + skb->mac_len); in ioam6_do_inline()
238 skb_push(skb, sizeof(*oldhdr) + hdrlen); in ioam6_do_inline()
247 skb_postpush_rcsum(skb, hdr, sizeof(*hdr) + hdrlen); in ioam6_do_inline()
249 memcpy(skb_transport_header(skb), (u8 *)tuninfo, hdrlen); in ioam6_do_inline()
263 int hdrlen, len, err; in ioam6_do_encap() local
265 hdrlen = (tuninfo->eh.hdrlen + 1) << 3; in ioam6_do_encap()
266 len = sizeof(*hdr) + hdrlen; in ioam6_do_encap()
280 memcpy(skb_transport_header(skb), (u8 *)tuninfo, hdrlen); in ioam6_do_encap()