diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-03-24 20:37:42 -0400 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-03-24 21:24:01 -0400 |
commit | 7cbca67c073263c179f605bdbbdc565ab29d801d (patch) | |
tree | 124ce8c81f3e033790416d3d16bd23e2f7bfed07 /include/net/ip6_route.h | |
parent | 1d5d236d309ab90fa6aedf712f586b3595721373 (diff) |
[IPV6]: Support Source Address Selection API (RFC5014).
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r-- | include/net/ip6_route.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 5c3b67c86aef..3ae6799c2b14 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -30,9 +30,12 @@ struct route_info { | |||
30 | #include <linux/ip.h> | 30 | #include <linux/ip.h> |
31 | #include <linux/ipv6.h> | 31 | #include <linux/ipv6.h> |
32 | 32 | ||
33 | #define RT6_LOOKUP_F_IFACE 0x1 | 33 | #define RT6_LOOKUP_F_IFACE 0x00000001 |
34 | #define RT6_LOOKUP_F_REACHABLE 0x2 | 34 | #define RT6_LOOKUP_F_REACHABLE 0x00000002 |
35 | #define RT6_LOOKUP_F_HAS_SADDR 0x4 | 35 | #define RT6_LOOKUP_F_HAS_SADDR 0x00000004 |
36 | #define RT6_LOOKUP_F_SRCPREF_TMP 0x00000008 | ||
37 | #define RT6_LOOKUP_F_SRCPREF_PUBLIC 0x00000010 | ||
38 | #define RT6_LOOKUP_F_SRCPREF_COA 0x00000020 | ||
36 | 39 | ||
37 | extern struct rt6_info *ip6_null_entry; | 40 | extern struct rt6_info *ip6_null_entry; |
38 | 41 | ||