X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Ffib_rules.h;h=87b606b63f1e82052418b78ab12aacad2b0265e8;hb=7616ee95f27a04fd5a6434e9ef4a82cec4b2807c;hp=f278ba781d09b2a36a7561976c41c643fee4672f;hpb=fa0b2d1d2196dd46527a8d028797e2bca5930a92;p=linux-2.6 diff --git a/include/linux/fib_rules.h b/include/linux/fib_rules.h index f278ba781d..87b606b63f 100644 --- a/include/linux/fib_rules.h +++ b/include/linux/fib_rules.h @@ -5,10 +5,13 @@ #include /* rule is permanent, and cannot be deleted */ -#define FIB_RULE_PERMANENT 1 -#define FIB_RULE_INVERT 2 -#define FIB_RULE_UNRESOLVED 4 -#define FIB_RULE_DEV_DETACHED 8 +#define FIB_RULE_PERMANENT 0x00000001 +#define FIB_RULE_INVERT 0x00000002 +#define FIB_RULE_UNRESOLVED 0x00000004 +#define FIB_RULE_DEV_DETACHED 0x00000008 + +/* try to find source address in routing lookups */ +#define FIB_RULE_FIND_SADDR 0x00010000 struct fib_rule_hdr {