Top |
GBytes * | nm_device_wireguard_get_public_key () |
guint16 | nm_device_wireguard_get_listen_port () |
guint32 | nm_device_wireguard_get_fwmark () |
#define | NM_DEVICE_WIREGUARD_PUBLIC_KEY |
#define | NM_DEVICE_WIREGUARD_LISTEN_PORT |
#define | NM_DEVICE_WIREGUARD_FWMARK |
NMDeviceWireGuard |
GBytes *
nm_device_wireguard_get_public_key (NMDeviceWireGuard *device
);
Gets the public key for this interface
Since: 1.14
guint16
nm_device_wireguard_get_listen_port (NMDeviceWireGuard *device
);
Gets the local UDP port this interface listens on
Since: 1.14
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)
Since: 1.14
“fwmark”
property “fwmark” guint
Optional firewall mark - see ip-rule(8). Used when setting routing policy for outgoing encrypted packets. Set to 0 to disable the mark (default).
Owner: NMDeviceWireGuard
Flags: Read
Default value: 0
Since: 1.14
“listen-port”
property “listen-port” guint
Local UDP listen port. Set to 0 to allow a random port to be chosen (default).
Owner: NMDeviceWireGuard
Flags: Read
Allowed values: <= 65535
Default value: 0
Since: 1.14