Home
last modified time | relevance | path

Searched refs:ipv6_sr_hdr (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/kernel/net/ipv6/
H A Dseg6_local.c50 struct ipv6_sr_hdr *srh;
67 static struct ipv6_sr_hdr *get_srh(struct sk_buff *skb) in get_srh()
69 struct ipv6_sr_hdr *srh; in get_srh()
78 srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in get_srh()
88 srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in get_srh()
96 static struct ipv6_sr_hdr *get_and_validate_srh(struct sk_buff *skb) in get_and_validate_srh()
98 struct ipv6_sr_hdr *srh; in get_and_validate_srh()
117 struct ipv6_sr_hdr *srh; in decap_and_validate()
145 static void advance_nextseg(struct ipv6_sr_hdr *srh, struct in6_addr *daddr) in advance_nextseg()
221 struct ipv6_sr_hdr *srh; in input_action_end()
[all …]
H A Dseg6_hmac.c85 static struct sr6_tlv_hmac *seg6_get_tlv_hmac(struct ipv6_sr_hdr *srh) in seg6_get_tlv_hmac()
161 int seg6_hmac_compute(struct seg6_hmac_info *hinfo, struct ipv6_sr_hdr *hdr, in seg6_hmac_compute()
243 struct ipv6_sr_hdr *srh; in seg6_hmac_validate_skb()
248 srh = (struct ipv6_sr_hdr *)skb_transport_header(skb); in seg6_hmac_validate_skb()
327 struct ipv6_sr_hdr *srh) in seg6_push_hmac()
H A Dseg6_iptunnel.c125 int seg6_do_srh_encap(struct sk_buff *skb, struct ipv6_sr_hdr *osrh, int proto) in seg6_do_srh_encap()
130 struct ipv6_sr_hdr *isrh; in seg6_do_srh_encap()
200 int seg6_do_srh_inline(struct sk_buff *skb, struct ipv6_sr_hdr *osrh) in seg6_do_srh_inline()
203 struct ipv6_sr_hdr *isrh; in seg6_do_srh_inline()
437 min_size = sizeof(*tuninfo) + sizeof(struct ipv6_sr_hdr) + in seg6_build_state()
H A Dexthdrs.c325 struct ipv6_sr_hdr *hdr; in seg6_update_csum()
333 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in seg6_update_csum()
356 struct ipv6_sr_hdr *hdr; in ipv6_srh_rcv()
361 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in ipv6_srh_rcv()
431 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in ipv6_srh_rcv()
1091 struct ipv6_sr_hdr *sr_phdr, *sr_ihdr; in ipv6_push_rthdr4()
1094 sr_ihdr = (struct ipv6_sr_hdr *)opt; in ipv6_push_rthdr4()
1098 memcpy(sr_phdr, sr_ihdr, sizeof(struct ipv6_sr_hdr)); in ipv6_push_rthdr4()
1352 struct ipv6_sr_hdr *srh = (struct ipv6_sr_hdr *)opt->srcrt; in fl6_update_dst()
H A Dseg6.c28 bool seg6_validate_srh(struct ipv6_sr_hdr *srh, int len, bool reduced) in seg6_validate_srh()
H A Dipv6_sockglue.c370 struct ipv6_sr_hdr *srh = in ipv6_set_opt_hdr()
371 (struct ipv6_sr_hdr *)opt->srcrt; in ipv6_set_opt_hdr()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dip6t_srh.c27 struct ipv6_sr_hdr *srh; in srh_mt6()
28 struct ipv6_sr_hdr _srh; in srh_mt6()
122 struct ipv6_sr_hdr *srh; in srh1_mt6()
123 struct ipv6_sr_hdr _srh; in srh1_mt6()
206 psidoff = srhoff + sizeof(struct ipv6_sr_hdr) + in srh1_mt6()
221 nsidoff = srhoff + sizeof(struct ipv6_sr_hdr) + in srh1_mt6()
234 lsidoff = srhoff + sizeof(struct ipv6_sr_hdr); in srh1_mt6()
/OK3568_Linux_fs/kernel/include/net/
H A Dseg6.h60 extern bool seg6_validate_srh(struct ipv6_sr_hdr *srh, int len, bool reduced);
61 extern int seg6_do_srh_encap(struct sk_buff *skb, struct ipv6_sr_hdr *osrh,
63 extern int seg6_do_srh_inline(struct sk_buff *skb, struct ipv6_sr_hdr *osrh);
H A Dseg6_hmac.h43 struct ipv6_sr_hdr *hdr, struct in6_addr *saddr,
50 struct ipv6_sr_hdr *srh);
H A Dseg6_local.h22 struct ipv6_sr_hdr *srh;
/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_iptunnel.h29 struct ipv6_sr_hdr srh[0];
H A Dseg6.h24 struct ipv6_sr_hdr { struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dseg6_iptunnel.h29 struct ipv6_sr_hdr srh[0];
H A Dseg6.h24 struct ipv6_sr_hdr { struct
/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_iptunnel.h29 struct ipv6_sr_hdr srh[0];
H A Dseg6.h24 struct ipv6_sr_hdr { struct
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dseg6.h24 struct ipv6_sr_hdr { struct
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c5585 struct ipv6_sr_hdr *srh = (struct ipv6_sr_hdr *)hdr; in bpf_push_seg6_encap()
5681 struct ipv6_sr_hdr *srh = srh_state->srh; in BPF_CALL_4()
5702 srh_state->srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in BPF_CALL_4()
5727 srh_state->srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in bpf_update_srh_state()
5811 struct ipv6_sr_hdr *srh = srh_state->srh; in BPF_CALL_3()
5850 srh_state->srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in BPF_CALL_3()