ip4_addresses_from_gvalue


Description:


public SList<IP4Address> ip4_addresses_from_gvalue (Value value)

Utility function to convert a GenericArray of Arrays of uint32s representing a list of NetworkManager IPv4 addresses (which is a tuple of address, gateway, and prefix) into a SList of IP4Address objects.

The specific format of this serialization is not guaranteed to be stable and the Array may be extended in the future.

Parameters:

value

Value containing a GenericArray of Arrays of uint32s

Returns:

a newly allocated SList of IP4Address objects


Namespace: NM.Utils
Package: libnm-util