aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/in_route.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/linux/in_route.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/linux/in_route.h')
-rw-r--r--include/linux/in_route.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/linux/in_route.h b/include/linux/in_route.h
new file mode 100644
index 000000000000..61f25c30a2a0
--- /dev/null
+++ b/include/linux/in_route.h
@@ -0,0 +1,32 @@
1#ifndef _LINUX_IN_ROUTE_H
2#define _LINUX_IN_ROUTE_H
3
4/* IPv4 routing cache flags */
5
6#define RTCF_DEAD RTNH_F_DEAD
7#define RTCF_ONLINK RTNH_F_ONLINK
8
9/* Obsolete flag. About to be deleted */
10#define RTCF_NOPMTUDISC RTM_F_NOPMTUDISC
11
12#define RTCF_NOTIFY 0x00010000
13#define RTCF_DIRECTDST 0x00020000
14#define RTCF_REDIRECTED 0x00040000
15#define RTCF_TPROXY 0x00080000
16
17#define RTCF_FAST 0x00200000
18#define RTCF_MASQ 0x00400000
19#define RTCF_SNAT 0x00800000
20#define RTCF_DOREDIRECT 0x01000000
21#define RTCF_DIRECTSRC 0x04000000
22#define RTCF_DNAT 0x08000000
23#define RTCF_BROADCAST 0x10000000
24#define RTCF_MULTICAST 0x20000000
25#define RTCF_REJECT 0x40000000
26#define RTCF_LOCAL 0x80000000
27
28#define RTCF_NAT (RTCF_DNAT|RTCF_SNAT)
29
30#define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
31
32#endif /* _LINUX_IN_ROUTE_H */