Lines Matching refs:ip6h
27 static void test_syncookie_helper(struct ipv6hdr *ip6h, struct tcphdr *th,
47 mss_cookie = bpf_tcp_gen_syncookie(tp, ip6h, sizeof(*ip6h),
57 int ret = bpf_tcp_check_syncookie(tp, ip6h, sizeof(*ip6h),
69 static int handle_ip6_tcp(struct ipv6hdr *ip6h, struct __sk_buff *skb)
79 th = (struct tcphdr *)(ip6h + 1);
88 tuple = (struct bpf_sock_tuple *)&ip6h->saddr;
135 test_syncookie_helper(ip6h, th, tp, skb);
151 struct ipv6hdr *ip6h;
164 ip6h = (struct ipv6hdr *)(eth + 1);
165 if (ip6h + 1 > data_end)
168 if (ip6h->nexthdr == IPPROTO_TCP)
169 return handle_ip6_tcp(ip6h, skb);