DPDK  19.08.2
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 
21 #include "rte_port.h"
22 
27 
29  const char *file_name;
34  uint32_t n_bytes_per_pkt;
35 };
36 
39 
43  const char *file_name;
48  uint32_t max_n_pkts;
49 };
50 
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif
struct rte_mempool * mempool
struct rte_port_out_ops rte_port_sink_ops
struct rte_port_in_ops rte_port_source_ops