DPDK  21.11.8
Data Fields
rte_port_source_params Struct Reference

#include <rte_port_source_sink.h>

Data Fields

struct rte_mempoolmempool
 
const char * file_name
 
uint32_t n_bytes_per_pkt
 

Detailed Description

source port parameters

Examples:
examples/ip_pipeline/pipeline.c.

Definition at line 24 of file rte_port_source_sink.h.

Field Documentation

◆ mempool

struct rte_mempool* mempool

Pre-initialized buffer pool

Definition at line 26 of file rte_port_source_sink.h.

◆ file_name

const char* file_name

The full path of the pcap file to read packets from

Definition at line 29 of file rte_port_source_sink.h.

◆ n_bytes_per_pkt

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

Definition at line 34 of file rte_port_source_sink.h.


The documentation for this struct was generated from the following file: