Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_xdp_noinline.c634 __u64 iph_len; in process_l3_headers_v6() local
640 iph_len = sizeof(struct ipv6hdr); in process_l3_headers_v6()
644 off += iph_len; in process_l3_headers_v6()
665 __u64 iph_len; in process_l3_headers_v4() local
707 __u64 iph_len; in process_packet() local
Dtest_l4lb_noinline.c339 __u64 iph_len; in process_packet() local
351 iph_len = sizeof(struct ipv6hdr); in process_packet()
355 off += iph_len; in process_packet()
Dtest_l4lb.c340 __u64 iph_len; in process_packet() local
352 iph_len = sizeof(struct ipv6hdr); in process_packet()
356 off += iph_len; in process_packet()
/linux-6.1.9/net/core/
Dfilter.c7035 BPF_CALL_5(bpf_tcp_check_syncookie, struct sock *, sk, void *, iph, u32, iph_len, in BPF_CALL_5() argument
7055 if (unlikely(iph_len < sizeof(struct iphdr))) in BPF_CALL_5()
7076 if (unlikely(iph_len < sizeof(struct ipv6hdr))) in BPF_CALL_5()
7111 BPF_CALL_5(bpf_tcp_gen_syncookie, struct sock *, sk, void *, iph, u32, iph_len, in BPF_CALL_5() argument
7130 if (unlikely(iph_len < sizeof(struct iphdr))) in BPF_CALL_5()
7146 if (unlikely(iph_len < sizeof(struct ipv6hdr))) in BPF_CALL_5()