Home
last modified time | relevance | path

Searched refs:first_segment (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dip6t_srh.c44 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_lwt_seg6local.c40 unsigned char first_segment; member
129 sizeof(struct ip6_addr_t) * (srh->first_segment + 1); in is_valid_tlv_boundary()
262 ((srh->first_segment + 1) << 4); in has_egr_tlv()
299 srh->first_segment = 3; in __encap_srh()
379 err = delete_tlv(skb, srh, 8 + (srh->first_segment + 1) * 16); in __pop_egr()
H A Dtest_seg6_loop.c40 unsigned char first_segment; member
130 sizeof(struct ip6_addr_t) * (srh->first_segment + 1); in is_valid_tlv_boundary()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dseg6_hmac.c89 if (srh->hdrlen < (srh->first_segment + 1) * 2 + 5) in seg6_get_tlv_hmac()
174 plen = 16 + 1 + 1 + 4 + (hdr->first_segment + 1) * 16; in seg6_hmac_compute()
199 *off++ = hdr->first_segment; in seg6_hmac_compute()
209 for (i = 0; i < hdr->first_segment + 1; i++) { in seg6_hmac_compute()
H A Dseg6.c40 if (!reduced && srh->segments_left > srh->first_segment) { in seg6_validate_srh()
45 if (srh->first_segment > max_last_entry) in seg6_validate_srh()
48 if (srh->segments_left > srh->first_segment + 1) in seg6_validate_srh()
52 tlv_offset = sizeof(*srh) + ((srh->first_segment + 1) << 4); in seg6_validate_srh()
H A Dseg6_iptunnel.c180 hdr->daddr = isrh->segments[isrh->first_segment]; in seg6_do_srh_encap()
233 hdr->daddr = isrh->segments[isrh->first_segment]; in seg6_do_srh_inline()
H A Dexthdrs.c1100 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dsmbdirect.h255 bool first_segment; member
H A Dsmbdirect.c412 response->first_segment = false; in smbd_post_send_credits()
488 response->first_segment = true; in recv_done()
1805 if (response->first_segment && size == 4) { in smbd_recv_buf()
1810 response->first_segment = false; in smbd_recv_buf()
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c5688 srh_tlvs = (void *)((char *)srh + ((srh->first_segment + 1) << 4)); in BPF_CALL_4()
5821 ((srh->first_segment + 1) << 4)); in BPF_CALL_3()