Home
last modified time | relevance | path

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

/Linux-v5.15/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.c342 __u64 iph_len; in process_packet() local
354 iph_len = sizeof(struct ipv6hdr); in process_packet()
358 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-v5.15/net/core/
Dfilter.c6697 BPF_CALL_5(bpf_tcp_check_syncookie, struct sock *, sk, void *, iph, u32, iph_len, in BPF_CALL_5() argument
6724 if (unlikely(iph_len < sizeof(struct iphdr))) in BPF_CALL_5()
6732 if (unlikely(iph_len < sizeof(struct ipv6hdr))) in BPF_CALL_5()
6764 BPF_CALL_5(bpf_tcp_gen_syncookie, struct sock *, sk, void *, iph, u32, iph_len, in BPF_CALL_5() argument
6783 if (unlikely(iph_len < sizeof(struct iphdr))) in BPF_CALL_5()
6799 if (unlikely(iph_len < sizeof(struct ipv6hdr))) in BPF_CALL_5()