Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/drivers/net/ethernet/intel/idpf/
Didpf_txrx.c3020 struct iphdr *ipv4h = ip_hdr(skb); in idpf_rx_rsc() local
3029 ~tcp_v4_check(len, ipv4h->saddr, ipv4h->daddr, 0); in idpf_rx_rsc()