interface: allow renaming interface when moving to jail netns
[project/netifd.git] / system.h
index fe4497ec469b945d30a652c8fe92a193f2b4b65d..f8f8ec19f4df9f3c6d368395df8081e5049aef91 100644 (file)
--- a/system.h
+++ b/system.h
@@ -243,7 +243,7 @@ void system_fd_set_cloexec(int fd);
 
 int system_update_ipv6_mtu(struct device *dev, int mtu);
 
-int system_link_netns_move(const char *ifname, const pid_t target_ns);
+int system_link_netns_move(const char *ifname, const pid_t target_ns, const char *target_ifname);
 int system_netns_open(const pid_t target_ns);
 int system_netns_set(int netns_fd);