]>
git.proxmox.com Git - mirror_frr.git/blob - lib/nexthop_group_private.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Nexthop Group Private Functions.
4 * Copyright (C) 2019 Cumulus Networks, Inc.
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.
14 #ifndef __NEXTHOP_GROUP_PRIVATE__
15 #define __NEXTHOP_GROUP_PRIVATE__
17 #include <nexthop_group.h>
23 void _nexthop_add(struct nexthop
**target
, struct nexthop
*nexthop
);
24 void _nexthop_del(struct nexthop_group
*nhg
, struct nexthop
*nexthop
);
30 #endif /* __NEXTHOP_GROUP_PRIVATE__ */