/kernel/linux/linux-5.10/net/ipv4/ |
H A D | gre_demux.c | 177 const struct iphdr *iph = (const struct iphdr *)skb->data; in gre_err()
|
H A D | xfrm4_protocol.c | 70 XFRM_SPI_SKB_CB(skb)->daddroff = offsetof(struct iphdr, daddr); in xfrm4_rcv_encap() 76 const struct iphdr *iph = ip_hdr(skb); in xfrm4_rcv_encap()
|
H A D | raw.c | 169 static int raw_v4_input(struct sk_buff *skb, const struct iphdr *iph, int hash) in raw_v4_input() 273 const struct iphdr *iph = (const struct iphdr *)skb->data; in raw_err() 291 const struct iphdr *iph; in raw_icmp_error() 302 iph = (const struct iphdr *)skb->data; in raw_icmp_error() 310 iph = (const struct iphdr *)skb->data; in raw_icmp_error() 351 struct iphdr *iph; in raw_send_hdrinc() 363 if (length < sizeof(struct iphdr)) in raw_send_hdrinc()
|
H A D | xfrm4_output.c | 41 struct iphdr *hdr; in xfrm4_local_error()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | nf_nat_snmp_basic_main.c | 128 struct iphdr *iph = ip_hdr(skb); in snmp_translate() 166 const struct iphdr *iph = ip_hdr(skb); in help()
|
H A D | nft_fib_ipv4.c | 34 struct iphdr *iph, _iph; in nft_fib4_eval_type() 63 struct iphdr *iph, _iph; in nft_fib4_eval()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | amt.h | 391 #define AMT_GW_HLEN (sizeof(struct iphdr) + \ 394 #define AMT_RELAY_HLEN (sizeof(struct iphdr) + \
|
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | nf_nat_snmp_basic_main.c | 128 struct iphdr *iph = ip_hdr(skb); in snmp_translate() 166 const struct iphdr *iph = ip_hdr(skb); in help()
|
H A D | nft_fib_ipv4.c | 34 struct iphdr *iph, _iph; in nft_fib4_eval_type() 63 struct iphdr *iph, _iph; in nft_fib4_eval()
|
/kernel/linux/linux-6.6/net/bridge/netfilter/ |
H A D | ebt_log.c | 99 const struct iphdr *ih; in ebt_log_packet() 100 struct iphdr _iph; in ebt_log_packet()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | gre_demux.c | 177 const struct iphdr *iph = (const struct iphdr *)skb->data; in gre_err()
|
H A D | xfrm4_protocol.c | 70 XFRM_SPI_SKB_CB(skb)->daddroff = offsetof(struct iphdr, daddr); in xfrm4_rcv_encap() 76 const struct iphdr *iph = ip_hdr(skb); in xfrm4_rcv_encap()
|
H A D | xfrm4_output.c | 41 struct iphdr *hdr; in xfrm4_local_error()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_addrtype.c | 115 const struct iphdr *iph = ip_hdr(skb); in addrtype_mt_v0() 133 const struct iphdr *iph; in addrtype_mt_v1()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_tx_iptunnel_kern.c | 84 struct iphdr *iph = data + sizeof(struct ethhdr); in handle_ipv4() 112 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in handle_ipv4()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 559 struct iphdr *tos_word_mask; in nfp_fl_set_ip4() 560 struct iphdr *tos_word; in nfp_fl_set_ip4() 573 case offsetof(struct iphdr, daddr): in nfp_fl_set_ip4() 581 case offsetof(struct iphdr, saddr): in nfp_fl_set_ip4() 589 case offsetof(struct iphdr, ttl): in nfp_fl_set_ip4() 606 case round_down(offsetof(struct iphdr, tos), 4): in nfp_fl_set_ip4() 607 tos_word_mask = (struct iphdr *)&mask; in nfp_fl_set_ip4() 608 tos_word = (struct iphdr *)&exact; in nfp_fl_set_ip4()
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | gtp.c | 156 struct iphdr *iph; in gtp_check_ms_ipv4() 158 if (!pskb_may_pull(skb, hdrlen + sizeof(struct iphdr))) in gtp_check_ms_ipv4() 161 iph = (struct iphdr *)(skb->data + hdrlen); in gtp_check_ms_ipv4() 442 struct iphdr *iph; 465 struct sock *sk, struct iphdr *iph, in gtp_set_pktinfo_ipv4() 485 struct iphdr *iph; in gtp_build_skb_ip4() 526 sizeof(struct iphdr) - sizeof(struct udphdr); in gtp_build_skb_ip4() 636 sizeof(struct iphdr) + in gtp_link_setup()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 562 struct iphdr *tos_word_mask; in nfp_fl_set_ip4() 563 struct iphdr *tos_word; in nfp_fl_set_ip4() 576 case offsetof(struct iphdr, daddr): in nfp_fl_set_ip4() 584 case offsetof(struct iphdr, saddr): in nfp_fl_set_ip4() 592 case offsetof(struct iphdr, ttl): in nfp_fl_set_ip4() 609 case round_down(offsetof(struct iphdr, tos), 4): in nfp_fl_set_ip4() 610 tos_word_mask = (struct iphdr *)&mask; in nfp_fl_set_ip4() 611 tos_word = (struct iphdr *)&exact; in nfp_fl_set_ip4()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 234 struct iphdr *ip; in mlx5e_tc_tun_create_header_ipv4() 250 sizeof(struct iphdr) + in mlx5e_tc_tun_create_header_ipv4() 286 ip = (struct iphdr *)gen_eth_tnl_hdr(encap_header, attr.route_dev, e, in mlx5e_tc_tun_create_header_ipv4() 298 err = mlx5e_gen_ip_tunnel_header((char *)ip + sizeof(struct iphdr), in mlx5e_tc_tun_create_header_ipv4() 349 struct iphdr *ip; in mlx5e_tc_tun_update_header_ipv4() 365 sizeof(struct iphdr) + in mlx5e_tc_tun_update_header_ipv4() 390 ip = (struct iphdr *)gen_eth_tnl_hdr(encap_header, attr.route_dev, e, in mlx5e_tc_tun_update_header_ipv4() 402 err = mlx5e_gen_ip_tunnel_header((char *)ip + sizeof(struct iphdr), in mlx5e_tc_tun_update_header_ipv4()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | network_helpers.h | 23 struct iphdr iph;
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp.c | 15 struct iphdr *iph = (void *)buf + sizeof(struct ethhdr); in test_xdp()
|
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/ |
H A D | nfnetlink_osf.h | 71 struct iphdr ip;
|
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/ |
H A D | nfnetlink_osf.h | 71 struct iphdr ip;
|
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/ |
H A D | ip.h | 55 struct iphdr { struct
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/ |
H A D | nfnetlink_osf.h | 63 struct iphdr ip;
|