summaryrefslogtreecommitdiffhomepage
path: root/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index 22738a9..0d384ef 100644
--- a/interface.h
+++ b/interface.h
@@ -108,6 +108,8 @@ struct interface {
const char *name;
const char *ifname;
+ const char *jail;
+ int netns_fd;
bool available;
bool autostart;
@@ -205,5 +207,7 @@ void interface_update_start(struct interface *iface, const bool keep_old);
void interface_update_complete(struct interface *iface);
void interface_start_pending(void);
+void interface_start_jail(const char *jail, const pid_t netns_pid);
+void interface_stop_jail(const char *jail, const pid_t netns_pid);
#endif