diff options
Diffstat (limited to 'src/tools/netns.h')
-rw-r--r-- | src/tools/netns.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tools/netns.h b/src/tools/netns.h new file mode 100644 index 0000000..df7723a --- /dev/null +++ b/src/tools/netns.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2018 Julian orth <ju.orth@gmail.com>. All Rights Reserved. + */ + +#ifndef NETNS_H +#define NETNS_H + +#include <stdbool.h> + +#include "containers.h" + +bool netns_enter(struct wgnetns *netns); +bool netns_parse(struct wgnetns *netns, const char *arg); + +extern struct wgnetns netns_current; + +#endif |