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.
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. |