Searched refs:segments_left (Results 1 – 17 of 17) 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 …]
64 rh->segments_left, in rt_mt6()
351 addr = hdr->segments + hdr->segments_left; in seg6_update_csum()353 hdr->segments_left++; in seg6_update_csum()356 hdr->segments_left--; in seg6_update_csum()398 if (hdr->segments_left == 0) { in ipv6_srh_rcv()427 if (hdr->segments_left >= (hdr->hdrlen >> 1)) { in ipv6_srh_rcv()430 ((&hdr->segments_left) - in ipv6_srh_rcv()446 hdr->segments_left--; in ipv6_srh_rcv()447 addr = hdr->segments + hdr->segments_left; in ipv6_srh_rcv()509 if (hdr->segments_left == 0) { in ipv6_rpl_srh_rcv()548 if (hdr->segments_left > n + 1) { in ipv6_rpl_srh_rcv()[all …]
48 if (!srh->segments_left || in rpl_validate_srh()49 (srh->segments_left * sizeof(struct in6_addr)) != seglen) in rpl_validate_srh()56 srh->segments_left); in rpl_validate_srh()60 if (ipv6_addr_type(&srh->rpl_segaddr[srh->segments_left - 1]) & in rpl_validate_srh()140 buf = kcalloc(struct_size(srh, segments.addr, srh->segments_left), 2, GFP_ATOMIC); in rpl_do_srh_inline()149 (srh->segments_left - 1) * 16); in rpl_do_srh_inline()150 isrh->rpl_segaddr[srh->segments_left - 1] = oldhdr->daddr; in rpl_do_srh_inline()153 isrh->segments_left - 1); in rpl_do_srh_inline()
42 outhdr->segments_left = inhdr->segments_left; in ipv6_rpl_srh_decompress()108 outhdr->segments_left = inhdr->segments_left; in ipv6_rpl_srh_compress()
210 int segments, segments_left; in ipv6_rearrange_rthdr() local214 segments_left = rthdr->segments_left; in ipv6_rearrange_rthdr()215 if (segments_left == 0) in ipv6_rearrange_rthdr()217 rthdr->segments_left = 0; in ipv6_rearrange_rthdr()231 addrs += segments - segments_left; in ipv6_rearrange_rthdr()232 memmove(addrs + 1, addrs, (segments_left - 1) * sizeof(*addrs)); in ipv6_rearrange_rthdr()
38 if (!reduced && srh->segments_left > srh->first_segment) { in seg6_validate_srh()46 if (srh->segments_left > srh->first_segment + 1) in seg6_validate_srh()
232 rh->segments_left == 0) in ipv6_find_hdr()
322 rt2->rt_hdr.segments_left = 1; in mip6_rthdr_output()
947 rthdr->segments_left != 1) { in ip6_datagram_send_ctl()966 if ((rthdr->hdrlen >> 1) != rthdr->segments_left) { in ip6_datagram_send_ctl()
365 if (rthdr->hdrlen != 2 || rthdr->segments_left != 1) in ipv6_set_opt_hdr()
28 __u8 segments_left; member
23 __u8 segments_left; member
54 __u8 segments_left; member
41 unsigned char segments_left; member300 srh->segments_left = 3; in __encap_srh()
41 unsigned char segments_left; member