diff options
author | Thomas Haller <thaller@redhat.com> | 2016-03-07 12:49:27 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-03-07 12:49:27 +0100 |
commit | b2b73809c5e2e9422b4e19716284a8b969832a3e (patch) | |
tree | b47f416ac99aa4bb68fec5b3e42f9392ba2a786a /src/platform/nm-platform.h | |
parent | 6165df788d58c3338e92efbcbd0514bf1e900c63 (diff) | |
parent | c7b38625036948168fe54d5f7a06b70ccef626ef (diff) | |
download | NetworkManager-b2b73809c5e2e9422b4e19716284a8b969832a3e.tar.gz |
platform: merge branch 'th/platform-netns-bgo762408'
https://bugzilla.gnome.org/show_bug.cgi?id=762408
Diffstat (limited to 'src/platform/nm-platform.h')
-rw-r--r-- | src/platform/nm-platform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h index cbc13e27fd..1f4f3739fa 100644 --- a/src/platform/nm-platform.h +++ b/src/platform/nm-platform.h @@ -42,6 +42,7 @@ /******************************************************************/ +#define NM_PLATFORM_NETNS_SUPPORT "netns-support" #define NM_PLATFORM_REGISTER_SINGLETON "register-singleton" /******************************************************************/ @@ -462,6 +463,8 @@ typedef struct { struct _NMPlatform { GObject parent; + + NMPNetns *_netns; }; typedef struct { @@ -669,6 +672,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); |