projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use socket DONTROUTE flag instead of that in rcb_flags
[unix-history]
/
usr
/
src
/
sys
/
net
/
route.h
diff --git
a/usr/src/sys/net/route.h
b/usr/src/sys/net/route.h
index
e1b1677
..
e99c847
100644
(file)
--- a/
usr/src/sys/net/route.h
+++ b/
usr/src/sys/net/route.h
@@
-1,10
+1,16
@@
-/* route.h 6.3 84/08/29 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)route.h 6.7 (Berkeley) %G%
+ */
/*
* Kernel resident routing tables.
*
/*
* Kernel resident routing tables.
*
- * The routing tables are initialized
at boot time by
- * making entries for all directly connected interfaces.
+ * The routing tables are initialized
when interface addresses
+ *
are set by
making entries for all directly connected interfaces.
*/
/*
*/
/*
@@
-15,9
+21,6
@@
struct route {
struct rtentry *ro_rt;
struct sockaddr ro_dst;
struct route {
struct rtentry *ro_rt;
struct sockaddr ro_dst;
-#ifdef notdef
- caddr_t ro_pcb; /* not used yet */
-#endif
};
/*
};
/*
@@
-41,6
+44,8
@@
struct rtentry {
#define RTF_UP 0x1 /* route useable */
#define RTF_GATEWAY 0x2 /* destination is a gateway */
#define RTF_HOST 0x4 /* host entry (net otherwise) */
#define RTF_UP 0x1 /* route useable */
#define RTF_GATEWAY 0x2 /* destination is a gateway */
#define RTF_HOST 0x4 /* host entry (net otherwise) */
+#define RTF_REINSTATE 0x8 /* re-instate route after timeout */
+#define RTF_DYNAMIC 0x10 /* created dynamically (by redirect) */
/*
* Routing statistics.
/*
* Routing statistics.