DPDK
20.05.0
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
lib
librte_table
rte_table_lpm_ipv6.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_IPV6_H__
6
#define __INCLUDE_RTE_TABLE_LPM_IPV6_H__
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
45
#include <stdint.h>
46
47
#include "
rte_table.h
"
48
49
#define RTE_LPM_IPV6_ADDR_SIZE 16
50
52
struct
rte_table_lpm_ipv6_params
{
54
const
char
*
name
;
55
57
uint32_t
n_rules
;
58
59
uint32_t number_tbl8s;
60
63
uint32_t
entry_unique_size
;
64
67
uint32_t
offset
;
68
};
69
75
struct
rte_table_lpm_ipv6_key
{
77
uint8_t
ip
[RTE_LPM_IPV6_ADDR_SIZE];
78
83
uint8_t
depth
;
84
};
85
87
extern
struct
rte_table_ops
rte_table_lpm_ipv6_ops
;
88
89
#ifdef __cplusplus
90
}
91
#endif
92
93
#endif
rte_table_ops
Definition:
rte_table.h:257
rte_table.h
rte_table_lpm_ipv6_ops
struct rte_table_ops rte_table_lpm_ipv6_ops
rte_table_lpm_ipv6_key::depth
uint8_t depth
Definition:
rte_table_lpm_ipv6.h:83
rte_table_lpm_ipv6_params
Definition:
rte_table_lpm_ipv6.h:52
rte_table_lpm_ipv6_key
Definition:
rte_table_lpm_ipv6.h:75
rte_table_lpm_ipv6_params::name
const char * name
Definition:
rte_table_lpm_ipv6.h:54
rte_table_lpm_ipv6_key::ip
uint8_t ip[RTE_LPM_IPV6_ADDR_SIZE]
Definition:
rte_table_lpm_ipv6.h:77
rte_table_lpm_ipv6_params::entry_unique_size
uint32_t entry_unique_size
Definition:
rte_table_lpm_ipv6.h:63
rte_table_lpm_ipv6_params::offset
uint32_t offset
Definition:
rte_table_lpm_ipv6.h:67
rte_table_lpm_ipv6_params::n_rules
uint32_t n_rules
Definition:
rte_table_lpm_ipv6.h:57
Generated by
1.8.9.1