summaryrefslogtreecommitdiff
path: root/src/platform/nm-platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/nm-platform.h')
-rw-r--r--src/platform/nm-platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h
index 151a33794c..3d1ab823c0 100644
--- a/src/platform/nm-platform.h
+++ b/src/platform/nm-platform.h
@@ -460,6 +460,8 @@ typedef struct {
struct _NMPlatform {
GObject parent;
+
+ NMPNetns *_netns;
};
typedef struct {
@@ -666,6 +668,9 @@ _nm_platform_uint8_inv (guint8 scope)
return (guint8) ~scope;
}
+NMPNetns *nm_platform_netns_get (NMPlatform *self);
+gboolean nm_platform_netns_push (NMPlatform *platform, NMPNetns **netns);
+
const char *nm_link_type_to_string (NMLinkType link_type);
const char *_nm_platform_error_to_string (NMPlatformError error);