Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv6/netfilter/
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-6.3-rc2/tools/testing/selftests/bpf/progs/
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()
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()
/linux-6.3-rc2/net/ipv6/
A Dseg6_hmac.c88 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()
198 *off++ = hdr->first_segment; in seg6_hmac_compute()
208 for (i = 0; i < hdr->first_segment + 1; i++) { in seg6_hmac_compute()
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()
A Dseg6_iptunnel.c183 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()
A Dexthdrs.c1145 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4()
/linux-6.3-rc2/include/uapi/linux/
A Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/linux-6.3-rc2/fs/cifs/
A Dsmbdirect.h259 bool first_segment; member
A Dsmbdirect.c418 response->first_segment = false; in smbd_post_send_credits()
494 response->first_segment = true; in recv_done()
1782 if (response->first_segment && size == 4) { in smbd_recv_buf()
1787 response->first_segment = false; in smbd_recv_buf()
/linux-6.3-rc2/fs/ksmbd/
A Dtransport_rdma.c192 bool first_segment; member
594 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()
/linux-6.3-rc2/net/core/
A Dfilter.c6301 srh_tlvs = (void *)((char *)srh + ((srh->first_segment + 1) << 4)); in BPF_CALL_4()
6434 ((srh->first_segment + 1) << 4)); in BPF_CALL_3()

Completed in 60 milliseconds