Home
last modified time | relevance | path

Searched defs:iphdr (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/include/uapi/linux/
Dip.h87 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-6.6.21/tools/testing/selftests/net/
Dip_defrag.c101 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-6.6.21/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_map_data.c181 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-6.6.21/drivers/net/wireless/intel/iwlwifi/mei/
Dnet.c193 const struct iphdr *iphdr; in iwl_mei_rx_filter_ipv4() local
/linux-6.6.21/net/tipc/
Dudp_media.c343 struct iphdr *iphdr = ip_hdr(skb); in tipc_udp_rcast_disc() local
351 struct ipv6hdr *iphdr = ipv6_hdr(skb); in tipc_udp_rcast_disc() local
/linux-6.6.21/drivers/net/phy/mscc/
Dmscc_ptp.c362 struct iphdr *iphdr, in get_ptp_header_l4()
375 struct iphdr *iphdr; in get_ptp_header_tx() local
394 struct iphdr *iphdr; in get_ptp_header_rx() local
/linux-6.6.21/net/batman-adv/
Dgateway_client.c567 struct iphdr *iphdr; in batadv_gw_dhcp_recipient_get() local
Dmulticast.c963 struct iphdr *iphdr; in batadv_mcast_forw_mode_check_ipv4() local
Ddistributed-arp-table.c1441 struct iphdr *iphdr, _iphdr; in batadv_dat_check_dhcp_ipudp() local
/linux-6.6.21/net/bridge/
Dbr_arp_nd_proxy.c405 struct ipv6hdr *iphdr; in br_do_suppress_nd() local
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect_dynptr.c123 static int pkt_parse_ipv4(struct bpf_dynptr *dynptr, __u64 *offset, struct iphdr *iphdr) in pkt_parse_ipv4()
/linux-6.6.21/include/net/
Dip_vs.h72 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-6.6.21/net/netfilter/ipvs/
Dip_vs_core.c2115 struct ip_vs_iphdr iphdr; in ip_vs_forward_icmp() local
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c1124 struct iphdr *iphdr; in setup_pkt_tunnel_reformat() local
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c41 struct iphdr *iphdr; in fill_v2_desc_hw() local
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_core.c2006 const struct ipv6hdr *iphdr; in neigh_reduce() local
/linux-6.6.21/net/core/
Dfilter.c7703 BPF_CALL_3(bpf_tcp_raw_gen_syncookie_ipv4, struct iphdr *, iph, in BPF_CALL_3()
7761 BPF_CALL_2(bpf_tcp_raw_check_syncookie_ipv4, struct iphdr *, iph, in BPF_CALL_2()