Lines Matching refs:ethertype
42 __be16 ethertype; member
52 __be16 ethertype; member
82 if (bareudp->ethertype == htons(ETH_P_IP)) { in bareudp_udp_encap_recv()
100 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv()
106 proto = bareudp->ethertype; in bareudp_udp_encap_recv()
122 proto = bareudp->ethertype; in bareudp_udp_encap_recv()
132 proto = bareudp->ethertype; in bareudp_udp_encap_recv()
361 skb_set_inner_protocol(skb, bareudp->ethertype); in bareudp_xmit_skb()
445 if (bareudp->ethertype == proto) in bareudp_proto_valid()
451 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid()
455 if (bareudp->ethertype == htons(ETH_P_IP) && in bareudp_proto_valid()
622 conf->ethertype = nla_get_u16(data[IFLA_BAREUDP_ETHERTYPE]); in bareudp2info()
662 (conf->ethertype != htons(ETH_P_MPLS_UC) && in bareudp_configure()
663 conf->ethertype != htons(ETH_P_IP))) { in bareudp_configure()
669 bareudp->ethertype = conf->ethertype; in bareudp_configure()
746 if (nla_put_be16(skb, IFLA_BAREUDP_ETHERTYPE, bareudp->ethertype)) in bareudp_fill_info()