get_fwmark


Description:

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