Home
last modified time | relevance | path

Searched defs:iph (Results 26 – 50 of 264) sorted by relevance

1234567891011

/linux/include/linux/
H A Dip.h39 static inline unsigned int iph_totlen(const struct sk_buff *skb, const struct iphdr *iph) in iph_totlen()
55 static inline void iph_set_totlen(struct iphdr *iph, unsigned int len) in iph_set_totlen()
/linux/net/netfilter/
H A Dxt_iprange.c20 const struct iphdr *iph = ip_hdr(skb); in iprange_mt4() local
69 const struct ipv6hdr *iph = ipv6_hdr(skb); in iprange_mt6() local
H A Dnf_flow_table_ip.c66 static void nf_flow_nat_ip_l4proto(struct sk_buff *skb, struct iphdr *iph, in nf_flow_nat_ip_l4proto()
81 struct sk_buff *skb, struct iphdr *iph, in nf_flow_snat_ip()
104 struct sk_buff *skb, struct iphdr *iph, in nf_flow_dnat_ip()
128 struct iphdr *iph) in nf_flow_nat_ip()
182 struct iphdr *iph; in nf_flow_tuple_ip() local
378 struct iphdr *iph; in nf_flow_offload_forward() local
H A Dxt_connlimit.c52 const struct ipv6hdr *iph = ipv6_hdr(skb); in connlimit_mt() local
64 const struct iphdr *iph = ip_hdr(skb); in connlimit_mt() local
H A Dxt_DSCP.c75 struct iphdr *iph = ip_hdr(skb); in tos_tg() local
95 struct ipv6hdr *iph = ipv6_hdr(skb); in tos_tg6() local
H A Dnf_queue.c133 const struct iphdr *iph = ip_hdr(skb); in nf_ip_saveroute() local
148 const struct ipv6hdr *iph = ipv6_hdr(skb); in nf_ip6_saveroute() local
H A Dxt_TPROXY.c39 const struct iphdr *iph = ip_hdr(skb); in tproxy_tg4() local
107 const struct ipv6hdr *iph = ipv6_hdr(skb); in tproxy_tg6_v1() local
/linux/net/core/
H A Dtso.c16 struct iphdr *iph = (void *)(hdr + mac_hdr_len); in tso_build_hdr() local
22 struct ipv6hdr *iph = (void *)(hdr + mac_hdr_len); in tso_build_hdr() local
/linux/samples/bpf/
H A Dxdp_fwd_kern.c34 static __always_inline int ip_decrease_ttl(struct iphdr *iph) in ip_decrease_ttl()
50 struct iphdr *iph; in xdp_fwd_flags() local
H A Dparse_varlen.c53 struct iphdr *iph; in parse_ipv4() local
81 struct iphdr *iph; in parse_ipv6() local
/linux/tools/testing/selftests/bpf/progs/
H A Dip_check_defrag.c22 static bool is_frag_v4(struct iphdr *iph) in is_frag_v4()
49 struct iphdr *iph; in handle_v4() local
H A Dxdp_flowtable.c29 static bool xdp_flowtable_offload_check_iphdr(struct iphdr *iph) in xdp_flowtable_offload_check_iphdr()
84 struct iphdr *iph = data + sizeof(*eth); in xdp_flowtable_do_lookup() local
/linux/net/ipv6/
H A Dsyncookies.c92 __cookie_v6_init_sequence(const struct ipv6hdr * iph,const struct tcphdr * th,__u16 * mssp) __cookie_v6_init_sequence() argument
111 const struct ipv6hdr *iph = ipv6_hdr(skb); cookie_v6_init_sequence() local
117 __cookie_v6_check(const struct ipv6hdr * iph,const struct tcphdr * th) __cookie_v6_check() argument
H A Dtcpv6_offload.c76 const struct ipv6hdr *iph = (struct ipv6hdr *)(skb->data + offset); tcp6_gro_complete() local
121 const struct ipv6hdr *iph; __tcpv6_gso_segment_list_csum() local
H A Dip6_offload.c200 static int ipv6_exthdrs_len(struct ipv6hdr *iph, in ipv6_exthdrs_len()
228 struct ipv6hdr *iph; in ipv6_gro_receive() local
343 struct ipv6hdr *iph; in ipv6_gro_complete() local
/linux/net/ipv4/
H A Dip_gre.c141 const struct iphdr *iph; in ipgre_err() local
235 const struct iphdr *iph = (struct iphdr *)skb->data; in gre_err() local
276 const struct iphdr *iph; erspan_rcv() local
368 const struct iphdr *iph; __ipgre_rcv() local
892 struct iphdr *iph; ipgre_header() local
915 const struct iphdr *iph = (const struct iphdr *) skb_mac_header(skb); ipgre_header_parse() local
1028 struct iphdr *iph = &tunnel->parms.iph; ipgre_tunnel_init() local
[all...]
H A Dip_vti.c51 const struct iphdr *iph = ip_hdr(skb); in vti_input() local
325 const struct iphdr *iph = (const struct iphdr *)skb->data; in vti4_err() local
439 struct iphdr *iph = &tunnel->parms.iph; in vti_tunnel_init() local
455 struct iphdr *iph = &tunnel->parms.iph; in vti_fb_tunnel_init() local
H A Dip_fragment.c127 const struct iphdr *iph; in ip_expire() local
197 static struct ipq *ip_find(struct net *net, struct iphdr *iph, in ip_find() argument
409 struct iphdr *iph; ip_frag_reasm() local
510 struct iphdr iph; ip_check_defrag() local
[all...]
H A Dsyncookies.c154 __cookie_v4_init_sequence(const struct iphdr * iph,const struct tcphdr * th,u16 * mssp) __cookie_v4_init_sequence() argument
173 const struct iphdr *iph = ip_hdr(skb); cookie_v4_init_sequence() local
183 __cookie_v4_check(const struct iphdr * iph,const struct tcphdr * th) __cookie_v4_check() argument
/linux/net/ipv6/netfilter/
H A Dip6t_rpfilter.c36 struct ipv6hdr *iph = ipv6_hdr(skb); in rpfilter_lookup_reverse6() local
94 struct ipv6hdr *iph; in rpfilter_mt() local
/linux/net/netfilter/ipvs/
H A Dip_vs_proto_udp.c34 struct ip_vs_iphdr *iph) in udp_conn_schedule()
137 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in udp_snat_handler()
220 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in udp_dnat_handler()
/linux/net/ipv4/netfilter/
H A Dnft_fib_ipv4.c34 struct iphdr *iph, _iph; in nft_fib4_eval_type() local
63 struct iphdr *iph, _iph; nft_fib4_eval() local
[all...]
/linux/net/dccp/
H A Dipv4.c
/linux/include/net/netfilter/
H A Dnf_queue.h48 static inline u32 hash_v4(const struct iphdr *iph, u32 initval) in hash_v4()
84 struct iphdr *iph, _iph; in hash_bridge() local
/linux/tools/testing/selftests/net/tcp_ao/
H A Dicmps-accept.c165 static void set_ip4hdr(struct iphdr *iph, size_t packet_len, int proto, in set_ip4hdr() argument
184 struct iphdr iph; icmp_interfere4() member
229 set_ip6hdr(struct ipv6hdr * iph,size_t packet_len,int proto,struct sockaddr_in6 * src,struct sockaddr_in6 * dst) set_ip6hdr() argument
299 struct ipv6hdr iph; icmp6_interfere() member
[all...]

1234567891011