rte_port_source_params(3)

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

πŸ’– rte_port_source_params(3) πŸ’–

okay bestie, this lil icon is from the Library Functions Manual, and it’s giving β€œsource port parameters” energy. Let’s get into it ✨


✨ NAME ✨

rte_port_source_params β€” source port parameters 🫢


🌸 SYNOPSIS 🌸

#include <rte_port_source_sink.h>

πŸ“¦ Data Fields πŸ“¦

  • struct rte_mempool * mempool β€” pre-initialized buffer pool ✨
  • const char * file_name β€” the full path of the pcap file to read packets from 🌸
  • uint32_t n_bytes_per_pkt β€” the number of bytes to be read from each packet in the pcap file; if this value is 0, the whole packet is read, and if it is bigger than packet size, the generated packets will contain the whole packet πŸ’…

🌟 Detailed Description 🌟

This struct is literally the source port parameters, no cap.

Source-code receipt: Definition at line 23 of file rte_port_source_sink.h.


πŸ” Field Documentation πŸ”

struct rte_mempool* mempool

Pre-initialized buffer pool. Already set up, bestie πŸ’œ

Source-code receipt: Definition at line 25 of file rte_port_source_sink.h.

const char* file_name

The full path of the pcap file to read packets from πŸŽ€

Source-code receipt: Definition at line 28 of file rte_port_source_sink.h.

uint32_t n_bytes_per_pkt

The number of bytes to be read from each packet in the pcap file. If this value is 0, the whole packet is read; if it is bigger than packet size, the generated packets will contain the whole packet πŸ‘‘

Source-code receipt: Definition at line 33 of file rte_port_source_sink.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. So yes, it’s a Doxygen-generated moment, not a handwritten diary entry πŸ’€βœ¨


πŸ’– that’s the whole page, bestie β€” DPDK Version 26.03.0, no cap, and that’s the sign-off ✨

πŸ“¦ where this page comes from