SCCS-vsn: sys/net/route.h 6.5
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)route.h 6.4 (Berkeley) %G%
+ * @(#)route.h 6.4 (Berkeley) 6/8/85
short rt_refcnt; /* # held references */
u_long rt_use; /* raw # packets forwarded */
struct ifnet *rt_ifp; /* the answer: interface to use */
short rt_refcnt; /* # held references */
u_long rt_use; /* raw # packets forwarded */
struct ifnet *rt_ifp; /* the answer: interface to use */
+ union { /* domain specific info */
+#ifdef INET
+ struct {
+ int in_rt_pc; /* count of pings not answered */
+ } rt_in_data;
+
+#define irt_pings rt_data.rt_in_data.in_rt_pc
+#define irt_gdown rt_data.rt_in_data.in_rt_pc
+
+#endif
+ char rt_dummy[32];
+ } rt_data;
};
#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 */