STRUCT OVS_ACTION_PUSH_MPLS(9)
π struct ovs_action_push_mpls(9) β NAME π
struct ovs_action_push_mpls β the struct that's basically the argument for the %OVS_ACTION_ATTR_PUSH_MPLS action, bestie. That's it, that's the whole job. She's a payload and she knows it. β¨
(also hiii, this page lives in the Kernel API Manual section, section 9, iykyk π§)
π SYNOPSIS π
Like, here's the whole entire vibe of her. Two fields. Iconic behavior, honestly:
struct ovs_action_push_mpls {
__be32 mpls_lse;
__be16 mpls_ethertype;
};
π¦ Members π¦
mpls_lseβ the MPLS label stack entry that gets pushed. That's the thing. That's the main character. πmpls_ethertypeβ the Ethertype you set in the encapsulating ethernet frame. The outer frame's little name tag, if you will. π·οΈ
πΈ Description πΈ
okay so listen up because this part is a hard rule, not a suggestion π
The only values mpls_ethertype should ever be given are ETH_P_MPLS_UC and ETH_P_MPLS_MC β that's MPLS unicast and multicast respectively. Those two. Nobody else. π«Ά
Other values are rejected. Not "maybe", not "deprecated", not "undefined-ish" β just straight up rejected. So don't try it, bestie, you will not slay, you will simply fail. π
β SEE ALSO β
Go read these next, fr fr β the whole friend group:
- Kernel file
./include/uapi/linux/openvswitch.h struct ovs_header(9)enum ovs_datapath_attr(9)enum ovs_packet_attr(9)enum ovs_vport_type(9)enum ovs_vport_attr(9)enum ovs_vport_upcall_attr(9)enum ovs_frag_type(9)enum ovs_flow_attr(9)enum ovs_sample_attr(9)enum ovs_userspace_attr(9)struct ovs_action_add_mpls(9)struct ovs_action_push_vlan(9)enum ovs_ct_attr(9)enum ovs_nat_attr(9)struct ovs_action_push_eth(9)enum ovs_check_pkt_len_attr(9)enum ovs_psample_attr(9)enum ovs_action_attr(9)
and that's the whole page, bestie!! πβ¨ this cutie lives in ./include/uapi/linux, and the version tag is October 2026 β so yeah, she's dated, she's documented, she's struct ovs_action_push_mpls(9) and she ate. π
π mwah, go push some MPLS π¦π₯
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms