1 #ifndef __LINUX_FIB_RULES_H
2 #define __LINUX_FIB_RULES_H
4 #include <linux/types.h>
5 #include <linux/rtnetlink.h>
7 /* rule is permanent, and cannot be deleted */
8 #define FIB_RULE_PERMANENT 1
9 #define FIB_RULE_INVERT 2
10 #define FIB_RULE_UNRESOLVED 4
20 __u8 res1
; /* reserved */
21 __u8 res2
; /* reserved */
30 FRA_DST
, /* destination address */
31 FRA_SRC
, /* source address */
32 FRA_IFNAME
, /* interface name */
33 FRA_GOTO
, /* target to jump to (FR_ACT_GOTO) */
35 FRA_PRIORITY
, /* priority/preference */
39 FRA_FWMARK
, /* mark */
40 FRA_FLOW
, /* flow/class id */
44 FRA_TABLE
, /* Extended table id */
45 FRA_FWMASK
, /* mask for netfilter mark */
49 #define FRA_MAX (__FRA_MAX - 1)
54 FR_ACT_TO_TBL
, /* Pass to fixed table */
55 FR_ACT_GOTO
, /* Jump to another rule */
59 FR_ACT_BLACKHOLE
, /* Drop without notification */
60 FR_ACT_UNREACHABLE
, /* Drop with ENETUNREACH */
61 FR_ACT_PROHIBIT
, /* Drop with EACCES */
65 #define FR_ACT_MAX (__FR_ACT_MAX - 1)
This page took 0.038713 seconds and 5 git commands to generate.