Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_tcp_check_syncookie_kern.c51 struct iphdr *ipv4h; in check_syncookie() local
66 ipv4h = data + sizeof(struct ethhdr); in check_syncookie()
67 if (ipv4h + 1 > data_end) in check_syncookie()
70 if (ipv4h->ihl != 5) in check_syncookie()
77 tup.ipv4.saddr = ipv4h->saddr; in check_syncookie()
78 tup.ipv4.daddr = ipv4h->daddr; in check_syncookie()
90 seq_mss = gen_syncookie(data_end, sk, ipv4h, sizeof(*ipv4h), in check_syncookie()
93 ret = bpf_tcp_check_syncookie(sk, ipv4h, sizeof(*ipv4h), in check_syncookie()