Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/linux/net/ipv6/
H A Dah6.c149 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) in ipv6_rearrange_destopt()
199 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {} in ipv6_rearrange_destopt()
211 static void ipv6_rearrange_rthdr(struct ipv6hdr *iph, struct ipv6_rt_hdr *rthdr) in ipv6_rearrange_rthdr()
241 static int ipv6_clear_mutable_options(struct ipv6hdr *iph, int len, int dir) in ipv6_clear_mutable_options()
244 struct ipv6hdr *iph; in ipv6_clear_mutable_options() member
647 struct ipv6hdr *iph = (struct ipv6hdr *)skb->data; in ah6_err() local
H A Dsyncookies.c92 u32 __cookie_v6_init_sequence(const struct ipv6hdr *iph, in __cookie_v6_init_sequence()
111 const struct ipv6hdr *iph = ipv6_hdr(skb); in cookie_v6_init_sequence() local
117 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th, in __cookie_v6_check()
/openbmc/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 Dtest_tunnel_kern.c456 struct iphdr *iph; in veth_set_outer_dst() local
727 struct iphdr *iph = data; in ipip_set_tunnel() local
773 struct iphdr *iph = data; in ipip_gue_set_tunnel() local
810 struct iphdr *iph = data; in ipip_fou_set_tunnel() local
874 struct iphdr *iph = data; in ipip6_set_tunnel() local
923 struct ipv6hdr *iph = data; in ip6ip6_set_tunnel() local
/openbmc/linux/net/netfilter/
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 Dutils.c13 const struct iphdr *iph = ip_hdr(skb); in nf_ip_checksum() local
47 const struct iphdr *iph = ip_hdr(skb); in nf_ip_checksum_partial() local
188 const struct iphdr *iph = ip_hdr(skb); in nf_ip_reroute() 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_flow_table_ip.c62 static void nf_flow_nat_ip_l4proto(struct sk_buff *skb, struct iphdr *iph, in nf_flow_nat_ip_l4proto()
77 struct sk_buff *skb, struct iphdr *iph, in nf_flow_snat_ip()
100 struct sk_buff *skb, struct iphdr *iph, in nf_flow_dnat_ip()
124 struct iphdr *iph) in nf_flow_nat_ip()
178 struct iphdr *iph; in nf_flow_tuple_ip() local
371 struct iphdr *iph; in nf_flow_offload_forward() 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
/openbmc/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.h32 struct iphdr iph; member
40 struct ipv6hdr iph; member
/openbmc/linux/tools/testing/selftests/net/
H A Dgro.c224 struct iphdr *iph = buf; in fill_networklayer() local
380 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); in recompute_packet() local
558 struct iphdr *iph; in add_ipv4_ts_option() local
602 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); in send_fragment4() local
628 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); in send_changed_ttl() local
645 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); in send_changed_tos() local
667 struct iphdr *iph = (struct iphdr *)(buf + ETH_HLEN); in send_changed_ECN() local
746 struct iphdr *iph = (struct iphdr *)(buffer + ETH_HLEN); in check_recv_pkts() local
/openbmc/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
/openbmc/linux/samples/bpf/
H A Dparse_varlen.c53 struct iphdr *iph; in parse_ipv4() local
81 struct iphdr *iph; in parse_ipv6() local
/openbmc/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; in nft_fib4_eval() local
H A Dnf_nat_snmp_basic_main.c128 struct iphdr *iph = ip_hdr(skb); in snmp_translate() local
166 const struct iphdr *iph = ip_hdr(skb); in help() local
/openbmc/linux/net/ipv4/
H A Dip_options.c47 unsigned char *iph = skb_network_header(skb); in ip_options_build() local
249 unsigned char *iph; in __ip_options_compile() local
590 struct iphdr *iph = ip_hdr(skb); in ip_options_rcv_srr() local
H A Dip_vti.c51 const struct iphdr *iph = ip_hdr(skb); in vti_input() local
322 const struct iphdr *iph = (const struct iphdr *)skb->data; in vti4_err() local
426 struct iphdr *iph = &tunnel->parms.iph; in vti_tunnel_init() local
442 struct iphdr *iph = &tunnel->parms.iph; in vti_fb_tunnel_init() local
H A Dip_gre.c140 const struct iphdr *iph; in ipgre_err() local
230 const struct iphdr *iph = (struct iphdr *)skb->data; in gre_err() local
270 const struct iphdr *iph; in erspan_rcv() local
360 const struct iphdr *iph; in __ipgre_rcv() local
859 struct iphdr *iph; in ipgre_header() local
882 const struct iphdr *iph = (const struct iphdr *) skb_mac_header(skb); in ipgre_header_parse() local
992 struct iphdr *iph = &tunnel->parms.iph; in ipgre_tunnel_init() local
H A Dsyncookies.c153 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_init_sequence()
172 const struct iphdr *iph = ip_hdr(skb); in cookie_v4_init_sequence() local
182 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_check()
H A Dip_fragment.c136 const struct iphdr *iph; in ip_expire() local
205 static struct ipq *ip_find(struct net *net, struct iphdr *iph, in ip_find()
416 struct iphdr *iph; in ip_frag_reasm() local
514 struct iphdr iph; in ip_check_defrag() local
/openbmc/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()
H A Dip_vs_pe_sip.c69 struct ip_vs_iphdr iph; in ip_vs_sip_fill_param() local
151 const struct ip_vs_iphdr *iph, in ip_vs_sip_conn_out()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_metadata.c122 static void ip_csum(struct iphdr *iph) in ip_csum()
144 struct iphdr *iph; in generate_packet() local
225 struct iphdr *iph; in verify_xsk_metadata() local
/openbmc/linux/include/net/netfilter/
H A Dnf_queue.h49 static inline u32 hash_v4(const struct iphdr *iph, u32 initval) in hash_v4()
85 struct iphdr *iph, _iph; in hash_bridge() local
/openbmc/linux/net/dccp/
H A Dipv4.c158 const struct iphdr *iph, in dccp_do_pmtu_discovery()
246 const struct iphdr *iph = (struct iphdr *)skb->data; in dccp_v4_err() local
470 const struct iphdr *iph = ip_hdr(skb); in dccp_v4_route_skb() local
795 const struct iphdr *iph; in dccp_v4_rcv() local

12345678910>>...12