aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fib_rules.h
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-10-19 15:19:19 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-10-19 15:19:19 -0400
commite05dacd71db0a5da7c1a44bcaab2a8a240b9c233 (patch)
tree31382cf1c7d62c03126448affb2fc86e8c4aaa8b /include/linux/fib_rules.h
parent3ab0b83bf6a1e834f4b884150d8012990c75d25d (diff)
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
Merge commit 'v3.7-rc1' into stable/for-linus-3.7
* commit 'v3.7-rc1': (10892 commits) Linux 3.7-rc1 x86, boot: Explicitly include autoconf.h for hostprogs perf: Fix UAPI fallout ARM: config: make sure that platforms are ordered by option string ARM: config: sort select statements alphanumerically UAPI: (Scripted) Disintegrate include/linux/byteorder UAPI: (Scripted) Disintegrate include/linux UAPI: Unexport linux/blk_types.h UAPI: Unexport part of linux/ppp-comp.h perf: Handle new rbtree implementation procfs: don't need a PATH_MAX allocation to hold a string representation of an int vfs: embed struct filename inside of names_cache allocation if possible audit: make audit_inode take struct filename vfs: make path_openat take a struct filename pointer vfs: turn do_path_lookup into wrapper around struct filename variant audit: allow audit code to satisfy getname requests from its names_list vfs: define struct filename and have getname() return it btrfs: Fix compilation with user namespace support enabled userns: Fix posix_acl_file_xattr_userns gid conversion userns: Properly print bluetooth socket uids ...
Diffstat (limited to 'include/linux/fib_rules.h')
-rw-r--r--include/linux/fib_rules.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/include/linux/fib_rules.h b/include/linux/fib_rules.h
deleted file mode 100644
index 51da65b68b85..000000000000
--- a/include/linux/fib_rules.h
+++ /dev/null
@@ -1,72 +0,0 @@
1#ifndef __LINUX_FIB_RULES_H
2#define __LINUX_FIB_RULES_H
3
4#include <linux/types.h>
5#include <linux/rtnetlink.h>
6
7/* rule is permanent, and cannot be deleted */
8#define FIB_RULE_PERMANENT 0x00000001
9#define FIB_RULE_INVERT 0x00000002
10#define FIB_RULE_UNRESOLVED 0x00000004
11#define FIB_RULE_IIF_DETACHED 0x00000008
12#define FIB_RULE_DEV_DETACHED FIB_RULE_IIF_DETACHED
13#define FIB_RULE_OIF_DETACHED 0x00000010
14
15/* try to find source address in routing lookups */
16#define FIB_RULE_FIND_SADDR 0x00010000
17
18struct fib_rule_hdr {
19 __u8 family;
20 __u8 dst_len;
21 __u8 src_len;
22 __u8 tos;
23
24 __u8 table;
25 __u8 res1; /* reserved */
26 __u8 res2; /* reserved */
27 __u8 action;
28
29 __u32 flags;
30};
31
32enum {
33 FRA_UNSPEC,
34 FRA_DST, /* destination address */
35 FRA_SRC, /* source address */
36 FRA_IIFNAME, /* interface name */
37#define FRA_IFNAME FRA_IIFNAME
38 FRA_GOTO, /* target to jump to (FR_ACT_GOTO) */
39 FRA_UNUSED2,
40 FRA_PRIORITY, /* priority/preference */
41 FRA_UNUSED3,
42 FRA_UNUSED4,
43 FRA_UNUSED5,
44 FRA_FWMARK, /* mark */
45 FRA_FLOW, /* flow/class id */
46 FRA_UNUSED6,
47 FRA_UNUSED7,
48 FRA_UNUSED8,
49 FRA_TABLE, /* Extended table id */
50 FRA_FWMASK, /* mask for netfilter mark */
51 FRA_OIFNAME,
52 __FRA_MAX
53};
54
55#define FRA_MAX (__FRA_MAX - 1)
56
57enum {
58 FR_ACT_UNSPEC,
59 FR_ACT_TO_TBL, /* Pass to fixed table */
60 FR_ACT_GOTO, /* Jump to another rule */
61 FR_ACT_NOP, /* No operation */
62 FR_ACT_RES3,
63 FR_ACT_RES4,
64 FR_ACT_BLACKHOLE, /* Drop without notification */
65 FR_ACT_UNREACHABLE, /* Drop with ENETUNREACH */
66 FR_ACT_PROHIBIT, /* Drop with EACCES */
67 __FR_ACT_MAX,
68};
69
70#define FR_ACT_MAX (__FR_ACT_MAX - 1)
71
72#endif