projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iprule: Add option to suppress unspecific routing lookups
[project/netifd.git]
/
iprule.h
diff --git
a/iprule.h
b/iprule.h
index e8a25558ef76fc79f5f0f569ca923c92e849bdbc..7617c7600985cf2f7edb03bbd29ecd81342200c2 100644
(file)
--- a/
iprule.h
+++ b/
iprule.h
@@
-60,6
+60,9
@@
enum iprule_flags {
/* rule is a goto */
IPRULE_GOTO = (1 << 12),
/* rule is a goto */
IPRULE_GOTO = (1 << 12),
+
+ /* rule suppresses results by prefix length */
+ IPRULE_SUP_PREFIXLEN = (1 << 13),
};
struct iprule {
};
struct iprule {
@@
-87,6
+90,7
@@
struct iprule {
unsigned int fwmask;
unsigned int lookup;
unsigned int fwmask;
unsigned int lookup;
+ unsigned int sup_prefixlen;
unsigned int action;
unsigned int gotoid;
};
unsigned int action;
unsigned int gotoid;
};