rte_port_source_params(3)
π 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 is0, 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
- 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