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