Searched refs:segments_left (Results 1 – 10 of 10) sorted by relevance
44 if (srh->segments_left > srh->first_segment) in srh_mt6()72 !(srh->segments_left == srhinfo->segs_left))) in srh_mt6()77 !(srh->segments_left > srhinfo->segs_left))) in srh_mt6()82 !(srh->segments_left < srhinfo->segs_left))) in srh_mt6()138 if (srh->segments_left > srh->first_segment) in srh1_mt6()164 !(srh->segments_left == srhinfo->segs_left))) in srh1_mt6()168 !(srh->segments_left > srhinfo->segs_left))) in srh1_mt6()172 !(srh->segments_left < srhinfo->segs_left))) in srh1_mt6()204 if (srh->segments_left == srh->first_segment) in srh1_mt6()207 ((srh->segments_left + 1) * sizeof(struct in6_addr)); in srh1_mt6()[all …]
70 pr_debug("SGS_LEFT %u %02X\n", rh->segments_left, rh->segments_left); in rt_mt6()74 rh->segments_left, in rt_mt6()94 rh->segments_left, in rt_mt6()
333 addr = hdr->segments + hdr->segments_left; in seg6_update_csum()335 hdr->segments_left++; in seg6_update_csum()338 hdr->segments_left--; in seg6_update_csum()381 if (hdr->segments_left == 0) { in ipv6_srh_rcv()413 if (hdr->segments_left >= (hdr->hdrlen >> 1)) { in ipv6_srh_rcv()416 ((&hdr->segments_left) - in ipv6_srh_rcv()432 hdr->segments_left--; in ipv6_srh_rcv()433 addr = hdr->segments + hdr->segments_left; in ipv6_srh_rcv()513 if (hdr->segments_left == 0) { in ipv6_rthdr_rcv()546 if (hdr->hdrlen != 2 || hdr->segments_left != 1) { in ipv6_rthdr_rcv()[all …]
216 int segments, segments_left; in ipv6_rearrange_rthdr() local220 segments_left = rthdr->segments_left; in ipv6_rearrange_rthdr()221 if (segments_left == 0) in ipv6_rearrange_rthdr()223 rthdr->segments_left = 0; in ipv6_rearrange_rthdr()237 addrs += segments - segments_left; in ipv6_rearrange_rthdr()238 memmove(addrs + 1, addrs, (segments_left - 1) * sizeof(*addrs)); in ipv6_rearrange_rthdr()
104 if (srh->segments_left == 0) in get_and_validate_srh()121 if (srh && srh->segments_left > 0) in decap_and_validate()149 srh->segments_left--; in advance_nextseg()150 addr = srh->segments + srh->segments_left; in advance_nextseg()
232 rh->segments_left == 0) in ipv6_find_hdr()
39 if (srh->segments_left > srh->first_segment) in seg6_validate_srh()
925 rthdr->segments_left != 1) { in ip6_datagram_send_ctl()944 if ((rthdr->hdrlen >> 1) != rthdr->segments_left) { in ip6_datagram_send_ctl()
373 rt2->rt_hdr.segments_left = 1; in mip6_rthdr_output()
454 rthdr->segments_left != 1) in do_ipv6_setsockopt()