Searched refs:first_segment (Results 1 – 11 of 11) sorted by relevance
44 if (srh->segments_left > srh->first_segment) in srh_mt6()92 !(srh->first_segment == srhinfo->last_entry))) in srh_mt6()97 !(srh->first_segment > srhinfo->last_entry))) in srh_mt6()102 !(srh->first_segment < srhinfo->last_entry))) in srh_mt6()138 if (srh->segments_left > srh->first_segment) in srh1_mt6()182 !(srh->first_segment == srhinfo->last_entry))) in srh1_mt6()186 !(srh->first_segment > srhinfo->last_entry))) in srh1_mt6()190 !(srh->first_segment < srhinfo->last_entry))) in srh1_mt6()204 if (srh->segments_left == srh->first_segment) in srh1_mt6()
42 unsigned char first_segment; member131 sizeof(struct ip6_addr_t) * (srh->first_segment + 1); in is_valid_tlv_boundary()264 ((srh->first_segment + 1) << 4); in has_egr_tlv()301 srh->first_segment = 3; in __encap_srh()381 err = delete_tlv(skb, srh, 8 + (srh->first_segment + 1) * 16); in __pop_egr()
42 unsigned char first_segment; member132 sizeof(struct ip6_addr_t) * (srh->first_segment + 1); in is_valid_tlv_boundary()
88 if (srh->hdrlen < (srh->first_segment + 1) * 2 + 5) in seg6_get_tlv_hmac() 173 plen = 16 + 1 + 1 + 4 + (hdr->first_segment + 1) * 16; in seg6_hmac_compute() 183 * 2. first_segment value (8 bits) in seg6_hmac_compute() 197 /* first_segment value */ in seg6_hmac_compute() 198 *off++ = hdr->first_segment; in seg6_hmac_compute() 208 for (i = 0; i < hdr->first_segment + 1; i++) { in seg6_hmac_compute()
38 if (!reduced && srh->segments_left > srh->first_segment) { in seg6_validate_srh()43 if (srh->first_segment > max_last_entry) in seg6_validate_srh()46 if (srh->segments_left > srh->first_segment + 1) in seg6_validate_srh()50 tlv_offset = sizeof(*srh) + ((srh->first_segment + 1) << 4); in seg6_validate_srh()
183 hdr->daddr = isrh->segments[isrh->first_segment]; in seg6_do_srh_encap() 206 __u8 first_seg = osrh->first_segment; in seg6_do_srh_encap_red() 297 --isrh->first_segment; in seg6_do_srh_encap_red() 354 hdr->daddr = isrh->segments[isrh->first_segment]; in seg6_do_srh_inline()
1115 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4()
29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
192 bool first_segment; member594 recvmsg->first_segment = true; in recv_done()725 if (recvmsg->first_segment && size == 4) { in smb_direct_read()730 recvmsg->first_segment = false; in smb_direct_read()829 recvmsg->first_segment = false; in smb_direct_post_recv_credits()
6485 srh_tlvs = (void *)((char *)srh + ((srh->first_segment + 1) << 4)); in BPF_CALL_4()6620 ((srh->first_segment + 1) << 4)); in BPF_CALL_3()