diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
| commit | 53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch) | |
| tree | 9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /include/uapi/linux/if_addrlabel.h | |
| parent | a6e8c0a25377e27958b11b20e1927885ae7c9857 (diff) | |
| parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) | |
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
Diffstat (limited to 'include/uapi/linux/if_addrlabel.h')
| -rw-r--r-- | include/uapi/linux/if_addrlabel.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/uapi/linux/if_addrlabel.h b/include/uapi/linux/if_addrlabel.h new file mode 100644 index 000000000000..54580c298187 --- /dev/null +++ b/include/uapi/linux/if_addrlabel.h | |||
| @@ -0,0 +1,32 @@ | |||
| 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 <yoshfuji@linux-ipv6.org> | ||
| 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 { | ||
| 25 | IFAL_ADDRESS = 1, | ||
| 26 | IFAL_LABEL = 2, | ||
| 27 | __IFAL_MAX | ||
| 28 | }; | ||
| 29 | |||
| 30 | #define IFAL_MAX (__IFAL_MAX - 1) | ||
| 31 | |||
| 32 | #endif | ||
