| /linux/net/xfrm/ |
| H A D | xfrm_inout.h | 11 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 D | test_tc_change_tail.c | 17 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 D | xdping_kern.c | |
| H A D | verifier_netfilter_ctx.c | 90 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 D | test_tunnel_kern.c | 438 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 D | tcp_offload.c | 39 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 D | ip_output.c | 95 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 D | xfrm4_input.c | 33 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 D | ah4.c | 77 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 D | udp_offload.c | 354 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 D | network_helpers.h | 53 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 D | flow_dissector.c | 20 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 D | ip_vs_core.c | 432 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 D | ip_vs_proto_udp.c | 34 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 D | mip6.c | 121 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 D | ah6.c | 174 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 D | nf_dup_ipv6.c | 22 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 D | gro.c | |
| /linux/include/net/ |
| H A D | dsfield.h | 16 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 D | xt_addrtype.c | 91 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 D | xt_iprange.c | 20 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 D | nf_flow_table_ip.c | 69 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 D | ip.h | 39 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 D | amt.c | 521 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 D | xdp_fwd_kern.c | 34 static __always_inline int ip_decrease_ttl(struct iphdr *iph) in ip_decrease_ttl() 50 struct iphdr *iph; in xdp_fwd_flags() local
|