/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __LINUX_FIB_RULES_H #define __LINUX_FIB_RULES_H #include <linux/types.h> #include <linux/rtnetlink.h> /* rule is permanent, and cannot be deleted */ #define FIB_RULE_PERMANENT … #define FIB_RULE_INVERT … #define FIB_RULE_UNRESOLVED … #define FIB_RULE_IIF_DETACHED … #define FIB_RULE_DEV_DETACHED … #define FIB_RULE_OIF_DETACHED … /* try to find source address in routing lookups */ #define FIB_RULE_FIND_SADDR … struct fib_rule_hdr { … }; struct fib_rule_uid_range { … }; struct fib_rule_port_range { … }; enum { … }; #define FRA_MAX … enum { … }; #define FR_ACT_MAX … #endif