dpdk-fm10k/lib/librte_fib/trie.h
Stephen Hemminger 06710448c9 remove blank lines at end of file
Remove trailing blank lines. They serve no purpose and are just
editor leftovers.
These can cause git to complain about whitespace errors during merges.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2019-11-26 00:12:08 +01:00

37 lines
644 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2018 Vladimir Medvedkin <medvedkinv@gmail.com>
* Copyright(c) 2019 Intel Corporation
*/
#ifndef _TRIE_H_
#define _TRIE_H_
/**
* @file
* RTE IPv6 Longest Prefix Match (LPM)
*/
#ifdef __cplusplus
extern "C" {
#endif
void *
trie_create(const char *name, int socket_id, struct rte_fib6_conf *conf);
void
trie_free(void *p);
rte_fib6_lookup_fn_t
rte_trie_get_lookup_fn(struct rte_fib6_conf *fib_conf);
int
trie_modify(struct rte_fib6 *fib, const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE],
uint8_t depth, uint64_t next_hop, int op);
#ifdef __cplusplus
}
#endif
#endif /* _TRIE_H_ */