1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_ROUTE_H
13 #define _LINUX_ROUTE_H
16 #include <linux/compiler.h>
20 unsigned long rt_pad1
;
21 struct sockaddr rt_dst
;
22 struct sockaddr rt_gateway
;
23 struct sockaddr rt_genmask
;
24 unsigned short rt_flags
;
26 unsigned long rt_pad3
;
32 unsigned long rt_window
;
33 unsigned short rt_irtt
;
37 #define RTF_GATEWAY 0x0002
38 #define RTF_HOST 0x0004
39 #define RTF_REINSTATE 0x0008
40 #define RTF_DYNAMIC 0x0010
41 #define RTF_MODIFIED 0x0020
42 #define RTF_MTU 0x0040
43 #define RTF_MSS RTF_MTU
44 #define RTF_WINDOW 0x0080
45 #define RTF_IRTT 0x0100
46 #define RTF_REJECT 0x0200