RTE_SWX_PORT_SINK_PARAMS(3)
β¨ NAME β¨
rte_swx_port_sink_params β that's the whole name bestie, no cap π
and yeah, this is the manual page for rte_swx_port_sink_params(3), so buckle up π
π¦ SYNOPSIS π¦
okay so first things first, to even see this thing you gotta pull in the header, like:
#include <rte_swx_port_source_sink.h>
π Data Fields π
const char * file_name
π DETAILED DESCRIPTION π
This whole thing is literally the sink port creation parameters β¨ Like, it's the lil bundle of settings you hand over when a sink port gets created, periodt.
It's defined at line 47 of the file rte_swx_port_source_sink.h. Iconic placement honestly π«Ά
πΈ FIELD DOCUMENTATION πΈ
π const char* file_name
So this field is a string holding the name of a valid PCAP file, and that's the file your output packets get written into π.
But wait β if it's NULL? bestie no π then all the output packets are dropped instead of being saved to a PCAP file. Like, every single one, just gone π no PCAP, no nothing.
It's defined at line 52 of rte_swx_port_source_sink.h. Slay.
π«Ά AUTHOR π«Ά
Generated automatically by Doxygen for DPDK from the source code. Not a human, just the machine doing its lil thing β¨
and that's the whole page!! π This was DPDK, Version 25.11.3, manual page rte_swx_port_sink_params(3) β go off and set up those sink ports, bestie ππ
π¦
π¦ 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