about summary refs log tree commit diff
path: root/introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-10-30 10:26:10 +0100
committerMichael Biebl <biebl@debian.org>2018-10-30 10:26:10 +0100
commitbd8ab7e82b1ae4e8899b30a59a7b35ba009344ea (patch)
tree83691f38efeef4d5dd7a85c0893fa8a54274728f /introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml
parentc15221a34c0af3a5b2c03dfe80c2a9841acefb03 (diff)
parent3cdef184c37fa2c152f8542c6107f8a623735a1c (diff)
Merge branch 'master' into stretch-backports
Diffstat (limited to 'introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml')
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml b/introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml
new file mode 100644
index 00000000..8a18d9bd
--- /dev/null
+++ b/introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+  <!--
+      org.freedesktop.NetworkManager.Device.WireGuard:
+      @short_description: WireGuard Device
+
+  -->
+  <interface name="org.freedesktop.NetworkManager.Device.WireGuard">
+
+    <!--
+        PublicKey:
+
+        32-byte public WireGuard key.
+    -->
+    <property name="PublicKey" type="ay" access="read">
+      <!-- gdbus-codegen assumes that "ay" means "non-UTF-8 string" and
+           won't deal with '\0' bytes correctly.
+      -->
+      <annotation name="org.gtk.GDBus.C.ForceGVariant" value="1"/>
+    </property>
+
+    <!--
+        ListenPort:
+
+        Local UDP listening port.
+    -->
+    <property name="ListenPort" type="q" access="read"/>
+
+    <!--
+        FwMark:
+
+        Optional 32-bit mark used to set routing policy for outgoing encrypted packets.
+        See: ip-rule(8)
+    -->
+    <property name="FwMark" type="u" access="read"/>
+  </interface>
+</node>