]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/fib_rules.h
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
18 __u8 res1
; /* reserved */
19 __u8 res2
; /* reserved */
28 FRA_DST
, /* destination address */
29 FRA_SRC
, /* source address */
30 FRA_IFNAME
, /* interface name */
33 FRA_PRIORITY
, /* priority/preference */
37 FRA_FWMARK
, /* netfilter mark */
38 FRA_FLOW
, /* flow/class id */
42 FRA_TABLE
, /* Extended table id */
43 FRA_FWMASK
, /* mask for netfilter mark */
47 #define FRA_MAX (__FRA_MAX - 1)
52 FR_ACT_TO_TBL
, /* Pass to fixed table */
57 FR_ACT_BLACKHOLE
, /* Drop without notification */
58 FR_ACT_UNREACHABLE
, /* Drop with ENETUNREACH */
59 FR_ACT_PROHIBIT
, /* Drop with EACCES */
63 #define FR_ACT_MAX (__FR_ACT_MAX - 1)