rte_swx_pkt(3)
π¦ 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 * handleuint8_t * pktuint32_t offsetuint32_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
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms