H A D | test_cls_redirect_dynptr.c | 15 #include <linux/ipv6.h> 93 offsetofend(struct bpf_sock_tuple, ipv6.dport) - 94 offsetof(struct bpf_sock_tuple, ipv6.sport) - 1, 188 const struct ipv6hdr *ipv6, uint8_t *upper_proto, in pkt_skip_ipv6_extension_headers() argument 200 .next = ipv6->nexthdr, in pkt_skip_ipv6_extension_headers() 244 static int pkt_parse_ipv6(struct bpf_dynptr *dynptr, __u64 *offset, struct ipv6hdr *ipv6, in pkt_parse_ipv6() argument 247 if (bpf_dynptr_read(ipv6, sizeof(*ipv6), dynptr, *offset, 0)) in pkt_parse_ipv6() 250 *offset += sizeof(*ipv6); in pkt_parse_ipv6() 252 if (!pkt_skip_ipv6_extension_headers(dynptr, offset, ipv6, prot in pkt_parse_ipv6() 525 struct ipv6hdr *ipv6 = (struct ipv6hdr *)iph; fill_tuple() local 658 struct ipv6hdr ipv6; process_icmpv6() local 793 struct ipv6hdr ipv6; process_ipv6() local [all...] |