summaryrefslogtreecommitdiff
path: root/iprule.h
diff options
context:
space:
mode:
Diffstat (limited to 'iprule.h')
-rw-r--r--iprule.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/iprule.h b/iprule.h
index b723bdb..f05c3c9 100644
--- a/iprule.h
+++ b/iprule.h
@@ -74,6 +74,15 @@ struct iprule {
bool invert;
+ /* uci interface name */
+ char *in_iface;
+ char *out_iface;
+
+ /* to receive interface events */
+ struct interface_user in_iface_user;
+ struct interface_user out_iface_user;
+
+ /* device name */
char in_dev[IFNAMSIZ + 1];
char out_dev[IFNAMSIZ + 1];