DPDK
18.05.1
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
lib
librte_port
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
24
struct
rte_port_source_params
{
26
struct
rte_mempool
*
mempool
;
27
29
const
char
*
file_name
;
34
uint32_t
n_bytes_per_pkt
;
35
};
36
38
extern
struct
rte_port_in_ops
rte_port_source_ops
;
39
41
struct
rte_port_sink_params
{
43
const
char
*
file_name
;
48
uint32_t
max_n_pkts
;
49
};
50
52
extern
struct
rte_port_out_ops
rte_port_sink_ops
;
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
#endif
Generated by
1.8.1.2