aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/in6.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-03-24 20:37:42 -0400
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-03-24 21:24:01 -0400
commit7cbca67c073263c179f605bdbbdc565ab29d801d (patch)
tree124ce8c81f3e033790416d3d16bd23e2f7bfed07 /include/linux/in6.h
parent1d5d236d309ab90fa6aedf712f586b3595721373 (diff)
[IPV6]: Support Source Address Selection API (RFC5014).
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/linux/in6.h')
-rw-r--r--include/linux/in6.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/in6.h b/include/linux/in6.h
index 2a61c82af115..f674000c6c99 100644
--- a/include/linux/in6.h
+++ b/include/linux/in6.h
@@ -249,4 +249,15 @@ struct in6_flowlabel_req
249 * IP6T_SO_GET_REVISION_TARGET 69 249 * IP6T_SO_GET_REVISION_TARGET 69
250 */ 250 */
251 251
252/* RFC5014: Source address selection */
253#define IPV6_ADDR_PREFERENCES 72
254
255#define IPV6_PREFER_SRC_TMP 0x0001
256#define IPV6_PREFER_SRC_PUBLIC 0x0002
257#define IPV6_PREFER_SRC_PUBTMP_DEFAULT 0x0100
258#define IPV6_PREFER_SRC_COA 0x0004
259#define IPV6_PREFER_SRC_HOME 0x0400
260#define IPV6_PREFER_SRC_CGA 0x0008
261#define IPV6_PREFER_SRC_NONCGA 0x0800
262
252#endif 263#endif