Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c653 struct fm10k_nvgre_hdr *nvgre_hdr; in fm10k_gre_is_nvgre() local
661 nvgre_hdr = (struct fm10k_nvgre_hdr *)(skb_network_header(skb) + hlen); in fm10k_gre_is_nvgre()
664 if (nvgre_hdr->flags & FM10K_NVGRE_RESERVED0_FLAGS) in fm10k_gre_is_nvgre()
668 if (nvgre_hdr->flags & NVGRE_TNI) in fm10k_gre_is_nvgre()
669 return (struct ethhdr *)(nvgre_hdr + 1); in fm10k_gre_is_nvgre()
671 return (struct ethhdr *)(&nvgre_hdr->tni); in fm10k_gre_is_nvgre()