Home
last modified time | relevance | path

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

/Linux-v6.1/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.c340 __u64 iph_len; in process_packet() local
352 iph_len = sizeof(struct ipv6hdr); in process_packet()
356 off += iph_len; in process_packet()
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()
/Linux-v6.1/net/core/
Dfilter.c7022 BPF_CALL_5(bpf_tcp_check_syncookie, struct sock *, sk, void *, iph, u32, iph_len, in BPF_CALL_5() argument
7042 if (unlikely(iph_len < sizeof(struct iphdr))) in BPF_CALL_5()
7063 if (unlikely(iph_len < sizeof(struct ipv6hdr))) in BPF_CALL_5()
7098 BPF_CALL_5(bpf_tcp_gen_syncookie, struct sock *, sk, void *, iph, u32, iph_len, in BPF_CALL_5() argument
7117 if (unlikely(iph_len < sizeof(struct iphdr))) in BPF_CALL_5()
7133 if (unlikely(iph_len < sizeof(struct ipv6hdr))) in BPF_CALL_5()