ipv6 addrconf: introduce IFA_F_MANAGETEMPADDR to tell kernel to manage temporary addresses
Creating an address with this flag set will result in kernel taking care of temporary addresses in the same way as if the address was created by kernel itself (after RA receive). This allows userspace applications implementing the autoconfiguration (NetworkManager for example) to implement ipv6 addresses privacy. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Thomas Haller <thaller@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
					parent
					
						
							
								479840ffdb
							
						
					
				
			
			
				commit
				
					
						53bd674915
					
				
			
		
					 2 changed files with 100 additions and 72 deletions
				
			
		|  | @ -48,6 +48,7 @@ enum { | |||
| #define IFA_F_DEPRECATED	0x20 | ||||
| #define IFA_F_TENTATIVE		0x40 | ||||
| #define IFA_F_PERMANENT		0x80 | ||||
| #define IFA_F_MANAGETEMPADDR	0x100 | ||||
| 
 | ||||
| struct ifa_cacheinfo { | ||||
| 	__u32	ifa_prefered; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jiri Pirko
				Jiri Pirko