[package] base-files: implement network_get_gateway(), network_get_gateway6(), networ...