DPDK 25.03.0-rc0
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
48extern "C" {
49#endif
50
51#define RTE_LPM_IPV6_ADDR_SIZE (RTE_DEPRECATED(RTE_LPM_IPV6_ADDR_SIZE) RTE_IPV6_ADDR_SIZE)
52
56 const char *name;
57
59 uint32_t n_rules;
60
61 uint32_t number_tbl8s;
62
66
69 uint32_t offset;
70};
71
80
85 uint8_t depth;
86};
87
90
91#ifdef __cplusplus
92}
93#endif
94
95#endif
struct rte_table_ops rte_table_lpm_ipv6_ops
struct rte_ipv6_addr ip