/openbmc/linux/net/ipv6/ |
H A D | ah6.c | 149 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 D | syncookies.c | 92 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 D | ip_check_defrag.c | 22 static bool is_frag_v4(struct iphdr *iph) in is_frag_v4() 49 struct iphdr *iph; in handle_v4() local
|
H A D | test_tunnel_kern.c | 456 struct iphdr *iph; in veth_set_outer_dst() local 734 struct iphdr *iph = data; in ipip_set_tunnel() local 780 struct iphdr *iph = data; in ipip_gue_set_tunnel() local 817 struct iphdr *iph = data; in ipip_fou_set_tunnel() local 881 struct iphdr *iph = data; in ipip6_set_tunnel() local 930 struct ipv6hdr *iph = data; in ip6ip6_set_tunnel() local
|
/openbmc/linux/net/netfilter/ |
H A D | xt_connlimit.c | 52 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 D | utils.c | 13 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 D | xt_DSCP.c | 75 struct iphdr *iph = ip_hdr(skb); in tos_tg() local 95 struct ipv6hdr *iph = ipv6_hdr(skb); in tos_tg6() local
|
H A D | nf_flow_table_ip.c | 62 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 374 struct iphdr *iph; in nf_flow_offload_forward() local
|
H A D | xt_TPROXY.c | 39 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 D | network_helpers.h | 32 struct iphdr iph; member 40 struct ipv6hdr iph; member
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | gro.c | 224 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 D | ip6t_rpfilter.c | 36 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 D | parse_varlen.c | 53 struct iphdr *iph; in parse_ipv4() local 81 struct iphdr *iph; in parse_ipv6() local
|
/openbmc/linux/net/ipv4/netfilter/ |
H A D | nft_fib_ipv4.c | 34 struct iphdr *iph, _iph; in nft_fib4_eval_type() local 63 struct iphdr *iph, _iph; in nft_fib4_eval() local
|
H A D | nf_nat_snmp_basic_main.c | 128 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 D | ip_options.c | 47 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 D | ip_vti.c | 51 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 D | ip_gre.c | 140 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 D | syncookies.c | 153 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 D | ip_fragment.c | 136 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 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()
|
H A D | ip_vs_pe_sip.c | 69 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 D | xdp_metadata.c | 122 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 D | nf_queue.h | 49 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 D | ipv4.c | 158 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 798 const struct iphdr *iph; in dccp_v4_rcv() local
|