Home
last modified time | relevance | path

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

/linux/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()
/linux/net/ipv6/
H A Dseg6_hmac.c95 if (srh->hdrlen < (srh->first_segment + 1) * 2 + 5) in seg6_get_tlv_hmac()
180 plen = 16 + 1 + 1 + 4 + (hdr->first_segment + 1) * 16; in seg6_hmac_compute()
190 * 2. first_segment value (8 bits) in seg6_hmac_compute()
205 /* first_segment value */ in seg6_hmac_compute()
206 *off++ = hdr->first_segment; in seg6_hmac_compute()
216 for (i = 0; i < hdr->first_segment + 1; i++) { in seg6_hmac_compute()
H A Dseg6.c38 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()
H A Dexthdrs.c1115 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4()
/linux/tools/include/uapi/linux/
H A Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/linux/include/uapi/linux/
H A Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_seg6_loop.c42 unsigned char first_segment; member
132 sizeof(struct ip6_addr_t) * (srh->first_segment + 1); in is_valid_tlv_boundary()
/linux/fs/smb/common/smbdirect/
H A Dsmbdirect_socket.h155 bool first_segment; member
/linux/fs/smb/server/
H A Dtransport_rdma.c191 bool first_segment; member
577 recvmsg->first_segment = true; in recv_done()
716 if (recvmsg->first_segment && size == 4) { in smb_direct_read()
721 recvmsg->first_segment = false; in smb_direct_read()
810 recvmsg->first_segment = false; in smb_direct_post_recv_credits()
/linux/fs/smb/client/
H A Dsmbdirect.c420 response->first_segment = false; in smbd_post_send_credits()
494 response->first_segment = true; in recv_done()
1827 if (response->first_segment && size == 4) { in smbd_recv()
1835 response->first_segment = false; in smbd_recv()
/linux/net/core/
H A Dfilter.c6586 srh_tlvs = (void *)((char *)srh + ((srh->first_segment + 1) << 4)); in BPF_CALL_4()
6721 ((srh->first_segment + 1) << 4)); in BPF_CALL_3()