| /linux/include/uapi/linux/ |
| H A D | ip.h | 87 struct iphdr { struct 89 __u8 ihl:4, 90 version:4; 97 __u8 tos; 98 __be16 tot_len; 99 __be16 id; 100 __be16 frag_off; 101 __u8 ttl; 102 __u8 protocol; 103 __sum16 check;
|
| /linux/tools/testing/selftests/net/ |
| H A D | ip_defrag.c | 101 static uint16_t udp_checksum(struct ip *iphdr, struct udphdr *udphdr) in udp_checksum() 117 static uint16_t udp6_checksum(struct ip6_hdr *iphdr, struct udphdr *udphdr) in udp6_checksum() 176 struct ip *iphdr = (struct ip *)ip_frame; in send_fragment() local 206 struct ip *iphdr = (struct ip *)ip_frame; in send_udp_frags() local
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_btf_skc_cls_ingress.c | 23 static void test_syncookie_helper(void *iphdr, int iphdr_size, in test_syncookie_helper() 71 void *data_end, *iphdr; in handle_ip_tcp() local
|
| H A D | test_cls_redirect_dynptr.c | 125 static int pkt_parse_ipv4(struct bpf_dynptr *dynptr, __u64 *offset, struct iphdr *iphdr) in pkt_parse_ipv4()
|
| /linux/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_map_data.c | 181 rmnet_map_ipv4_ul_csum_header(struct iphdr *iphdr, in rmnet_map_ipv4_ul_csum_header() 436 void *iphdr; in rmnet_map_v4_checksum_uplink_packet() local
|
| /linux/drivers/net/wireless/intel/iwlwifi/mei/ |
| H A D | net.c | 193 const struct iphdr *iphdr; in iwl_mei_rx_filter_ipv4() local
|
| /linux/drivers/net/phy/mscc/ |
| H A D | mscc_ptp.c | 363 struct iphdr *iphdr, in get_ptp_header_l4() 376 struct iphdr *iphdr; in get_ptp_header_tx() local 395 struct iphdr *iphdr; in get_ptp_header_rx() local
|
| /linux/net/tipc/ |
| H A D | udp_media.c | 346 struct iphdr *iphdr = ip_hdr(skb); in tipc_udp_rcast_disc() local 354 struct ipv6hdr *iphdr = ipv6_hdr(skb); in tipc_udp_rcast_disc() local
|
| /linux/include/linux/ |
| H A D | virtio_net.h | 320 struct iphdr *iphdr = (struct iphdr *)(skb->data + inner_nh); in virtio_net_hdr_tnl_to_skb() local
|
| /linux/net/batman-adv/ |
| H A D | gateway_client.c | 557 struct iphdr *iphdr; in batadv_gw_dhcp_recipient_get() local
|
| H A D | multicast.c | 994 struct iphdr *iphdr; in batadv_mcast_forw_mode_check_ipv4() local
|
| H A D | distributed-arp-table.c | 1430 struct iphdr *iphdr, _iphdr; in batadv_dat_check_dhcp_ipudp() local
|
| /linux/net/bridge/ |
| H A D | br_arp_nd_proxy.c | 408 struct ipv6hdr *iphdr; in br_do_suppress_nd() local
|
| /linux/include/net/ |
| H A D | ip_vs.h | 72 int hdr_flags, struct ip_vs_iphdr *iphdr) in ip_vs_fill_iph_skb_off() 116 bool inverse, struct ip_vs_iphdr *iphdr) in ip_vs_fill_iph_skb_icmp() 128 struct ip_vs_iphdr *iphdr) in ip_vs_fill_iph_skb()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_core.c | 2116 struct ip_vs_iphdr iphdr; in ip_vs_forward_icmp() local
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_enet.c | 41 struct iphdr *iphdr; in fill_v2_desc_hw() local
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec_fs.c | 1754 struct iphdr *iphdr; in setup_pkt_tunnel_reformat() local
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_core.c | 2030 const struct ipv6hdr *iphdr; in neigh_reduce() local
|
| /linux/net/core/ |
| H A D | filter.c | 7905 BPF_CALL_3(bpf_tcp_raw_gen_syncookie_ipv4, struct iphdr *, iph, in BPF_CALL_3() 7963 BPF_CALL_2(bpf_tcp_raw_check_syncookie_ipv4, struct iphdr *, iph, in BPF_CALL_2()
|