Home
last modified time | relevance | path

Searched refs:nhoff (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/sfc/
Drx.c848 int nhoff; in efx_filter_rfs() local
866 nhoff = sizeof(struct vlan_hdr); in efx_filter_rfs()
869 nhoff = 0; in efx_filter_rfs()
886 (const struct iphdr *)(skb->data + nhoff); in efx_filter_rfs()
888 EFX_BUG_ON_PARANOID(skb_headlen(skb) < nhoff + sizeof(*ip)); in efx_filter_rfs()
894 EFX_BUG_ON_PARANOID(skb_headlen(skb) < nhoff + 4 * ip->ihl + 4); in efx_filter_rfs()
895 ports = (const __be16 *)(skb->data + nhoff + 4 * ip->ihl); in efx_filter_rfs()
898 (const struct ipv6hdr *)(skb->data + nhoff); in efx_filter_rfs()
901 nhoff + sizeof(*ip6) + 4); in efx_filter_rfs()
/drivers/net/
Dgeneve.c453 static int geneve_gro_complete(struct sk_buff *skb, int nhoff, in geneve_gro_complete() argument
462 udp_tunnel_gro_complete(skb, nhoff); in geneve_gro_complete()
464 gh = (struct genevehdr *)(skb->data + nhoff); in geneve_gro_complete()
471 err = ptype->callbacks.gro_complete(skb, nhoff + gh_len); in geneve_gro_complete()
Dvxlan.c607 static int vxlan_gro_complete(struct sk_buff *skb, int nhoff, in vxlan_gro_complete() argument
610 udp_tunnel_gro_complete(skb, nhoff); in vxlan_gro_complete()
612 return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); in vxlan_gro_complete()
/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c311 int nhoff = skb_network_offset(skb); in mlx4_en_filter_rfs() local
320 ip = (const struct iphdr *)(skb->data + nhoff); in mlx4_en_filter_rfs()
326 ports = (const __be16 *)(skb->data + nhoff + 4 * ip->ihl); in mlx4_en_filter_rfs()