X-Git-Url: http://git.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=iprule.h;fp=iprule.h;h=7617c7600985cf2f7edb03bbd29ecd81342200c2;hp=e8a25558ef76fc79f5f0f569ca923c92e849bdbc;hb=90e2e2c404eeeb3414c794dfb45f5ee4b88cd479;hpb=08f1875201a60dc20c65d2af26b41af987662f10 diff --git a/iprule.h b/iprule.h index e8a2555..7617c76 100644 --- a/iprule.h +++ b/iprule.h @@ -60,6 +60,9 @@ enum iprule_flags { /* rule is a goto */ IPRULE_GOTO = (1 << 12), + + /* rule suppresses results by prefix length */ + IPRULE_SUP_PREFIXLEN = (1 << 13), }; struct iprule { @@ -87,6 +90,7 @@ struct iprule { unsigned int fwmask; unsigned int lookup; + unsigned int sup_prefixlen; unsigned int action; unsigned int gotoid; };