IPv6: Improve source-routing policies
[project/netifd.git] / iprule.h
index 4b10760..e4ceee0 100644 (file)
--- a/iprule.h
+++ b/iprule.h
 
 #include "interface-ip.h"
 
+#define IPRULE_PRIORITY_ADDR 80000
+#define IPRULE_PRIORITY_NW 90000
+#define IPRULE_PRIORITY_REJECT 2000000000
+
 enum iprule_flags {
        /* address family for rule */
        IPRULE_INET4            = (0 << 0),