about summary refs log tree commit diff
path: root/introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2019-01-25 10:52:15 +0100
committerSebastien Bacher <seb128@ubuntu.com>2019-01-25 11:24:27 +0100
commite8ac7dacdcf4b38addef4f8ac6ab038f9d29582c (patch)
tree017883e210043859ee695250f6285380b795f8e4 /introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml
parentb05c072fe2594e0369cbfb00a3fba176d2d309dc (diff)
parent1b878e595ff7be634a4800ca6cc506046e49548e (diff)
Merge remote-tracking branch 'salsa/master' into disco
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>