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