summaryrefslogtreecommitdiffstats
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2003-11-20 19:47:31 +0000
committerandre <andre@FreeBSD.org>2003-11-20 19:47:31 +0000
commit6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e (patch)
treec25b99029c9fbe87aa9d11209da4550fbc910838 /sys/net/route.h
parent529995603c4d5d287b1446c3bde04f20544e7640 (diff)
downloadFreeBSD-src-6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e.zip
FreeBSD-src-6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e.tar.gz
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)
Diffstat (limited to 'sys/net/route.h')
-rw-r--r--sys/net/route.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index 54f706d..8fff560 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 */
OpenPOWER on IntegriCloud