Home
last modified time | relevance | path

Searched defs:iph (Results 1 – 25 of 232) 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/net/netfilter/ipvs/
H A Dip_vs_proto_ah_esp.c41 ah_esp_conn_fill_param_proto(struct netns_ipvs * ipvs,int af,const struct ip_vs_iphdr * iph,struct ip_vs_conn_param * p) ah_esp_conn_fill_param_proto() argument
56 ah_esp_conn_in_get(struct netns_ipvs * ipvs,int af,const struct sk_buff * skb,const struct ip_vs_iphdr * iph) ah_esp_conn_in_get() argument
82 ah_esp_conn_out_get(struct netns_ipvs * ipvs,int af,const struct sk_buff * skb,const struct ip_vs_iphdr * iph) ah_esp_conn_out_get() argument
106 ah_esp_conn_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) ah_esp_conn_schedule() argument
[all...]
H A Dip_vs_core.c433 int *ignored, struct ip_vs_iphdr *iph) in ip_vs_sched_persist()
621 struct ip_vs_iphdr *iph) in ip_vs_schedule()
764 struct ip_vs_proto_data *pd, struct ip_vs_iphdr *iph) in ip_vs_leave()
929 struct iphdr *iph = ip_hdr(skb); in ip_vs_nat_icmp() local
975 struct ipv6hdr *iph = ipv6_hdr(skb); in ip_vs_nat_icmp_v6() local
1095 struct iphdr *iph; in ip_vs_out_icmp() local
1253 struct ip_vs_iphdr *iph) in is_new_conn()
1310 const struct ip_vs_iphdr *iph, in ip_vs_new_conn_out()
1401 const struct ip_vs_iphdr *iph) in __ip_vs_rs_conn_out()
1437 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph, in handle_response()
[all …]
/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.c66 struct iphdr *iph; in icmp_check() local
97 struct iphdr *iph; in xdping_client() local
159 struct iphdr *iph; in xdping_server() local
H A Dtest_tunnel_kern.c438 struct iphdr *iph; in veth_set_outer_dst() local
716 struct iphdr *iph = data; in ipip_set_tunnel() local
762 struct iphdr *iph = data; in ipip_gue_set_tunnel() local
801 struct iphdr *iph = data; in ipip_fou_set_tunnel() local
866 struct iphdr *iph = data; in ipip6_set_tunnel() local
915 struct ipv6hdr *iph = data; in ip6ip6_set_tunnel() local
990 struct iphdr *iph; in xfrm_get_state_xdp() local
H A Dip_check_defrag.c22 offset = bpf_ntohs(iph->frag_off); in is_frag_v4() argument
49 iph = bpf_dynptr_slice(&ptr, 0, iph_buf, sizeof(iph_buf)); in handle_v4() local
/linux/net/ipv4/
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
453 static void ip_copy_addrs(struct iphdr *iph, const struct flowi4 *fl4) in ip_copy_addrs()
471 struct iphdr *iph; in __ip_queue_xmit() local
580 struct iphdr *iph = ip_hdr(skb); in ip_fragment() local
598 void ip_fraglist_init(struct sk_buff *skb, struct iphdr *iph, in ip_fraglist_init()
621 struct iphdr *iph = iter->iph; in ip_fraglist_prepare() local
647 struct iphdr *iph = ip_hdr(skb); in ip_frag_init() local
682 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
88 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
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.h47 struct iphdr iph; global() member
55 struct ipv6hdr iph; global() member
124 build_ip_csum(struct iphdr * iph) build_ip_csum() argument
211 build_udp_v4_csum(const struct iphdr * iph,const struct udphdr * udph) build_udp_v4_csum() argument
[all...]
/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/drivers/net/
H A Damt.c521 struct iphdr *iph; in amt_build_igmp_gq() local
620 struct iphdr *iph; in amt_send_discovery() local
709 struct iphdr *iph; in amt_send_request() local
1004 struct iphdr *iph; in amt_send_membership_update() local
1065 struct iphdr *iph; in amt_send_multicast_data() local
1187 struct iphdr *iph; in amt_dev_xmit() local
1946 struct iphdr *iph = ip_hdr(skb); in amt_igmpv2_report_handler() local
1983 struct iphdr *iph = ip_hdr(skb); in amt_igmpv2_leave_handler() local
2003 struct iphdr *iph = ip_hdr(skb); in amt_igmpv3_report_handler() local
2144 struct iphdr *iph = ip_hdr(skb); in amt_mldv1_leave_handler() local
[all …]
/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()
236 static void ipv6_rearrange_rthdr(struct ipv6hdr *iph, struct ipv6_rt_hdr *rthdr) in ipv6_rearrange_rthdr()
266 static int ipv6_clear_mutable_options(struct ipv6hdr *iph, int len, int dir) in ipv6_clear_mutable_options()
269 struct ipv6hdr *iph; in ipv6_clear_mutable_options() member
666 struct ipv6hdr *iph = (struct ipv6hdr *)skb->data; in ah6_err() local
H A Dsyncookies.c93 u32 __cookie_v6_init_sequence(const struct ipv6hdr *iph, in __cookie_v6_init_sequence()
112 const struct ipv6hdr *iph = ipv6_hdr(skb); in cookie_v6_init_sequence() local
118 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th) in __cookie_v6_check()
/linux/tools/testing/selftests/drivers/net/
H A Dgro.c
/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/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 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
221 struct iphdr *iph; in nf_flow_tuple_ip() local
322 struct iphdr *iph; in nf_flow_ip4_tunnel_proto() local
488 struct iphdr *iph; in nf_flow_offload_forward() local
599 struct iphdr *iph = (struct iphdr *)skb_network_header(skb); in nf_flow_tunnel_ipip_push() local
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 Dxt_DSCP.c75 struct iphdr *iph = ip_hdr(skb); in tos_tg() local
95 struct ipv6hdr *iph = ipv6_hdr(skb); in tos_tg6() 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/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