diff options
author | Andre Oppermann <andre@FreeBSD.org> | 2003-11-20 19:47:31 +0000 |
---|---|---|
committer | Andre Oppermann <andre@FreeBSD.org> | 2003-11-20 19:47:31 +0000 |
commit | 26d02ca7babf8bb8d1e2b9c8cb3e18ec0fcd1317 (patch) | |
tree | c25b99029c9fbe87aa9d11209da4550fbc910838 /sys/net/route.h | |
parent | 3257da0c40e25a88c1430f47df9554f8ddc4baad (diff) | |
download | src-26d02ca7babf8bb8d1e2b9c8cb3e18ec0fcd1317.tar.gz src-26d02ca7babf8bb8d1e2b9c8cb3e18ec0fcd1317.zip |
Remove RTF_PRCLONING from routing table and adjust users of it
accordingly. The define is left intact for ABI compatibility
with userland.
This is a pre-step for the introduction of tcp_hostcache. The
network stack remains fully useable with this change.
Reviewed by: sam (mentor), bms
Reviewed by: -net, -current, core@kame.net (IPv6 parts)
Approved by: re (scottl)
Notes
Notes:
svn path=/head/; revision=122921
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 54f706de28e9..8fff56058dfd 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -151,7 +151,11 @@ struct ortentry { #define RTF_PROTO2 0x4000 /* protocol specific routing flag */ #define RTF_PROTO1 0x8000 /* protocol specific routing flag */ -#define RTF_PRCLONING 0x10000 /* protocol requires cloning */ +/* XXX: temporary to stay API/ABI compatible with userland */ +#ifndef _KERNEL +#define RTF_PRCLONING 0x10000 /* unused, for compatibility */ +#endif + #define RTF_WASCLONED 0x20000 /* route generated through cloning */ #define RTF_PROTO3 0x40000 /* protocol specific routing flag */ /* 0x80000 unused */ |