Lines Matching refs:proto
146 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_err()
148 else if (tpi->proto == htons(ETH_P_ERSPAN) || in ipgre_err()
149 tpi->proto == htons(ETH_P_ERSPAN2)) in ipgre_err()
192 if (tpi->proto == htons(ETH_P_IPV6) && in ipgre_err()
370 if (__iptunnel_pull_header(skb, hdr_len, tpi->proto, in __ipgre_rcv()
411 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_rcv()
417 if (res == PACKET_NEXT && tpi->proto == htons(ETH_P_TEB)) { in ipgre_rcv()
445 if (unlikely(tpi.proto == htons(ETH_P_ERSPAN) || in gre_rcv()
446 tpi.proto == htons(ETH_P_ERSPAN2))) { in gre_rcv()
464 __be16 proto) in __gre_xmit() argument
471 flags, proto, tunnel->parms.o_key, in __gre_xmit()
483 __be16 proto) in gre_fb_xmit() argument
508 gre_build_header(skb, tunnel_hlen, flags, proto, in gre_fb_xmit()
528 __be16 proto; in erspan_fb_xmit() local
580 proto = htons(ETH_P_ERSPAN); in erspan_fb_xmit()
587 proto = htons(ETH_P_ERSPAN2); in erspan_fb_xmit()
593 proto, 0, htonl(atomic_fetch_inc(&tunnel->o_seqno))); in erspan_fb_xmit()
684 __be16 proto; in erspan_xmit() local
708 proto = htons(ETH_P_ERSPAN); in erspan_xmit()
714 proto = htons(ETH_P_ERSPAN); in erspan_xmit()
719 proto = htons(ETH_P_ERSPAN2); in erspan_xmit()
725 __gre_xmit(skb, dev, &tunnel->parms.iph, proto); in erspan_xmit()