1efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger/* 2efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger * if_addrlabel.h - netlink interface for address labels 3efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger * 4efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger * Copyright (C)2007 USAGI/WIDE Project, All Rights Reserved. 5efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger * 6efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger * Authors: 7efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger * YOSHIFUJI Hideaki @ USAGI/WIDE <yoshfuji@linux-ipv6.org> 8efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger */ 9efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger 10efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger#ifndef __LINUX_IF_ADDRLABEL_H 11efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger#define __LINUX_IF_ADDRLABEL_H 12efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger 1367881151423f1173ddc31e4f27d736044c2c9a96Stephen Hemminger#include <linux/types.h> 1467881151423f1173ddc31e4f27d736044c2c9a96Stephen Hemminger 15ab322673298bd0b8927cdd9d11f3d36af5941b93Stephen Hemmingerstruct ifaddrlblmsg { 16efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger __u8 ifal_family; /* Address family */ 17efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger __u8 __ifal_reserved; /* Reserved */ 18efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger __u8 ifal_prefixlen; /* Prefix length */ 19efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger __u8 ifal_flags; /* Flags */ 20efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger __u32 ifal_index; /* Link index */ 21efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger __u32 ifal_seq; /* sequence number */ 22efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger}; 23efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger 24ab322673298bd0b8927cdd9d11f3d36af5941b93Stephen Hemmingerenum { 25efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger IFAL_ADDRESS = 1, 26efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger IFAL_LABEL = 2, 27efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger __IFAL_MAX 28efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger}; 29efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger 30efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger#define IFAL_MAX (__IFAL_MAX - 1) 31efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger 32efc0ea56c83f83698ca33e92afc63d5260710efaStephen Hemminger#endif 33