ip4_routes_to_gvalue


Description:


public void ip4_routes_to_gvalue (SList<IP4Route> list, Value value)

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

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

Parameters:

list

a list of IP4Route objects

value

a pointer to a Value into which to place the converted routes, which should be unset by the caller (when no longer needed) with unset.


Namespace: NM.Utils
Package: libnm-util



2022 vala-language.org