| 
									
										
										
										
											2007-11-14 15:56:23 +09:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * if_addrlabel.h - netlink interface for address labels | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright (C)2007 USAGI/WIDE Project,  All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Authors: | 
					
						
							|  |  |  |  *	YOSHIFUJI Hideaki @ USAGI/WIDE <yoshfuji@linux-ipv6.org> | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __LINUX_IF_ADDRLABEL_H
 | 
					
						
							|  |  |  | #define __LINUX_IF_ADDRLABEL_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-30 21:25:00 +05:30
										 |  |  | #include <linux/types.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-11-04 09:50:58 -08:00
										 |  |  | struct ifaddrlblmsg { | 
					
						
							| 
									
										
										
										
											2007-11-14 15:56:23 +09:00
										 |  |  | 	__u8		ifal_family;		/* Address family */ | 
					
						
							|  |  |  | 	__u8		__ifal_reserved;	/* Reserved */ | 
					
						
							|  |  |  | 	__u8		ifal_prefixlen;		/* Prefix length */ | 
					
						
							|  |  |  | 	__u8		ifal_flags;		/* Flags */ | 
					
						
							|  |  |  | 	__u32		ifal_index;		/* Link index */ | 
					
						
							|  |  |  | 	__u32		ifal_seq;		/* sequence number */ | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-11-04 09:50:58 -08:00
										 |  |  | enum { | 
					
						
							| 
									
										
										
										
											2007-11-14 15:56:23 +09:00
										 |  |  | 	IFAL_ADDRESS = 1, | 
					
						
							|  |  |  | 	IFAL_LABEL = 2, | 
					
						
							|  |  |  | 	__IFAL_MAX | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define IFAL_MAX	(__IFAL_MAX - 1)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif
 |