mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-04 04:50:35 +00:00 
			
		
		
		
	Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
		
			
				
	
	
		
			31 lines
		
	
	
		
			705 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			705 B
		
	
	
	
		
			C
		
	
	
	
	
	
// 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__ */
 |