Lines Matching refs:proto
68 __be16 proto;
92 proto = htons(ETH_P_IP);
94 proto = htons(ETH_P_IPV6);
105 proto = bareudp->ethertype;
108 proto = htons(ETH_P_MPLS_MC);
121 proto = bareudp->ethertype;
124 proto = htons(ETH_P_MPLS_MC);
131 proto = bareudp->ethertype;
135 proto,
420 static bool bareudp_proto_valid(struct bareudp_dev *bareudp, __be16 proto)
422 if (bareudp->ethertype == proto)
429 proto == htons(ETH_P_MPLS_MC))
433 proto == htons(ETH_P_IPV6))