ip6tnl: advertise tunnel param via rtnl
It is usefull for daemons that monitor link event to have the full parameters of these interfaces when a rtnl message is sent. It allows also to dump them via rtnetlink. It is based on what is done for GRE tunnels. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
					parent
					
						
							
								ba3e3f50a0
							
						
					
				
			
			
				commit
				
					
						c075b13098
					
				
			
		
					 2 changed files with 60 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -44,6 +44,9 @@ enum {
 | 
			
		|||
	IFLA_IPTUN_REMOTE,
 | 
			
		||||
	IFLA_IPTUN_TTL,
 | 
			
		||||
	IFLA_IPTUN_TOS,
 | 
			
		||||
	IFLA_IPTUN_ENCAP_LIMIT,
 | 
			
		||||
	IFLA_IPTUN_FLOWINFO,
 | 
			
		||||
	IFLA_IPTUN_FLAGS,
 | 
			
		||||
	__IFLA_IPTUN_MAX,
 | 
			
		||||
};
 | 
			
		||||
#define IFLA_IPTUN_MAX	(__IFLA_IPTUN_MAX - 1)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue