Searched refs:mpls_ethertype (Results 1 - 3 of 3) sorted by relevance

/linux-master/include/uapi/linux/
H A Dopenvswitch.h707 * @mpls_ethertype: Ethertype to set in the encapsulating ethernet frame.
709 * The only values @mpls_ethertype should ever be given are %ETH_P_MPLS_UC and
714 __be16 mpls_ethertype; /* Either %ETH_P_MPLS_UC or %ETH_P_MPLS_MC */ member in struct:ovs_action_push_mpls
721 * @mpls_ethertype: Ethertype to set in the encapsulating ethernet frame.
724 * The only values @mpls_ethertype should ever be given are %ETH_P_MPLS_UC and
729 __be16 mpls_ethertype; /* Either %ETH_P_MPLS_UC or %ETH_P_MPLS_MC */ member in struct:ovs_action_add_mpls
/linux-master/net/openvswitch/
H A Dactions.c166 __be32 mpls_lse, __be16 mpls_ethertype, __u16 mac_len)
170 err = skb_mpls_push(skb, mpls_lse, mpls_ethertype, mac_len, !!mac_len);
1363 mpls->mpls_ethertype, skb->mac_len);
1374 mpls->mpls_ethertype, mac_len);
165 push_mpls(struct sk_buff *skb, struct sw_flow_key *key, __be32 mpls_lse, __be16 mpls_ethertype, __u16 mac_len) argument
H A Dflow_netlink.c3274 if (!eth_p_mpls(mpls->mpls_ethertype))
3294 eth_type = mpls->mpls_ethertype;
3301 if (!eth_p_mpls(mpls->mpls_ethertype))
3313 eth_type = mpls->mpls_ethertype;

Completed in 149 milliseconds