mirror of
				https://git.proxmox.com/git/mirror_iproute2
				synced 2025-10-26 05:19:53 +00:00 
			
		
		
		
	 535194a172
			
		
	
	
		535194a172
		
	
	
	
	
		
			
			This enables a user to remove an offline peer from the kernel data structures. This could for example be useful when deliberately scaling in peer nodes in a cloud environment. This functionality was first merged in:f9dec657e4(Richard Alpe tipc: add peer remove functionality) And later backed out (as the kernel counterpart was held up) in:385caeb13b(Stephen Hemminger Revert "tipc: add peer remove functionality") Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			567 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			567 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * peer.h	TIPC peer functionality.
 | |
|  *
 | |
|  *		This program is free software; you can redistribute it and/or
 | |
|  *		modify it under the terms of the GNU General Public License
 | |
|  *		as published by the Free Software Foundation; either version
 | |
|  *		2 of the License, or (at your option) any later version.
 | |
|  *
 | |
|  * Authors:	Richard Alpe <richard.alpe@ericsson.com>
 | |
|  */
 | |
| 
 | |
| #ifndef _TIPC_PEER_H
 | |
| #define _TIPC_PEER_H
 | |
| 
 | |
| extern int help_flag;
 | |
| 
 | |
| int cmd_peer(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
 | |
| 	     void *data);
 | |
| void cmd_peer_help(struct cmdl *cmdl);
 | |
| 
 | |
| #endif
 |