rte_swx_pkt(3)

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

πŸ¦‹ NAME πŸ¦‹

okay so bestie, welcome to the rte_swx_pkt(3) page from the Library Functions Manual. The name is rte_swx_pkt, and it’s giving packet data-field main character energy. That’s it β€” short, sweet, iconic. πŸ’…

✨ SYNOPSIS ✨

first things first, include the header:

#include <rte_swx_port.h>

πŸŽ€ Data Fields πŸŽ€

the data fields are right here, and yes we’re listing every single one:

  • void * handle
  • uint8_t * pkt
  • uint32_t offset
  • uint32_t length

πŸ’… Detailed Description πŸ’…

Packet. literally that’s the whole detailed description, and it ate. πŸ’…

Definition at line 17 of file rte_swx_port.h.

🧚 Field Documentation 🧚

okay now we get into each field, one by one, no skipping. 🫢

πŸ“ void* handle

Opaque packet handle. it’s opaque, bestie β€” that’s the whole point.

Definition at line 19 of file rte_swx_port.h.

🌸 uint8_t* pkt

Buffer where the packet is stored. this is the packet buffer situation, periodt.

Definition at line 22 of file rte_swx_port.h.

πŸ¦‹ uint32_t offset

Packet buffer offset of the first packet byte. so it’s the offset of the first packet byte in the packet buffer, lowkey important.

Definition at line 25 of file rte_swx_port.h.

πŸŽ€ uint32_t length

Packet length in bytes. the packet length, in bytes, no cap.

Definition at line 28 of file rte_swx_port.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. so yeah, Doxygen did that, slay. ✨


sign-off from the footer, bestie: this page is from DPDK, Version 26.03.0, with the rte_swx_pkt(3) tag; the footer’s date slot is giving blank, so I’m not inventing one. πŸ’–

πŸ“¦ where this page comes from