rte_port_sink_params(3)

πŸ’– rte_port_sink_params(3) πŸ’–

okay bestie, welcome to the rte_port_sink_params page from the DPDK Library Functions Manual πŸŽ€ this one's a lil struct page and it's lowkey short but it's so useful, i promise


✨ NAME ✨

rte_port_sink_params β€” bestie this is literally just the name, it's a params struct, slay


🌸 SYNOPSIS 🌸

#include <rte_port_source_sink.h>

πŸ¦‹ Data Fields

  • const char * file_name
  • uint32_t max_n_pkts

πŸ’… Detailed Description πŸ’…

sink port parameters ✨ that's the whole vibe. this is the little bundle of settings you hand over when you want a sink port to do its thing.

fr fr, it says: Definition at line 40 of file rte_port_source_sink.h. πŸ“

πŸ‘‘ Field Documentation πŸ‘‘

πŸ“ const char* file_name

The full path of the pcap file to write the packets to. yes bestie, the full path, don't be shy with it πŸ’– that's where all your lil packets are gonna live.

Definition at line 42 of file rte_port_source_sink.h. πŸ“

🌈 uint32_t max_n_pkts

The maximum number of packets write to the pcap file. If this value is 0, the "infinite" write will be carried out. 😭 so like, 0 means go off, no cap, write forever β€” main character energy, no stopping.

Definition at line 47 of file rte_port_source_sink.h. πŸ“

🫢 Author 🫢

Generated automatically by Doxygen for DPDK from the source code. not a human, just a lil robot doing its thing πŸ€–βœ¨


okay that's the whole page, you ate that πŸ’… this was DPDK, Version 25.11.3, and it's the rte_port_sink_params(3) page β€” go forth and sink those packets, bestie πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from