blob: b05718677873e8b6b75d6c6e179f85f7c1eb0707 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Nexthop Group Private Functions.
* Copyright (C) 2019 Cumulus Networks, Inc.
* Stephen Worley
*/
/**
* These functions should only be used internally for nexthop groups
* and in certain special cases. Please use `lib/nexthop_group.h` for
* any general nexthop_group api needs.
*/
#ifndef __NEXTHOP_GROUP_PRIVATE__
#define __NEXTHOP_GROUP_PRIVATE__
#include <nexthop_group.h>
#ifdef __cplusplus
extern "C" {
#endif
void _nexthop_add(struct nexthop **target, struct nexthop *nexthop);
void _nexthop_del(struct nexthop_group *nhg, struct nexthop *nexthop);
#ifdef __cplusplus
}
#endif
#endif /* __NEXTHOP_GROUP_PRIVATE__ */
|