/* rule suppresses results by prefix length */
IPRULE_SUP_PREFIXLEN = (1 << 13),
+
+ /* rule specifies uidrange */
+ IPRULE_UIDRANGE = (1 << 14),
};
struct iprule {
struct interface_user out_iface_user;
/* device name */
- char in_dev[IFNAMSIZ + 1];
- char out_dev[IFNAMSIZ + 1];
+ char in_dev[IFNAMSIZ];
+ char out_dev[IFNAMSIZ];
/* everything below is used as avl tree key */
/* don't change the order */
unsigned int lookup;
unsigned int sup_prefixlen;
+ unsigned int uidrange_start;
+ unsigned int uidrange_end;
unsigned int action;
unsigned int gotoid;
};