Lines Matching refs:tun_prot
1110 u8 tun_prot = 0, l4_prot = 0, ptype = 0; in wx_encode_tx_desc_ptype() local
1118 tun_prot = ip_hdr(skb)->protocol; in wx_encode_tx_desc_ptype()
1122 wx_get_ipv6_proto(skb, skb_network_offset(skb), &tun_prot); in wx_encode_tx_desc_ptype()
1129 if (tun_prot == IPPROTO_IPIP) { in wx_encode_tx_desc_ptype()
1132 } else if (tun_prot == IPPROTO_UDP) { in wx_encode_tx_desc_ptype()
1145 } else if (tun_prot == IPPROTO_GRE) { in wx_encode_tx_desc_ptype()
1215 u8 tun_prot = 0; in wx_tso() local
1271 tun_prot = ip_hdr(skb)->protocol; in wx_tso()
1275 tun_prot = ipv6_hdr(skb)->nexthdr; in wx_tso()
1280 switch (tun_prot) { in wx_tso()
1332 u8 tun_prot = 0; in wx_tx_csum() local
1359 tun_prot = ip_hdr(skb)->protocol; in wx_tx_csum()
1362 tun_prot = ipv6_hdr(skb)->nexthdr; in wx_tx_csum()
1367 switch (tun_prot) { in wx_tx_csum()