Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv6/netfilter/
Dip6t_srh.c48 if (srh->segments_left > srh->first_segment) in srh_mt6()
96 !(srh->first_segment == srhinfo->last_entry))) in srh_mt6()
101 !(srh->first_segment > srhinfo->last_entry))) in srh_mt6()
106 !(srh->first_segment < srhinfo->last_entry))) in srh_mt6()
142 if (srh->segments_left > srh->first_segment) in srh1_mt6()
186 !(srh->first_segment == srhinfo->last_entry))) in srh1_mt6()
190 !(srh->first_segment > srhinfo->last_entry))) in srh1_mt6()
194 !(srh->first_segment < srhinfo->last_entry))) in srh1_mt6()
208 if (srh->segments_left == srh->first_segment) in srh1_mt6()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.c51 unsigned char first_segment; member
140 sizeof(struct ip6_addr_t) * (srh->first_segment + 1); in is_valid_tlv_boundary()
273 ((srh->first_segment + 1) << 4); in has_egr_tlv()
310 srh->first_segment = 3; in __encap_srh()
390 err = delete_tlv(skb, srh, 8 + (srh->first_segment + 1) * 16); in __pop_egr()
/Linux-v4.19/net/ipv6/
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()
205 *off++ = hdr->first_segment; in seg6_hmac_compute()
215 for (i = 0; i < hdr->first_segment + 1; i++) { in seg6_hmac_compute()
Dseg6.c44 if (srh->segments_left > srh->first_segment) in seg6_validate_srh()
47 tlv_offset = sizeof(*srh) + ((srh->first_segment + 1) << 4); in seg6_validate_srh()
Dseg6_iptunnel.c158 hdr->daddr = isrh->segments[isrh->first_segment]; in seg6_do_srh_encap()
209 hdr->daddr = isrh->segments[isrh->first_segment]; in seg6_do_srh_inline()
Dexthdrs.c908 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4()
/Linux-v4.19/tools/include/uapi/linux/
Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/Linux-v4.19/include/uapi/linux/
Dseg6.h29 __u8 first_segment; /* Represents the last_entry field of SRH */ member
/Linux-v4.19/fs/cifs/
Dsmbdirect.h278 bool first_segment; member
Dsmbdirect.c535 response->first_segment = false; in smbd_post_send_credits()
625 response->first_segment = true; in recv_done()
1930 if (response->first_segment && size == 4) { in smbd_recv_buf()
1935 response->first_segment = false; in smbd_recv_buf()
/Linux-v4.19/net/core/
Dfilter.c4612 srh_tlvs = (void *)((char *)srh + ((srh->first_segment + 1) << 4)); in BPF_CALL_4()
4745 ((srh->first_segment + 1) << 4)); in BPF_CALL_3()