DPDK
24.11.0-rc3
lib
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
40
#include <stdint.h>
41
42
#include <
rte_common.h
>
43
#include <
rte_ip6.h
>
44
45
#include "
rte_table.h
"
46
47
#ifdef __cplusplus
48
extern
"C"
{
49
#endif
50
51
#define RTE_LPM_IPV6_ADDR_SIZE (RTE_DEPRECATED(RTE_LPM_IPV6_ADDR_SIZE) RTE_IPV6_ADDR_SIZE)
52
54
struct
rte_table_lpm_ipv6_params
{
56
const
char
*
name
;
57
59
uint32_t
n_rules
;
60
61
uint32_t number_tbl8s;
62
65
uint32_t
entry_unique_size
;
66
69
uint32_t
offset
;
70
};
71
77
struct
rte_table_lpm_ipv6_key
{
79
struct
rte_ipv6_addr
ip;
80
85
uint8_t
depth
;
86
};
87
89
extern
struct
rte_table_ops
rte_table_lpm_ipv6_ops
;
90
91
#ifdef __cplusplus
92
}
93
#endif
94
95
#endif
rte_table_ops
Definition:
rte_table.h:252
rte_table.h
rte_ipv6_addr
Definition:
rte_ip6.h:53
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:85
rte_table_lpm_ipv6_params
Definition:
rte_table_lpm_ipv6.h:54
rte_common.h
rte_table_lpm_ipv6_key
Definition:
rte_table_lpm_ipv6.h:77
rte_ip6.h
rte_table_lpm_ipv6_params::name
const char * name
Definition:
rte_table_lpm_ipv6.h:56
rte_table_lpm_ipv6_params::entry_unique_size
uint32_t entry_unique_size
Definition:
rte_table_lpm_ipv6.h:65
rte_table_lpm_ipv6_params::offset
uint32_t offset
Definition:
rte_table_lpm_ipv6.h:69
rte_table_lpm_ipv6_params::n_rules
uint32_t n_rules
Definition:
rte_table_lpm_ipv6.h:59
Generated by
1.8.13