ip6_routes_to_gvalue


Description:


public void ip6_routes_to_gvalue (SList<IP6Route> list, Value value)

Utility function to convert a SList of IP6Route objects into a GenericArray of ValueArrays of (#GArray of uchars), uint32, (#GArray of uchars), and uint32 representing a list of NetworkManager IPv6 routes (which is a tuple of destination, prefix, next hop, 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 IP6Route 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