YOSHIFUJI Hideaki | 2a8cc6c | 2007-11-14 15:56:23 +0900 | [diff] [blame] | 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 | |
Jaswinder Singh Rajput | 1759cb9 | 2009-01-30 21:25:00 +0530 | [diff] [blame] | 13 | #include <linux/types.h> |
| 14 | |
Eric Dumazet | d94d9fe | 2009-11-04 09:50:58 -0800 | [diff] [blame] | 15 | struct ifaddrlblmsg { |
YOSHIFUJI Hideaki | 2a8cc6c | 2007-11-14 15:56:23 +0900 | [diff] [blame] | 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 | |
Eric Dumazet | d94d9fe | 2009-11-04 09:50:58 -0800 | [diff] [blame] | 24 | enum { |
YOSHIFUJI Hideaki | 2a8cc6c | 2007-11-14 15:56:23 +0900 | [diff] [blame] | 25 | IFAL_ADDRESS = 1, |
| 26 | IFAL_LABEL = 2, |
| 27 | __IFAL_MAX |
| 28 | }; |
| 29 | |
| 30 | #define IFAL_MAX (__IFAL_MAX - 1) |
| 31 | |
| 32 | #endif |