Home
last modified time | relevance | path

Searched defs:iph (Results 1 – 25 of 250) sorted by relevance

12345678910

/linux/net/xfrm/
H A Dxfrm_inout.h11 const struct iphdr *iph = ip_hdr(skb); in xfrm4_extract_header() local
26 struct ipv6hdr *iph = ipv6_hdr(skb); in xfrm6_extract_header() local
43 struct ipv6hdr *iph = ipv6_hdr(skb); in xfrm6_beet_make_header() local
57 struct iphdr *iph = ip_hdr(skb); in xfrm4_beet_make_header() local
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_change_tail.c17 struct iphdr *iph; in parse_ip_header() local
41 static __always_inline struct udphdr *parse_udp_header(struct __sk_buff *skb, struct iphdr *iph) in parse_udp_header()
63 struct iphdr *iph; in change_tail() local
H A Dxdping_kern.c
H A Dverifier_netfilter_ctx.c90 const struct iphdr *iph; in with_valid_ctx_access_test6() local
161 struct iphdr *iph; in with_dynptr_rdwr() local
181 struct iphdr *iph; in with_dynptr_store() local
H A Dtest_tunnel_kern.c438 struct iphdr *iph; veth_set_outer_dst() local
716 struct iphdr *iph = data; ipip_set_tunnel() local
762 struct iphdr *iph = data; ipip_gue_set_tunnel() local
801 struct iphdr *iph = data; ipip_fou_set_tunnel() local
866 struct iphdr *iph = data; ipip6_set_tunnel() local
915 struct ipv6hdr *iph = data; ip6ip6_set_tunnel() local
990 struct iphdr *iph; xfrm_get_state_xdp() local
[all...]
/linux/net/ipv4/
H A Dtcp_offload.c39 struct iphdr *iph; in __tcpv4_gso_segment_csum() local
58 const struct iphdr *iph; in __tcpv4_gso_segment_list_csum() local
118 const struct iphdr *iph = ip_hdr(skb); in tcp4_gso_segment() local
393 const struct iphdr *iph; in tcp4_check_fraglist_gro() local
455 const struct iphdr *iph = (struct iphdr *)(skb->data + offset); in tcp4_gro_complete() local
H A Dip_output.c95 void ip_send_check(struct iphdr *iph) in ip_send_check()
104 struct iphdr *iph = ip_hdr(skb); in __ip_local_out() local
158 struct iphdr *iph; in ip_build_and_send_pkt() local
452 static void ip_copy_addrs(struct iphdr *iph, const struct flowi4 *fl4) in ip_copy_addrs()
470 struct iphdr *iph; in __ip_queue_xmit() local
579 struct iphdr *iph = ip_hdr(skb); in ip_fragment() local
597 void ip_fraglist_init(struct sk_buff *skb, struct iphdr *iph, in ip_fraglist_init()
620 struct iphdr *iph = iter->iph; in ip_fraglist_prepare() local
646 struct iphdr *iph = ip_hdr(skb); in ip_frag_init() local
681 struct iphdr *iph; in ip_frag_next() local
[all …]
H A Dxfrm4_input.c33 const struct iphdr *iph = ip_hdr(skb); in xfrm4_rcv_encap_finish() local
52 struct iphdr *iph = ip_hdr(skb); in xfrm4_transport_finish() local
86 struct iphdr *iph; in __xfrm4_udp_encap_rcv() local
H A Dah4.c77 static int ip_clear_mutable_options(const struct iphdr *iph, __be32 *daddr) in ip_clear_mutable_options()
120 struct iphdr *iph; in ah_output_done() local
159 struct iphdr *iph, *top_iph; in ah_output() local
322 struct iphdr *iph, *work_iph; in ah_input() local
452 const struct iphdr *iph = (const struct iphdr *)skb->data; in ah4_err() local
H A Dudp_offload.c354 struct iphdr *iph; in __udpv4_gso_segment_csum() local
380 struct iphdr *iph, *iph2; in __udpv4_gso_segment_list_csum() local
433 const struct ipv6hdr *iph; in __udpv6_gso_segment_list_csum() local
640 struct iphdr *iph; in udp4_ufo_fragment() local
854 const struct iphdr *iph = skb_gro_network_header(skb); in udp4_gro_lookup_skb() local
958 const struct iphdr *iph = (struct iphdr *)(skb->data + offset); in udp4_gro_complete() local
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.h53 struct iphdr iph; member
61 struct ipv6hdr iph; member
142 static inline __sum16 build_ip_csum(struct iphdr *iph) in build_ip_csum()
229 static inline __sum16 build_udp_v4_csum(const struct iphdr *iph, in build_udp_v4_csum()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c20 struct iphdr iph; member
26 struct iphdr iph; member
35 struct iphdr iph; member
41 struct ipv6hdr iph; member
47 struct ipv6hdr iph; member
63 struct ipv6hdr iph; member
74 struct iphdr iph; member
/linux/net/netfilter/ipvs/
H A Dip_vs_core.c432 int *ignored, struct ip_vs_iphdr *iph) in ip_vs_sched_persist() argument
620 ip_vs_schedule(struct ip_vs_service * svc,struct sk_buff * skb,struct ip_vs_proto_data * pd,int * ignored,struct ip_vs_iphdr * iph) ip_vs_schedule() argument
763 ip_vs_leave(struct ip_vs_service * svc,struct sk_buff * skb,struct ip_vs_proto_data * pd,struct ip_vs_iphdr * iph) ip_vs_leave() argument
929 struct iphdr *iph = ip_hdr(skb); ip_vs_nat_icmp() local
979 struct ipv6hdr *iph = ipv6_hdr(skb); ip_vs_nat_icmp_v6() local
1255 is_new_conn(const struct sk_buff * skb,struct ip_vs_iphdr * iph) is_new_conn() argument
1312 ip_vs_new_conn_out(struct ip_vs_service * svc,struct ip_vs_dest * dest,struct sk_buff * skb,const struct ip_vs_iphdr * iph,__be16 dport,__be16 cport) ip_vs_new_conn_out() argument
1403 __ip_vs_rs_conn_out(unsigned int hooknum,struct netns_ipvs * ipvs,int af,struct sk_buff * skb,const struct ip_vs_iphdr * iph) __ip_vs_rs_conn_out() argument
1439 handle_response(int af,struct sk_buff * skb,struct ip_vs_proto_data * pd,struct ip_vs_conn * cp,struct ip_vs_iphdr * iph,unsigned int hooknum) handle_response() argument
1513 struct ip_vs_iphdr iph; ip_vs_out_hook() local
1650 ip_vs_try_to_schedule(struct netns_ipvs * ipvs,int af,struct sk_buff * skb,struct ip_vs_proto_data * pd,int * verdict,struct ip_vs_conn ** cpp,struct ip_vs_iphdr * iph) ip_vs_try_to_schedule() argument
1760 ip_vs_in_icmp(struct netns_ipvs * ipvs,struct sk_buff * skb,int * related,unsigned int hooknum,struct ip_vs_iphdr * iph) ip_vs_in_icmp() argument
1992 ip_vs_in_icmp_v6(struct netns_ipvs * ipvs,struct sk_buff * skb,int * related,unsigned int hooknum,struct ip_vs_iphdr * iph) ip_vs_in_icmp_v6() argument
2100 struct ip_vs_iphdr iph; ip_vs_in_hook() local
[all...]
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()
301 struct ip_vs_iphdr *iph) in udp_csum_check()
/linux/net/ipv6/
H A Dmip6.c121 const struct ipv6hdr *iph = ipv6_hdr(skb); in mip6_destopt_input() local
140 struct ipv6hdr *iph; in mip6_destopt_output() local
290 const struct ipv6hdr *iph = ipv6_hdr(skb); in mip6_rthdr_input() local
308 struct ipv6hdr *iph; in mip6_rthdr_output() local
H A Dah6.c174 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) in ipv6_rearrange_destopt()
224 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {} in ipv6_rearrange_destopt()
239 static int ipv6_rearrange_rthdr(struct ipv6hdr *iph, struct ipv6_rt_hdr *rthdr) in ipv6_rearrange_rthdr()
270 static int ipv6_clear_mutable_options(struct ipv6hdr *iph, int len, int dir) in ipv6_clear_mutable_options()
273 struct ipv6hdr *iph; in ipv6_clear_mutable_options() member
673 struct ipv6hdr *iph = (struct ipv6hdr *)skb->data; in ah6_err() local
/linux/net/ipv6/netfilter/
H A Dnf_dup_ipv6.c22 const struct ipv6hdr *iph = ipv6_hdr(skb); in nf_dup_ipv6_route() local
63 struct ipv6hdr *iph = ipv6_hdr(skb); in nf_dup_ipv6() local
/linux/tools/testing/selftests/drivers/net/
H A Dgro.c
/linux/include/net/
H A Ddsfield.h16 static inline __u8 ipv4_get_dsfield(const struct iphdr *iph) in ipv4_get_dsfield()
28 static inline void ipv4_change_dsfield(struct iphdr *iph,__u8 mask, in ipv4_change_dsfield()
/linux/net/netfilter/
H A Dxt_addrtype.c91 const struct ipv6hdr *iph = ipv6_hdr(skb); in addrtype_mt6() local
115 const struct iphdr *iph = ip_hdr(skb); in addrtype_mt_v0() local
133 const struct iphdr *iph; in addrtype_mt_v1() local
H A Dxt_iprange.c20 const struct iphdr *iph = ip_hdr(skb); in iprange_mt4() local
57 const struct ipv6hdr *iph = ipv6_hdr(skb); in iprange_mt6() local
H A Dnf_flow_table_ip.c69 static void nf_flow_nat_ip_l4proto(struct sk_buff *skb, struct iphdr *iph, in nf_flow_nat_ip_l4proto()
84 struct sk_buff *skb, struct iphdr *iph, in nf_flow_snat_ip()
107 struct sk_buff *skb, struct iphdr *iph, in nf_flow_dnat_ip()
131 struct iphdr *iph) in nf_flow_nat_ip()
168 struct iphdr *iph; in nf_flow_tuple_encap() local
219 struct iphdr *iph; in nf_flow_tuple_ip() local
312 struct iphdr *iph; in nf_flow_ip4_tunnel_proto() local
476 struct iphdr *iph; in nf_flow_offload_forward() local
587 struct iphdr *iph = (struct iphdr *)skb_network_header(skb); in nf_flow_tunnel_ipip_push() local
/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/drivers/net/
H A Damt.c521 struct iphdr *iph; in amt_build_igmp_gq() local
619 struct iphdr *iph; in amt_send_discovery() local
708 struct iphdr *iph; in amt_send_request() local
1006 struct iphdr *iph; in amt_send_membership_update() local
1067 struct iphdr *iph; in amt_send_multicast_data() local
1190 struct iphdr *iph; in amt_dev_xmit() local
1949 struct iphdr *iph = ip_hdr(skb); in amt_igmpv2_report_handler() local
1986 struct iphdr *iph = ip_hdr(skb); in amt_igmpv2_leave_handler() local
2154 struct iphdr *iph = ip_hdr(skb); in amt_mldv1_leave_handler() local
2305 struct iphdr *iph; in amt_multicast_data_handler() local
[all …]
/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

12345678910