DPDK
22.11.5
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
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
rte_port.h
rte_port_source_ops
struct rte_port_in_ops rte_port_source_ops
rte_port_sink_ops
struct rte_port_out_ops rte_port_sink_ops
rte_mempool
Definition:
rte_mempool.h:219
rte_port_in_ops
Definition:
rte_port.h:119
rte_port_out_ops
Definition:
rte_port.h:221
rte_port_sink_params
Definition:
rte_port_source_sink.h:41
rte_port_sink_params::max_n_pkts
uint32_t max_n_pkts
Definition:
rte_port_source_sink.h:48
rte_port_sink_params::file_name
const char * file_name
Definition:
rte_port_source_sink.h:43
rte_port_source_params
Definition:
rte_port_source_sink.h:24
rte_port_source_params::mempool
struct rte_mempool * mempool
Definition:
rte_port_source_sink.h:26
rte_port_source_params::file_name
const char * file_name
Definition:
rte_port_source_sink.h:29
rte_port_source_params::n_bytes_per_pkt
uint32_t n_bytes_per_pkt
Definition:
rte_port_source_sink.h:34
Generated by
1.9.4