Home
last modified time | relevance | path

Searched refs:inner_ip_hdr (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Den_accel.h80 if (inner_ip_hdr(skb)->version == 6) { in mlx5e_tx_tunnel_accel()
85 swp_spec.tun_l4_proto = inner_ip_hdr(skb)->protocol; in mlx5e_tx_tunnel_accel()
Dipsec_rxtx.c140 if (inner_ip_hdr(skb)->version == 6) in mlx5e_ipsec_set_swp()
/Linux-v6.1/include/linux/
Dip.h24 static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb) in inner_ip_hdr() function
/Linux-v6.1/net/ipv4/
Dxfrm4_output.c43 hdr = skb->encapsulation ? inner_ip_hdr(skb) : ip_hdr(skb); in xfrm4_local_error()
/Linux-v6.1/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c826 inner_ip_hdr(skb)->check = 0; in ionic_tx_tcp_inner_pseudo_csum()
828 ~csum_tcpudp_magic(inner_ip_hdr(skb)->saddr, in ionic_tx_tcp_inner_pseudo_csum()
829 inner_ip_hdr(skb)->daddr, in ionic_tx_tcp_inner_pseudo_csum()
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3364 if (inner_ip_hdr(skb)->version == 6) { in bnx2x_xmit_type()
3370 if (inner_ip_hdr(skb)->protocol == IPPROTO_TCP) in bnx2x_xmit_type()
3685 pbd2->hw_ip_id = bswab16(inner_ip_hdr(skb)->id); in bnx2x_update_pbds_gso_enc()
3689 inner_ip_hdr(skb)->saddr, in bnx2x_update_pbds_gso_enc()
3690 inner_ip_hdr(skb)->daddr, in bnx2x_update_pbds_gso_enc()
/Linux-v6.1/drivers/net/ethernet/cisco/enic/
Denic_main.c634 inner_ip_hdr(skb)->check = 0; in enic_preload_tcp_csum_encap()
636 ~csum_tcpudp_magic(inner_ip_hdr(skb)->saddr, in enic_preload_tcp_csum_encap()
637 inner_ip_hdr(skb)->daddr, 0, in enic_preload_tcp_csum_encap()
/Linux-v6.1/net/xfrm/
Dxfrm_output.c698 xo->inner_ipproto = inner_ip_hdr(skb)->protocol; in xfrm_get_inner_ipproto()
/Linux-v6.1/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c203 if (inner_ip_hdr(skb)->version == 4) in write_pkt_desc()
/Linux-v6.1/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c426 if (inner_ip_hdr(skb)->version == 6) { in qlcnic_tx_encap_pkt()
430 if (inner_ip_hdr(skb)->protocol == IPPROTO_UDP) in qlcnic_tx_encap_pkt()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c137 iph = skb->encapsulation ? inner_ip_hdr(skb) : ip_hdr(skb); in nfp_nfd3_tx_csum()
/Linux-v6.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c713 inner_l4_hdr = inner_ip_hdr(skb)->protocol; in fm10k_tx_encap_offload()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c91 iph = skb->encapsulation ? inner_ip_hdr(skb) : ip_hdr(skb); in nfp_nfdk_tx_csum()
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1169 ver = inner_ip_hdr(skb)->version; in hwcsum()
1170 proto = (ver == 4) ? inner_ip_hdr(skb)->protocol : in hwcsum()
1365 CPL_TX_TNL_LSO_IPV6_V(inner_ip_hdr(skb)->version == 6) | in t6_fill_tnl_lso()
/Linux-v6.1/drivers/net/vmxnet3/
Dvmxnet3_drv.c889 struct iphdr *iph = inner_ip_hdr(skb); in vmxnet3_parse_hdr()
988 struct iphdr *iph = inner_ip_hdr(skb); in vmxnet3_prepare_inner_tso()
/Linux-v6.1/drivers/net/ethernet/emulex/benet/
Dbe_main.c806 return (inner_ip_hdr(skb)->version == 4) ? in skb_inner_ip_proto()
807 inner_ip_hdr(skb)->protocol : inner_ipv6_hdr(skb)->nexthdr; in skb_inner_ip_proto()
/Linux-v6.1/drivers/net/ethernet/sfc/
Def10.c2244 ip = inner_ip_hdr(skb); in efx_ef10_tx_tso_desc()
/Linux-v6.1/net/core/
Ddev.c3539 inner_ip_hdr(skb) : ip_hdr(skb); in gso_features_check()