restore sccs keywords
[unix-history] / usr / src / sys / net / route.h
index 6a74e60..3b78054 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)route.h     7.13 (Berkeley) %G%
+ *     @(#)route.h     7.15 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -72,7 +72,7 @@ struct rtentry {
        struct  sockaddr *rt_genmask;   /* for generation of cloned routes */
        caddr_t rt_llinfo;              /* pointer to link level info cache */
        struct  rt_metrics rt_rmx;      /* metrics used by rx'ing protocols */
        struct  sockaddr *rt_genmask;   /* for generation of cloned routes */
        caddr_t rt_llinfo;              /* pointer to link level info cache */
        struct  rt_metrics rt_rmx;      /* metrics used by rx'ing protocols */
-       short   rt_idle;                /* easy to tell llayer still live */
+       struct  rtentry *rt_gwroute;    /* implied entry for gatewayed routes */
 };
 
 /*
 };
 
 /*
@@ -100,6 +100,7 @@ struct ortentry {
 #define RTF_CLONING    0x100           /* generate new routes on use */
 #define RTF_XRESOLVE   0x200           /* external daemon resolves name */
 #define RTF_LLINFO     0x400           /* generated by ARP or ESIS */
 #define RTF_CLONING    0x100           /* generate new routes on use */
 #define RTF_XRESOLVE   0x200           /* external daemon resolves name */
 #define RTF_LLINFO     0x400           /* generated by ARP or ESIS */
+#define RTF_STATIC     0x800           /* manually added */
 #define RTF_PROTO2     0x4000          /* protocol specific routing flag */
 #define RTF_PROTO1     0x8000          /* protocol specific routing flag */
 
 #define RTF_PROTO2     0x4000          /* protocol specific routing flag */
 #define RTF_PROTO1     0x8000          /* protocol specific routing flag */
 
@@ -194,4 +195,5 @@ struct      mbuf *rthost[RTHASHSIZ];
 struct mbuf *rtnet[RTHASHSIZ];
 struct rtstat  rtstat;
 struct rtentry *rtalloc1();
 struct mbuf *rtnet[RTHASHSIZ];
 struct rtstat  rtstat;
 struct rtentry *rtalloc1();
+struct radix_node_head *rt_tables[AF_MAX+1];
 #endif
 #endif