numam-dpdk/lib/librte_fib/dir24_8.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

36 lines
604 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2018 Vladimir Medvedkin <medvedkinv@gmail.com>
* Copyright(c) 2019 Intel Corporation
*/
#ifndef _DIR24_8_H_
#define _DIR24_8_H_
/**
* @file
* DIR24_8 algorithm
*/
#ifdef __cplusplus
extern "C" {
#endif
void *
dir24_8_create(const char *name, int socket_id, struct rte_fib_conf *conf);
void
dir24_8_free(void *p);
rte_fib_lookup_fn_t
dir24_8_get_lookup_fn(struct rte_fib_conf *conf);
int
dir24_8_modify(struct rte_fib *fib, uint32_t ip, uint8_t depth,
uint64_t next_hop, int op);
#ifdef __cplusplus
}
#endif
#endif /* _DIR24_8_H_ */