blob: 89571f65d6ded5d25bdfa6951e88c23131a7b724 [file] [log] [blame]
YOSHIFUJI Hideaki2a8cc6c2007-11-14 15:56:23 +09001/*
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 Rajput1759cb92009-01-30 21:25:00 +053013#include <linux/types.h>
14
YOSHIFUJI Hideaki2a8cc6c2007-11-14 15:56:23 +090015struct ifaddrlblmsg
16{
17 __u8 ifal_family; /* Address family */
18 __u8 __ifal_reserved; /* Reserved */
19 __u8 ifal_prefixlen; /* Prefix length */
20 __u8 ifal_flags; /* Flags */
21 __u32 ifal_index; /* Link index */
22 __u32 ifal_seq; /* sequence number */
23};
24
25enum
26{
27 IFAL_ADDRESS = 1,
28 IFAL_LABEL = 2,
29 __IFAL_MAX
30};
31
32#define IFAL_MAX (__IFAL_MAX - 1)
33
34#endif