Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
if_addrlabel.h
Go to the documentation of this file.
1 /*
2  * if_addrlabel.h - netlink interface for address labels
3  *
4  * Copyright (C)2007 USAGI/WIDE Project, All Rights Reserved.
5  *
6  * Authors:
7  * YOSHIFUJI Hideaki @ USAGI/WIDE <[email protected]>
8  */
9 
10 #ifndef __LINUX_IF_ADDRLABEL_H
11 #define __LINUX_IF_ADDRLABEL_H
12 
13 #include <linux/types.h>
14 
15 struct ifaddrlblmsg {
16  __u8 ifal_family; /* Address family */
17  __u8 __ifal_reserved; /* Reserved */
18  __u8 ifal_prefixlen; /* Prefix length */
19  __u8 ifal_flags; /* Flags */
20  __u32 ifal_index; /* Link index */
21  __u32 ifal_seq; /* sequence number */
22 };
23 
24 enum {
28 };
29 
30 #define IFAL_MAX (__IFAL_MAX - 1)
31 
32 #endif