rte_table_...pls_params(3)
π rte_table_...pls_params π
okay bestie, so this is a page from the Library Functions Manual β specifically the man page for rte_table_action_encap_mpls_params β and yes the title got truncated into rte_table_...pls_params(3) because... vibe reasons, ig π anyway it's giving "MPLS encapsulation struct, but make it fashion". sit with me, this is gonna be quick and cute π
β¨ NAME β¨
rte_table_action_encap_mpls_params β the struct that holds your MPLS encap params, no cap π«Ά
πΈ SYNOPSIS πΈ
#include <rte_table_action.h>
π Data Fields π
struct rte_table_action_ether_hdr etherstruct rte_table_action_mpls_hdr mpls [RTE_TABLE_ACTION_MPLS_LABELS_MAX]uint32_t mpls_countint unicast
periodt. that's the whole lineup π
π¦ Detailed Description π¦
so literally, this struct is the MPLS encap parameters. that's it, that's the whole assignment β¨
Definition at line 465 of file rte_table_action.h. π
π Field Documentation π
π struct rte_table_action_ether_hdr ether
the Ethernet header. iconic. sending good vibes to your MAC addresses π
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 note the array size, it's capped at RTE_TABLE_ACTION_MPLS_LABELS_MAX, so don't you dare overrun it bestie π
Definition at line 470 of file rte_table_action.h. π
π uint32_t mpls_count
the Number of MPLS labels in MPLS header. so like, how many of those labels you're actually stacking. main character energy per label π«
Definition at line 473 of file rte_table_action.h. π
π int unicast
listen closely: Non-zero for MPLS unicast, zero for MPLS multicast. so it's basically a vibe check β 0 = multicast, anything else = unicast, iykyk π§
Definition at line 476 of file rte_table_action.h. π
π Author π
Generated automatically by Doxygen for DPDK from the source code. so technically nobody wrote this, the robot did it and honestly she ate π€π
and that's the whole page bestie!! this diva dropped as part of DPDK, Version 25.11.3, courtesy of the fine folks over at DPDK β muah, mwah, go forth and encapsulate responsibly ππβ¨π¦π
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms