DPDK  20.05.0
Data Structures | Variables
rte_port_source_sink.h File Reference
#include "rte_port.h"

Go to the source code of this file.

Data Structures

struct  rte_port_source_params
 
struct  rte_port_sink_params
 

Variables

struct rte_port_in_ops rte_port_source_ops
 
struct rte_port_out_ops rte_port_sink_ops
 

Detailed Description

RTE Port Source/Sink

source: input port that can be used to generate packets sink: output port that drops all packets written to it

Definition in file rte_port_source_sink.h.

Variable Documentation

struct rte_port_in_ops rte_port_source_ops

source port operations

Examples:
examples/ip_pipeline/pipeline.c.
struct rte_port_out_ops rte_port_sink_ops

sink port operations

Examples:
examples/ip_pipeline/pipeline.c.