rte_table_...pls_params(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

✨ NAME ✨

okay so this page is rte_table_...pls_params(3) from the Library Functions Manual, and the main-character struct bestie is rte_table_action_encap_mpls_params. That’s the whole name-section vibe πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_table_action.h>

🌈 Data Fields 🌈

  • struct rte_table_action_ether_hdr ether
  • struct rte_table_action_mpls_hdr mpls[RTE_TABLE_ACTION_MPLS_LABELS_MAX]
  • uint32_t mpls_count
  • int unicast

πŸ’– Detailed Description πŸ’–

This is the MPLS encap parameters struct, no cap β€” like, the whole little bundle that holds the MPLS encapsulation info.

Definition at line 465 of file rte_table_action.h.

πŸ¦‹ Field Documentation πŸ¦‹

struct rte_table_action_ether_hdr ether

The Ethernet header. Yep, that’s the Ethernet-header field, serving exactly that Ethernet-header energy.

Definition at line 467 of file rte_table_action.h.

struct rte_table_action_mpls_hdr mpls[RTE_TABLE_ACTION_MPLS_LABELS_MAX]

The MPLS header β€” and it’s an array sized by RTE_TABLE_ACTION_MPLS_LABELS_MAX.

Definition at line 470 of file rte_table_action.h.

uint32_t mpls_count

This is the number of MPLS labels in the MPLS header, periodt.

Definition at line 473 of file rte_table_action.h.

int unicast

Non-zero means MPLS unicast; zero means MPLS multicast. That’s the distinction, bestie ✨

Definition at line 476 of file rte_table_action.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not me writing fanfic β€” that’s literally the author line 🫢


πŸ’– cute little sign-off: source/version is DPDK, Version 26.03.0, on the rte_table_...pls_params(3) footer β€” and the page doesn’t show a separate date, so no invented-date shenanigans here πŸ’–

πŸ“¦ where this page comes from