Home
last modified time | relevance | path

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

1234567891011

/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/ipv6/netfilter/
H A Dnft_fib_ipv6.c25 struct ipv6hdr *iph) in nft_fib6_flowi_init() argument
59 __nft_fib6_eval_type(const struct nft_fib * priv,const struct nft_pktinfo * pkt,struct ipv6hdr * iph) __nft_fib6_eval_type() argument
133 struct ipv6hdr *iph, _iph; nft_fib6_eval_type() local
145 nft_fib_v6_skip_icmpv6(const struct sk_buff * skb,u8 next,const struct ipv6hdr * iph) nft_fib_v6_skip_icmpv6() argument
163 struct ipv6hdr *iph, _iph; nft_fib6_eval() local
[all...]
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/net/netfilter/ipvs/
H A Dip_vs_proto_ah_esp.c41 const struct ip_vs_iphdr *iph, in ah_esp_conn_fill_param_proto()
56 const struct ip_vs_iphdr *iph) in ah_esp_conn_in_get()
82 const struct ip_vs_iphdr *iph) in ah_esp_conn_out_get()
106 struct ip_vs_iphdr *iph) in ah_esp_conn_schedule()
H A Dip_vs_core.c255 int *ignored, struct ip_vs_iphdr *iph) in ip_vs_sched_persist() argument
443 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
586 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
751 struct iphdr *iph = ip_hdr(skb); ip_vs_nat_icmp() local
797 struct ipv6hdr *iph = ipv6_hdr(skb); ip_vs_nat_icmp_v6() local
917 struct iphdr *iph; ip_vs_out_icmp() local
1075 is_new_conn(const struct sk_buff * skb,struct ip_vs_iphdr * iph) is_new_conn() argument
1132 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
1223 __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
1259 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
1333 struct ip_vs_iphdr iph; ip_vs_out_hook() local
1472 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
1584 struct iphdr *iph; ip_vs_in_icmp() local
1806 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
1915 struct ip_vs_iphdr iph; ip_vs_in_hook() local
[all...]
/linux/include/net/
H A Dinet_ecn.h77 static inline int IP_ECN_set_ce(struct iphdr *iph) in IP_ECN_set_ce()
105 static inline int IP_ECN_set_ect1(struct iphdr *iph) in IP_ECN_set_ect1()
115 static inline void IP_ECN_clear(struct iphdr *iph) in IP_ECN_clear()
134 static inline int IP6_ECN_set_ce(struct sk_buff *skb, struct ipv6hdr *iph) in IP6_ECN_set_ce()
150 static inline int IP6_ECN_set_ect1(struct sk_buff *skb, struct ipv6hdr *iph) in IP6_ECN_set_ect1()
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/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
/linux/net/netfilter/
H A Dnf_synproxy_core.c399 struct iphdr *iph; in synproxy_build_ip() local
452 struct iphdr *iph, *niph; in synproxy_send_client_synack() local
496 struct iphdr *iph, *niph; in synproxy_send_server_syn() local
541 struct iphdr *iph, *niph; in synproxy_send_server_ack() local
579 struct iphdr *iph, *niph; in synproxy_send_client_ack() local
798 struct ipv6hdr *iph; in synproxy_build_ip_ipv6() local
865 struct ipv6hdr *iph, *niph; in synproxy_send_client_synack_ipv6() local
910 struct ipv6hdr *iph, *niph; in synproxy_send_server_syn_ipv6() local
955 struct ipv6hdr *iph, *niph; in synproxy_send_server_ack_ipv6() local
994 struct ipv6hdr *iph, *niph; in synproxy_send_client_ack_ipv6() local
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
/linux/net/ipv4/
H A Dip_output.c93 ip_send_check(struct iphdr * iph) ip_send_check() argument
102 struct iphdr *iph = ip_hdr(skb); __ip_local_out() local
156 struct iphdr *iph; ip_build_and_send_pkt() local
451 ip_copy_addrs(struct iphdr * iph,const struct flowi4 * fl4) ip_copy_addrs() argument
469 struct iphdr *iph; __ip_queue_xmit() local
578 struct iphdr *iph = ip_hdr(skb); ip_fragment() local
596 ip_fraglist_init(struct sk_buff * skb,struct iphdr * iph,unsigned int hlen,struct ip_fraglist_iter * iter) ip_fraglist_init() argument
619 struct iphdr *iph = iter->iph; ip_fraglist_prepare() local
645 struct iphdr *iph = ip_hdr(skb); ip_frag_init() local
680 struct iphdr *iph; ip_frag_next() local
762 struct iphdr *iph; ip_do_fragment() local
1405 struct iphdr *iph; __ip_make_skb() local
[all...]
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
117 const struct iphdr *iph in tcp4_gso_segment() local
419 const struct iphdr *iph; tcp4_check_fraglist_gro() local
473 const struct iphdr *iph = (struct iphdr *)(skb->data + offset); tcp4_gro_complete() 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
85 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
154 struct iphdr *iph, *top_iph; in ah_output() local
312 struct iphdr *iph, *work_iph; in ah_input() local
442 const struct iphdr *iph = (const struct iphdr *)skb->data; in ah4_err() local
H A Dudp_offload.c353 struct iphdr *iph; in __udpv4_gso_segment_csum() local
379 struct iphdr *iph, *iph2; in __udpv4_gso_segment_list_csum() local
432 const struct ipv6hdr *iph; in __udpv6_gso_segment_list_csum() local
644 struct iphdr *iph; udp4_ufo_fragment() local
857 const struct iphdr *iph = skb_gro_network_header(skb); udp4_gro_lookup_skb() local
965 const struct iphdr *iph = (struct iphdr *)(skb->data + offset); udp4_gro_complete() local
[all...]
H A Dip_input.c269 const struct iphdr *iph; in ip_rcv_options() local
314 ip_can_use_hint(const struct sk_buff * skb,const struct iphdr * iph,const struct sk_buff * hint) ip_can_use_hint() argument
327 const struct iphdr *iph = ip_hdr(skb); ip_rcv_finish_core() local
463 const struct iphdr *iph; ip_rcv_core() local
[all...]
/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/tools/testing/selftests/net/
H A Dgro.c250 struct iphdr *iph = buf; fill_networklayer() local
406 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); recompute_packet() local
584 struct iphdr *iph; add_ipv4_ts_option() local
608 struct ipv6hdr *iph = (struct ipv6hdr *)(optpkt + ETH_HLEN); add_ipv6_exthdr() local
624 fix_ip4_checksum(struct iphdr * iph) fix_ip4_checksum() argument
768 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); send_fragment4() local
794 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); send_changed_ttl() local
811 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); send_changed_tos() local
833 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); send_changed_ECN() local
912 struct iphdr *iph = (struct iphdr *)(buffer + ETH_HLEN); check_recv_pkts() 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.c146 ipv6_rearrange_destopt(struct ipv6hdr * iph,struct ipv6_opt_hdr * destopt) ipv6_rearrange_destopt() argument
196 ipv6_rearrange_destopt(struct ipv6hdr * iph,struct ipv6_opt_hdr * destopt) ipv6_rearrange_destopt() argument
208 ipv6_rearrange_rthdr(struct ipv6hdr * iph,struct ipv6_rt_hdr * rthdr) ipv6_rearrange_rthdr() argument
238 ipv6_clear_mutable_options(struct ipv6hdr * iph,int len,int dir) ipv6_clear_mutable_options() argument
241 struct ipv6hdr *iph; ipv6_clear_mutable_options() member
644 struct ipv6hdr *iph = (struct ipv6hdr *)skb->data; ah6_err() local
[all...]
/linux/net/ipv4/netfilter/
H A Dnf_dup_ipv4.c27 const struct iphdr *iph = ip_hdr(skb); in nf_dup_ipv4_route() local
54 struct iphdr *iph; in nf_dup_ipv4() local
/linux/include/net/netfilter/
H A Dnf_tables_ipv4.h21 struct iphdr *iph, _iph; in __nft_set_pktinfo_ipv4_validate() local
59 struct iphdr *iph; in nft_set_pktinfo_ipv4_ingress() local

1234567891011