blob: 0c8ca2549380c9e31e2ddb2cac674ba149c46025 [file] [log] [blame]
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -07001/****************************************************************************
2 ****************************************************************************
3 ***
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.
9 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_IN_ROUTE_H
20#define _LINUX_IN_ROUTE_H
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070021#define RTCF_DEAD RTNH_F_DEAD
22#define RTCF_ONLINK RTNH_F_ONLINK
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070024#define RTCF_NOPMTUDISC RTM_F_NOPMTUDISC
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070025#define RTCF_NOTIFY 0x00010000
26#define RTCF_DIRECTDST 0x00020000
27#define RTCF_REDIRECTED 0x00040000
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070029#define RTCF_TPROXY 0x00080000
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070030#define RTCF_FAST 0x00200000
31#define RTCF_MASQ 0x00400000
32#define RTCF_SNAT 0x00800000
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070034#define RTCF_DOREDIRECT 0x01000000
35#define RTCF_DIRECTSRC 0x04000000
36#define RTCF_DNAT 0x08000000
37#define RTCF_BROADCAST 0x10000000
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070039#define RTCF_MULTICAST 0x20000000
40#define RTCF_REJECT 0x40000000
41#define RTCF_LOCAL 0x80000000
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070042#define RTCF_NAT (RTCF_DNAT|RTCF_SNAT)
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070044#define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
Dmitry Shmidt2a8245c2010-09-08 11:32:16 -070045#endif