diff options
author | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2006-06-18 11:47:47 +0000 |
---|---|---|
committer | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2006-06-18 11:47:47 +0000 |
commit | 7128c15b3d788036fcd81521f6defea3838851fa (patch) | |
tree | e4df6cf82b6c8f0549f702cc93db7ccce4965cc8 /sys/net/radix_mpath.h | |
parent | 200b4f43933395e40b0ce709f1a210782bfaaf5f (diff) |
Add support for equal-cost multipath IP.
To minimise path disruptions, this implements recommendations made in RFC2992 -
the hash-threshold mechanism to select paths based on source/destination IP
address pairs, and inserts multipath routes in the middle of the route table.
To enable multipath distribution, use:
sysctl net.inet.ip.multipath=1
and/or:
sysctl net.inet6.ip6.multipath=1
testing norby@
ok claudio@ henning@ hshoexer@
Diffstat (limited to 'sys/net/radix_mpath.h')
-rw-r--r-- | sys/net/radix_mpath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/radix_mpath.h b/sys/net/radix_mpath.h index 0aea740f556..cf75be8e134 100644 --- a/sys/net/radix_mpath.h +++ b/sys/net/radix_mpath.h @@ -1,4 +1,4 @@ -/* $OpenBSD: radix_mpath.h,v 1.4 2006/06/16 16:49:39 henning Exp $ */ +/* $OpenBSD: radix_mpath.h,v 1.5 2006/06/18 11:47:45 pascoe Exp $ */ /* $KAME: radix_mpath.h,v 1.9 2004/03/30 11:21:49 keiichi Exp $ */ /* @@ -50,7 +50,7 @@ int rn_mpath_count(struct radix_node *); struct rtentry *rt_mpath_matchgate(struct rtentry *, struct sockaddr *); int rt_mpath_conflict(struct radix_node_head *, struct rtentry *, struct sockaddr *, int); -void rtalloc_mpath(struct route *, int, u_int tableid); +void rtalloc_mpath(struct route *, u_int32_t *, u_int tableid); int rn_mpath_inithead(void **, int); #endif |