DPDK  24.03.0-rc4
rte_port_source_sink.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2010-2016 Intel Corporation
3  */
4 
5 #ifndef __INCLUDE_RTE_PORT_SOURCE_SINK_H__
6 #define __INCLUDE_RTE_PORT_SOURCE_SINK_H__
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
20 #include "rte_port.h"
21 
26 
28  const char *file_name;
33  uint32_t n_bytes_per_pkt;
34 };
35 
38 
42  const char *file_name;
47  uint32_t max_n_pkts;
48 };
49 
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif
struct rte_mempool * mempool
struct rte_port_out_ops rte_port_sink_ops
struct rte_port_in_ops rte_port_source_ops