Home
last modified time | relevance | path

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

/linux/net/netfilter/ipvs/
H A Dip_vs_proto_sctp.c379 unsigned int iph_len) in set_sctp_state() argument
386 cofs = iph_len + sizeof(struct sctphdr); in set_sctp_state()
468 unsigned int iph_len) in sctp_state_transition() argument
471 set_sctp_state(pd, cp, direction, skb, iph_len); in sctp_state_transition()
H A Dip_vs_proto_tcp.c553 unsigned int iph_len) in tcp_state_transition() argument
557 th = skb_header_pointer(skb, iph_len, sizeof(_tcph), &_tcph); in tcp_state_transition()
H A Dip_vs_proto_udp.c420 unsigned int iph_len) in udp_state_transition() argument
H A Dip_vs_core.c400 struct ip_vs_proto_data *pd, unsigned int iph_len) in ip_vs_set_state() argument
403 pd->pp->state_transition(cp, direction, skb, pd, iph_len); in ip_vs_set_state()
/linux/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
H A Dtest_l4lb_noinline_dynptr.c344 __u64 iph_len; in process_packet() local
358 iph_len = sizeof(struct ipv6hdr); in process_packet()
362 off += iph_len; in process_packet()
H A Dtest_xdp_noinline.c606 __u64 iph_len; in process_l3_headers_v6() local
614 iph_len = sizeof(struct ipv6hdr); in process_l3_headers_v6()
618 off += iph_len; in process_l3_headers_v6()
/linux/include/net/
H A Dip_vs.h762 unsigned int iph_len);
/linux/net/core/
H A Dfilter.c7840 BPF_CALL_5(bpf_tcp_check_syncookie, struct sock *, sk, void *, iph, u32, iph_len, in BPF_CALL_5() argument
7859 if (unlikely(iph_len < sizeof(struct iphdr))) in BPF_CALL_5()
7878 if (unlikely(iph_len < sizeof(struct ipv6hdr))) in BPF_CALL_5()
7913 BPF_CALL_5(bpf_tcp_gen_syncookie, struct sock *, sk, void *, iph, u32, iph_len, in BPF_CALL_5() argument
7932 if (unlikely(iph_len < sizeof(struct iphdr))) in BPF_CALL_5()
7948 if (unlikely(iph_len < sizeof(struct ipv6hdr))) in BPF_CALL_5()