ip4_routes_from_gvalue


Description:


public SList<IP4Route> ip4_routes_from_gvalue (Value value)

Utility function to convert a GenericArray of Arrays of uint32s representing a list of NetworkManager IPv4 routes (which is a tuple of route, next hop, prefix, and metric) into a SList of IP4Route objects.

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

Parameters:

value

Value containing a GenericArray of Arrays of uint32s

Returns:

a newly allocated SList of IP4Route objects


Namespace: NM.Utils
Package: libnm-util