ip6_routes_to_variant


Description:


public unowned Variant ip6_routes_to_variant (GenericArray<IPRoute> routes)

Utility function to convert a GenericArray of IPRoute objects representing IPv6 routes into a Variant of type 'a(ayuayu)' representing an array of NetworkManager IPv6 routes (which are tuples of route, prefix, next hop, and metric).

Parameters:

routes

an array of IPRoute objects

Returns:

a new floating Variant representing routes.


Namespace: NM.Utils
Package: libnm