DPDK
24.11.0-rc3
lib
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
40
#include <stdint.h>
41
42
#include "
rte_table.h
"
43
44
#ifdef __cplusplus
45
extern
"C"
{
46
#endif
47
49
struct
rte_table_lpm_params
{
51
const
char
*
name
;
52
54
uint32_t
n_rules
;
55
57
uint32_t
number_tbl8s
;
58
60
int
flags;
61
64
uint32_t
entry_unique_size
;
65
68
uint32_t
offset
;
69
};
70
76
struct
rte_table_lpm_key
{
78
uint32_t
ip
;
79
84
uint8_t
depth
;
85
};
86
88
extern
struct
rte_table_ops
rte_table_lpm_ops
;
89
90
#ifdef __cplusplus
91
}
92
#endif
93
94
#endif
rte_table_ops
Definition:
rte_table.h:252
rte_table_lpm_params::number_tbl8s
uint32_t number_tbl8s
Definition:
rte_table_lpm.h:57
rte_table_lpm_params::name
const char * name
Definition:
rte_table_lpm.h:51
rte_table_lpm_params::n_rules
uint32_t n_rules
Definition:
rte_table_lpm.h:54
rte_table.h
rte_table_lpm_ops
struct rte_table_ops rte_table_lpm_ops
rte_table_lpm_params::entry_unique_size
uint32_t entry_unique_size
Definition:
rte_table_lpm.h:64
rte_table_lpm_key
Definition:
rte_table_lpm.h:76
rte_table_lpm_params::offset
uint32_t offset
Definition:
rte_table_lpm.h:68
rte_table_lpm_params
Definition:
rte_table_lpm.h:49
rte_table_lpm_key::ip
uint32_t ip
Definition:
rte_table_lpm.h:78
rte_table_lpm_key::depth
uint8_t depth
Definition:
rte_table_lpm.h:84
Generated by
1.8.13