STRUCT OVS_ACTION_PUSH_MPLS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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