From 6518e361171f64bcaaa4bf868139362ed95cc2e0 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 20 Oct 2018 01:30:31 +0200 Subject: New upstream version 1.14.2 --- docs/libnm/html/NMDeviceWireGuard.html | 205 +++++++++++++++++++++++++++++++++ 1 file changed, 205 insertions(+) create mode 100644 docs/libnm/html/NMDeviceWireGuard.html (limited to 'docs/libnm/html/NMDeviceWireGuard.html') diff --git a/docs/libnm/html/NMDeviceWireGuard.html b/docs/libnm/html/NMDeviceWireGuard.html new file mode 100644 index 00000000..db34d4e7 --- /dev/null +++ b/docs/libnm/html/NMDeviceWireGuard.html @@ -0,0 +1,205 @@ + + + + +NMDeviceWireGuard: libnm Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMDeviceWireGuard

+

NMDeviceWireGuard

+
+
+

Functions

+ +
+
+

Types and Values

+ +
+
+

Description

+
+
+

Functions

+
+

nm_device_wireguard_get_public_key ()

+
GBytes *
+nm_device_wireguard_get_public_key (NMDeviceWireGuard *device);
+

Gets the public key for this interface

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceWireGuard

 
+
+
+

Returns

+

the GBytes containing the 32-byte public key.

+

[transfer none]

+
+

Since: 1.14

+
+
+
+

nm_device_wireguard_get_listen_port ()

+
guint16
+nm_device_wireguard_get_listen_port (NMDeviceWireGuard *device);
+

Gets the local UDP port this interface listens on

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceWireGuard

 
+
+
+

Returns

+

UDP listen port

+
+

Since: 1.14

+
+
+
+

nm_device_wireguard_get_fwmark ()

+
guint32
+nm_device_wireguard_get_fwmark (NMDeviceWireGuard *device);
+

Gets the fwmark (firewall mark) for this interface. +It can be used to set routing policy for outgoing encrypted packets. +See: ip-rule(8)

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceWireGuard

 
+
+
+

Returns

+

0 if fwmark not in use, 32-bit fwmark value otherwise

+
+

Since: 1.14

+
+
+
+

Types and Values

+
+

NM_DEVICE_WIREGUARD_PUBLIC_KEY

+
#define NM_DEVICE_WIREGUARD_PUBLIC_KEY   "public-key"
+
+
+
+
+

NM_DEVICE_WIREGUARD_LISTEN_PORT

+
#define NM_DEVICE_WIREGUARD_LISTEN_PORT  "listen-port"
+
+
+
+
+

NM_DEVICE_WIREGUARD_FWMARK

+
#define NM_DEVICE_WIREGUARD_FWMARK       "fwmark"
+
+
+
+
+ + + \ No newline at end of file -- cgit 1.3.0-6-gf8a5