get_fwmark


Description:

[ Version ( since = "1.14" ) ]
public uint32 get_fwmark ()

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:

this

a DeviceWireGuard

Returns:

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




2022 vala-language.org