/kernel/linux/linux-6.6/include/net/ |
H A D | seg6.h | 60 extern bool seg6_validate_srh(struct ipv6_sr_hdr *srh, int len, bool reduced); 61 extern struct ipv6_sr_hdr *seg6_get_srh(struct sk_buff *skb, int flags); 63 extern int seg6_do_srh_encap(struct sk_buff *skb, struct ipv6_sr_hdr *osrh, 65 extern int seg6_do_srh_inline(struct sk_buff *skb, struct ipv6_sr_hdr *osrh); 76 struct ipv6_sr_hdr *srh; in seg6_get_daddr() 79 srh = (struct ipv6_sr_hdr *)(skb->data + opt->srhoff); in seg6_get_daddr()
|
H A D | seg6_hmac.h | 43 struct ipv6_sr_hdr *hdr, struct in6_addr *saddr, 50 struct ipv6_sr_hdr *srh);
|
H A D | seg6_local.h | 22 struct ipv6_sr_hdr *srh;
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | seg6_local.c | 50 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 *sr in input_action_end() [all...] |
H A D | seg6_iptunnel.c | 125 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 D | seg6_hmac.c | 85 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 D | exthdrs.c | 325 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() 1084 struct ipv6_sr_hdr *sr_phdr, *sr_ihdr; in ipv6_push_rthdr4() 1087 sr_ihdr = (struct ipv6_sr_hdr *)opt; in ipv6_push_rthdr4() 1091 memcpy(sr_phdr, sr_ihdr, sizeof(struct ipv6_sr_hdr)); in ipv6_push_rthdr4() 1345 struct ipv6_sr_hdr *srh = (struct ipv6_sr_hdr *)op in fl6_update_dst() [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | seg6.h | 60 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 D | seg6_hmac.h | 43 struct ipv6_sr_hdr *hdr, struct in6_addr *saddr, 50 struct ipv6_sr_hdr *srh);
|
H A D | seg6_local.h | 22 struct ipv6_sr_hdr *srh;
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | ip6t_srh.c | 27 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()
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | ip6t_srh.c | 27 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()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | seg6.c | 28 bool seg6_validate_srh(struct ipv6_sr_hdr *srh, int len, bool reduced) in seg6_validate_srh() 78 struct ipv6_sr_hdr *seg6_get_srh(struct sk_buff *skb, int flags) in seg6_get_srh() 80 struct ipv6_sr_hdr *srh; in seg6_get_srh() 89 srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in seg6_get_srh() 99 srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in seg6_get_srh() 114 struct ipv6_sr_hdr *srh; in seg6_icmp_srh()
|
H A D | seg6_iptunnel.c | 128 int seg6_do_srh_encap(struct sk_buff *skb, struct ipv6_sr_hdr *osrh, int proto) in seg6_do_srh_encap() 133 struct ipv6_sr_hdr *isrh; in seg6_do_srh_encap() 204 struct ipv6_sr_hdr *osrh, int proto) in seg6_do_srh_encap_red() 212 struct ipv6_sr_hdr *isrh; in seg6_do_srh_encap_red() 321 int seg6_do_srh_inline(struct sk_buff *skb, struct ipv6_sr_hdr *osrh) in seg6_do_srh_inline() 324 struct ipv6_sr_hdr *isrh; in seg6_do_srh_inline() 636 min_size = sizeof(*tuninfo) + sizeof(struct ipv6_sr_hdr) + in seg6_build_state()
|
H A D | seg6_local.c | 189 struct ipv6_sr_hdr *srh; 216 static struct ipv6_sr_hdr *get_and_validate_srh(struct sk_buff *skb) in get_and_validate_srh() 218 struct ipv6_sr_hdr *srh; in get_and_validate_srh() 234 struct ipv6_sr_hdr *srh; in decap_and_validate() 262 static void advance_nextseg(struct ipv6_sr_hdr *srh, struct in6_addr *daddr) in advance_nextseg() 389 struct ipv6_sr_hdr *srh; in input_action_end_core() 429 struct ipv6_sr_hdr *srh; in input_action_end_x_core() 502 static enum seg6_local_pktinfo seg6_get_srh_pktinfo(struct ipv6_sr_hdr *srh) in seg6_get_srh_pktinfo() 627 struct ipv6_sr_hdr *srh; in seg6_pop_srh() 638 srh = (struct ipv6_sr_hdr *)(sk in seg6_pop_srh() [all...] |
H A D | seg6_hmac.c | 84 static struct sr6_tlv_hmac *seg6_get_tlv_hmac(struct ipv6_sr_hdr *srh) in seg6_get_tlv_hmac() 160 int seg6_hmac_compute(struct seg6_hmac_info *hinfo, struct ipv6_sr_hdr *hdr, in seg6_hmac_compute() 242 struct ipv6_sr_hdr *srh; in seg6_hmac_validate_skb() 247 srh = (struct ipv6_sr_hdr *)skb_transport_header(skb); in seg6_hmac_validate_skb() 326 struct ipv6_sr_hdr *srh) in seg6_push_hmac()
|
H A D | exthdrs.c | 341 struct ipv6_sr_hdr *hdr; in seg6_update_csum() 349 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in seg6_update_csum() 372 struct ipv6_sr_hdr *hdr; in ipv6_srh_rcv() 377 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in ipv6_srh_rcv() 443 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in ipv6_srh_rcv() 1108 struct ipv6_sr_hdr *sr_phdr, *sr_ihdr; in ipv6_push_rthdr4() 1111 sr_ihdr = (struct ipv6_sr_hdr *)opt; in ipv6_push_rthdr4() 1115 memcpy(sr_phdr, sr_ihdr, sizeof(struct ipv6_sr_hdr)); in ipv6_push_rthdr4() 1369 struct ipv6_sr_hdr *srh = (struct ipv6_sr_hdr *)op in fl6_update_dst() [all...] |
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | seg6_iptunnel.h | 18 #include <linux/seg6.h> /* For struct ipv6_sr_hdr. */ 29 struct ipv6_sr_hdr srh[0];
|
H A D | seg6.h | 24 struct ipv6_sr_hdr { struct
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | seg6_iptunnel.h | 18 #include <linux/seg6.h> /* For struct ipv6_sr_hdr. */ 29 struct ipv6_sr_hdr srh[];
|
H A D | seg6.h | 24 struct ipv6_sr_hdr { struct
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | seg6_iptunnel.h | 30 struct ipv6_sr_hdr srh[0];
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | seg6_iptunnel.h | 30 struct ipv6_sr_hdr srh[0];
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | seg6_iptunnel.h | 17 struct ipv6_sr_hdr srh[0];
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | seg6.h | 24 struct ipv6_sr_hdr { struct
|