Searched refs:segments_left (Results 1 – 6 of 6) sorted by relevance
73 pr_debug("SGS_LEFT %u %02X\n", rh->segments_left, rh->segments_left); in rt_mt6()77 rh->segments_left, in rt_mt6()98 rh->segments_left, in rt_mt6()
150 int segments, segments_left; in ipv6_rearrange_rthdr() local154 segments_left = rthdr->segments_left; in ipv6_rearrange_rthdr()155 if (segments_left == 0) in ipv6_rearrange_rthdr()157 rthdr->segments_left = 0; in ipv6_rearrange_rthdr()171 addrs += segments - segments_left; in ipv6_rearrange_rthdr()172 memmove(addrs + 1, addrs, (segments_left - 1) * sizeof(*addrs)); in ipv6_rearrange_rthdr()
353 if (hdr->segments_left == 0) { in ipv6_rthdr_rcv()386 if (hdr->hdrlen != 2 || hdr->segments_left != 1) { in ipv6_rthdr_rcv()405 if (hdr->segments_left > n) { in ipv6_rthdr_rcv()409 ((&hdr->segments_left) - in ipv6_rthdr_rcv()431 i = n - --hdr->segments_left; in ipv6_rthdr_rcv()
666 rthdr->segments_left != 1) { in datagram_send_ctl()685 if ((rthdr->hdrlen >> 1) != rthdr->segments_left) { in datagram_send_ctl()
376 rthdr->segments_left != 1) in do_ipv6_setsockopt()386 (rthdr->hdrlen >> 1) != rthdr->segments_left) in do_ipv6_setsockopt()
381 rt2->rt_hdr.segments_left = 1; in mip6_rthdr_output()