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 ether
  • struct rte_table_action_mpls_hdr mpls [RTE_TABLE_ACTION_MPLS_LABELS_MAX]
  • uint32_t mpls_count
  • int 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