diff options
Diffstat (limited to 'include/linux/route.h')
-rw-r--r-- | include/linux/route.h | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/include/linux/route.h b/include/linux/route.h index 3cadd206d..0f11ea2eb 100644 --- a/include/linux/route.h +++ b/include/linux/route.h @@ -21,18 +21,6 @@ #include <linux/if.h> -/* This structure gets passed by the SIOCADDRTOLD and SIOCDELRTOLD calls. */ - -struct old_rtentry { - unsigned long rt_genmask; - struct sockaddr rt_dst; - struct sockaddr rt_gateway; - short rt_flags; - short rt_refcnt; - unsigned long rt_use; - char *rt_dev; -}; - /* This structure gets passed by the SIOCADDRT and SIOCDELRT calls. */ struct rtentry { unsigned long rt_hash; /* hash key for lookups */ @@ -45,12 +33,13 @@ struct rtentry { struct ifnet *rt_ifp; short rt_metric; /* +1 for binary compatibility! */ char *rt_dev; /* forcing the device at add */ - unsigned long rt_mss; /* per route MTU/Window */ - unsigned long rt_window; /* Window clamping */ + unsigned long rt_mss; /* per route MTU/Window */ + unsigned long rt_window; /* Window clamping */ + unsigned short rt_irtt; /* Initial RTT */ }; -#define RTF_UP 0x0001 /* route usable */ +#define RTF_UP 0x0001 /* route usable */ #define RTF_GATEWAY 0x0002 /* destination is a gateway */ #define RTF_HOST 0x0004 /* host entry (net otherwise) */ #define RTF_REINSTATE 0x0008 /* reinstate route after tmout */ @@ -58,6 +47,8 @@ struct rtentry { #define RTF_MODIFIED 0x0020 /* modified dyn. (by redirect) */ #define RTF_MSS 0x0040 /* specific MSS for this route */ #define RTF_WINDOW 0x0080 /* per route window clamping */ +#define RTF_IRTT 0x0100 /* Initial round trip time */ +#define RTF_REJECT 0x0200 /* Reject route */ /* * REMOVE THESE BY 1.2.0 !!!!!!!!!!!!!!!!! |