diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1995-11-14 08:00:00 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1995-11-14 08:00:00 +0000 |
commit | e7c2a72e2680827d6a733931273a93461c0d8d1b (patch) | |
tree | c9abeda78ef7504062bb2e816bcf3e3c9d680112 /include/linux/route.h | |
parent | ec6044459060a8c9ce7f64405c465d141898548c (diff) |
Import of Linux/MIPS 1.3.0
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 !!!!!!!!!!!!!!!!! |