DPDK  24.03.0
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 
44 #include <stdint.h>
45 
46 #include "rte_table.h"
47 
48 #define RTE_LPM_IPV6_ADDR_SIZE 16
49 
53  const char *name;
54 
56  uint32_t n_rules;
57 
58  uint32_t number_tbl8s;
59 
63 
66  uint32_t offset;
67 };
68 
76  uint8_t ip[RTE_LPM_IPV6_ADDR_SIZE];
77 
82  uint8_t depth;
83 };
84 
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
92 #endif
struct rte_table_ops rte_table_lpm_ipv6_ops