projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proto-shell: fix for not handling switch from DHCP to static race
[project/netifd.git]
/
iprule.h
diff --git
a/iprule.h
b/iprule.h
index
4b10760
..
b4b124c
100644
(file)
--- a/
iprule.h
+++ b/
iprule.h
@@
-17,6
+17,10
@@
#include "interface-ip.h"
#include "interface-ip.h"
+#define IPRULE_PRIORITY_ADDR 80000
+#define IPRULE_PRIORITY_NW 90000
+#define IPRULE_PRIORITY_REJECT 4200000000
+
enum iprule_flags {
/* address family for rule */
IPRULE_INET4 = (0 << 0),
enum iprule_flags {
/* address family for rule */
IPRULE_INET4 = (0 << 0),
@@
-87,7
+91,7
@@
struct iprule {
};
extern struct vlist_tree iprules;
};
extern struct vlist_tree iprules;
-extern const struct
config
_param_list rule_attr_list;
+extern const struct
uci_blob
_param_list rule_attr_list;
void iprule_add(struct blob_attr *attr, bool v6);
void iprule_update_start(void);
void iprule_add(struct blob_attr *attr, bool v6);
void iprule_update_start(void);