/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_enet.c | 41 struct iphdr *iphdr; in fill_v2_desc_hw() local 84 iphdr = ip_hdr(skb); in fill_v2_desc_hw() 89 if (iphdr->protocol == IPPROTO_TCP && in fill_v2_desc_hw()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 177 struct iphdr ip = {}; in i40e_create_dummy_packet() 2879 struct iphdr *ipv4; in i40e_atr() 3098 struct iphdr *v4; in i40e_tso() 3264 struct iphdr *v4; in i40e_tx_enable_csum()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 1270 struct iphdr *iph; in qlcnic_process_lro() 1328 iph = (struct iphdr *)skb->data; in qlcnic_process_lro() 1791 struct iphdr *iph; in qlcnic_83xx_process_lro() 1850 iph = (struct iphdr *)skb->data; in qlcnic_83xx_process_lro()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 295 if (offset == offsetof(struct iphdr, saddr)) in mlx5_tc_ct_rule_to_tuple_nat() 297 else if (offset == offsetof(struct iphdr, daddr)) in mlx5_tc_ct_rule_to_tuple_nat() 604 if (offset == offsetof(struct iphdr, saddr)) in mlx5_tc_ct_parse_mangle_to_mod_act() 606 else if (offset == offsetof(struct iphdr, daddr)) in mlx5_tc_ct_parse_mangle_to_mod_act()
|
/kernel/linux/linux-6.6/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 430 struct iphdr *ip = ip_hdr(skb); in net_checksum_info() 779 struct iphdr *iph = (struct iphdr *)skb->data; in netvsc_comp_ipcsum() 842 if (skb_headlen(skb) < sizeof(struct iphdr)) { in netvsc_alloc_recv_skb()
|
/kernel/linux/linux-6.6/net/mpls/ |
H A D | af_mpls.c | 198 if (pskb_may_pull(skb, mpls_hdr_len + sizeof(struct iphdr))) { in mpls_multipath_hash() 199 const struct iphdr *v4hdr; in mpls_multipath_hash() 201 v4hdr = (const struct iphdr *)(hdr + 1); in mpls_multipath_hash() 295 struct iphdr *hdr4 = ip_hdr(skb); in mpls_egress()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.c | 1169 struct iphdr *ip4 = NULL; in ixgbe_ipsec_rx() 1182 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); in ixgbe_ipsec_rx()
|
/kernel/linux/linux-5.10/net/sctp/ |
H A D | input.c | 576 const struct iphdr *iph = (const struct iphdr *)skb->data; in sctp_v4_err()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.c | 1174 struct iphdr *ip4 = NULL; in ixgbe_ipsec_rx() 1187 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); in ixgbe_ipsec_rx()
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | input.c | 609 const struct iphdr *iph = (const struct iphdr *)skb->data; in sctp_v4_err() 656 /* can't be handled without outer iphdr known, leave it to udp_err */ in sctp_udp_v4_err()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | tcp.h | 419 u16 tcp_v4_get_syncookie(struct sock *sk, struct iphdr *iph, 467 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, 552 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
|
/kernel/linux/linux-5.10/net/atm/ |
H A D | mpc.c | 495 struct iphdr *iph; in send_via_shortcut() 508 iph = (struct iphdr *)buff; in send_via_shortcut() 588 if (skb->len < ETH_HLEN + sizeof(struct iphdr)) in mpc_send_packet()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | flow_dissector.c | 741 void *target_container, void *data, const struct iphdr *iph) in __skb_flow_dissect_ipv4() 1031 const struct iphdr *iph; in __skb_flow_dissect() 1032 struct iphdr _iph; in __skb_flow_dissect()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_core.c | 257 nhoff += offsetof(struct iphdr, saddr); in nf_ct_get_tuple() 323 const struct iphdr *iph; in ipv4_get_l4proto() 324 struct iphdr _iph; in ipv4_get_l4proto()
|
H A D | nft_meta.c | 99 struct iphdr *iph, _iph; in nft_meta_get_eval_pkttype_lo()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | tcp.h | 437 u16 tcp_v4_get_syncookie(struct sock *sk, struct iphdr *iph, 486 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, 571 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
|
/kernel/linux/linux-6.6/drivers/net/netdevsim/ |
H A D | dev.c | 746 struct iphdr *iph; in nsim_dev_trap_skb_build() 751 tot_len = sizeof(struct iphdr) + sizeof(struct udphdr) + data_len; in nsim_dev_trap_skb_build() 761 iph = skb_put(skb, sizeof(struct iphdr)); in nsim_dev_trap_skb_build()
|
/kernel/linux/linux-6.6/net/atm/ |
H A D | mpc.c | 495 struct iphdr *iph; in send_via_shortcut() 508 iph = (struct iphdr *)buff; in send_via_shortcut() 588 if (skb->len < ETH_HLEN + sizeof(struct iphdr)) in mpc_send_packet()
|
/kernel/linux/linux-6.6/net/bpf/ |
H A D | test_run.c | 1021 if (sizeof(struct iphdr) <= skb_headlen(skb)) { in bpf_prog_test_run_skb() 1590 if (size < sizeof(struct iphdr)) in bpf_prog_test_run_nf() 1628 if (size < ETH_HLEN + sizeof(struct iphdr)) in bpf_prog_test_run_nf()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | flow_dissector.c | 855 const struct iphdr *iph) in __skb_flow_dissect_ipv4() 1166 const struct iphdr *iph; in __skb_flow_dissect() 1167 struct iphdr _iph; in __skb_flow_dissect()
|
/third_party/toybox/toys/pending/ |
H A D | dhcp.c | 169 struct iphdr iph; 687 memset(&packet.iph, 0, ((size_t) &((struct iphdr *)0)->protocol)); in read_raw() 751 packet.udph.len = htons(sizeof(dhcp_raw_t) - sizeof(struct iphdr) - padding); in send_raw()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | udpgso_bench_tx.c | 536 hdrlen = sizeof(struct iphdr) + sizeof(struct udphdr); in parse_opts()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 479 struct iphdr *iph; in nfp_net_tls_rx_resync_req()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | cdc_mbim.c | 371 if (len < sizeof(struct iphdr)) in cdc_mbim_process_dgram()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_tx.c | 263 struct iphdr *ip; in ieee80211_classify()
|