DPDK
23.07.0
lib
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
20
#include "
rte_port.h
"
21
23
struct
rte_port_source_params
{
25
struct
rte_mempool
*
mempool
;
26
28
const
char
*
file_name
;
33
uint32_t
n_bytes_per_pkt
;
34
};
35
37
extern
struct
rte_port_in_ops
rte_port_source_ops
;
38
40
struct
rte_port_sink_params
{
42
const
char
*
file_name
;
47
uint32_t
max_n_pkts
;
48
};
49
51
extern
struct
rte_port_out_ops
rte_port_sink_ops
;
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#endif
rte_port_source_params::mempool
struct rte_mempool * mempool
Definition:
rte_port_source_sink.h:25
rte_port_sink_params
Definition:
rte_port_source_sink.h:40
rte_mempool
Definition:
rte_mempool.h:219
rte_port_out_ops
Definition:
rte_port.h:218
rte_port_source_params::file_name
const char * file_name
Definition:
rte_port_source_sink.h:28
rte_port_sink_ops
struct rte_port_out_ops rte_port_sink_ops
rte_port_source_params::n_bytes_per_pkt
uint32_t n_bytes_per_pkt
Definition:
rte_port_source_sink.h:33
rte_port_sink_params::file_name
const char * file_name
Definition:
rte_port_source_sink.h:42
rte_port.h
rte_port_source_params
Definition:
rte_port_source_sink.h:23
rte_port_in_ops
Definition:
rte_port.h:117
rte_port_source_ops
struct rte_port_in_ops rte_port_source_ops
rte_port_sink_params::max_n_pkts
uint32_t max_n_pkts
Definition:
rte_port_source_sink.h:47
Generated by
1.8.13