DPDK
18.05.1
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
lib
librte_table
rte_table_lpm.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2010-2014 Intel Corporation
3
*/
4
5
#ifndef __INCLUDE_RTE_TABLE_LPM_H__
6
#define __INCLUDE_RTE_TABLE_LPM_H__
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
45
#include <stdint.h>
46
47
#include "
rte_table.h
"
48
50
struct
rte_table_lpm_params
{
52
const
char
*
name
;
53
55
uint32_t
n_rules
;
56
58
uint32_t
number_tbl8s
;
59
61
int
flags;
62
65
uint32_t
entry_unique_size
;
66
69
uint32_t
offset
;
70
};
71
77
struct
rte_table_lpm_key
{
79
uint32_t
ip
;
80
85
uint8_t
depth
;
86
};
87
89
extern
struct
rte_table_ops
rte_table_lpm_ops
;
90
91
#ifdef __cplusplus
92
}
93
#endif
94
95
#endif
Generated by
1.8.1.2