Lines Matching refs:hdrlen
401 int offset = (hdr->hdrlen + 1) << 3; in ipv6_srh_rcv()
426 skb->transport_header += (hdr->hdrlen + 1) << 3; in ipv6_srh_rcv()
432 if (hdr->segments_left >= (hdr->hdrlen >> 1)) { in ipv6_srh_rcv()
518 int offset = (hdr->hdrlen + 1) << 3; in ipv6_rpl_srh_rcv()
542 skb->transport_header += (hdr->hdrlen + 1) << 3; in ipv6_rpl_srh_rcv()
553 n = (hdr->hdrlen << 3) - hdr->pad - (16 - hdr->cmpre); in ipv6_rpl_srh_rcv()
607 chdr = (struct ipv6_rpl_sr_hdr *)(buf + ((ohdr->hdrlen + 1) << 3)); in ipv6_rpl_srh_rcv()
630 skb_pull(skb, ((hdr->hdrlen + 1) << 3)); in ipv6_rpl_srh_rcv()
632 sizeof(struct ipv6hdr) + ((hdr->hdrlen + 1) << 3)); in ipv6_rpl_srh_rcv()
633 skb_push(skb, ((chdr->hdrlen + 1) << 3) + sizeof(struct ipv6hdr)); in ipv6_rpl_srh_rcv()
639 memcpy(skb_transport_header(skb), chdr, (chdr->hdrlen + 1) << 3); in ipv6_rpl_srh_rcv()
643 sizeof(struct ipv6hdr) + ((chdr->hdrlen + 1) << 3)); in ipv6_rpl_srh_rcv()
744 skb->transport_header += (hdr->hdrlen + 1) << 3; in ipv6_rthdr_rcv()
757 if (hdr->hdrlen != 2 || hdr->segments_left != 1) { in ipv6_rthdr_rcv()
773 n = hdr->hdrlen >> 1; in ipv6_rthdr_rcv()
1116 phdr = skb_push(skb, (ihdr->rt_hdr.hdrlen + 1) << 3); in ipv6_push_rthdr0()
1119 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr0()
1140 plen = (sr_ihdr->hdrlen + 1) << 3; in ipv6_push_rthdr4()
1152 if (sr_ihdr->hdrlen > hops * 2) { in ipv6_push_rthdr4()
1156 tlvs_length = (sr_ihdr->hdrlen - hops * 2) << 3; in ipv6_push_rthdr4()