forked from Freescale/linux-fslc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IPV6] ADDRCONF: Support RFC3484 configurable address selection polic…
…y table. Policy table is implemented as an RCU linear list since we do not expect large list nor frequent updates. Signed-off-by: YOSHIFUJI Hideaki <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
6 changed files
with
608 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* if_addrlabel.h - netlink interface for address labels | ||
* | ||
* Copyright (C)2007 USAGI/WIDE Project, All Rights Reserved. | ||
* | ||
* Authors: | ||
* YOSHIFUJI Hideaki @ USAGI/WIDE <[email protected]> | ||
*/ | ||
|
||
#ifndef __LINUX_IF_ADDRLABEL_H | ||
#define __LINUX_IF_ADDRLABEL_H | ||
|
||
struct ifaddrlblmsg | ||
{ | ||
__u8 ifal_family; /* Address family */ | ||
__u8 __ifal_reserved; /* Reserved */ | ||
__u8 ifal_prefixlen; /* Prefix length */ | ||
__u8 ifal_flags; /* Flags */ | ||
__u32 ifal_index; /* Link index */ | ||
__u32 ifal_seq; /* sequence number */ | ||
}; | ||
|
||
enum | ||
{ | ||
IFAL_ADDRESS = 1, | ||
IFAL_LABEL = 2, | ||
__IFAL_MAX | ||
}; | ||
|
||
#define IFAL_MAX (__IFAL_MAX - 1) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.