Home | History | Annotate | Download | only in ServiceRegistration

Lines Matching defs:routes

1788                 INFO("prefixes array not present in IPv6:Routes event.");
1818 xpc_dictionary_set_string(dict, "property_name", "IPv6:Routes");
1820 errx = setup_for_command(ref, client_queue, "get_prefix_list", "IPv6:Routes", NULL, dict, "WpanctlCmd",
1834 cti_route_vec_finalize(cti_route_vec_t *routes)
1838 if (routes->routes != NULL) {
1839 for (i = 0; i < routes->num; i++) {
1840 if (routes->routes[i] != NULL) {
1841 RELEASE_HERE(routes->routes[i], cti_route);
1844 free(routes->routes);
1846 free(routes);
1852 cti_route_vec_t *routes = calloc(1, sizeof(*routes));
1853 if (routes != NULL) {
1855 routes->routes = calloc(num_routes, sizeof(cti_route_t *));
1856 if (routes->routes == NULL) {
1857 free(routes);
1861 routes->num = num_routes;
1862 RETAIN(routes, cti_route_vec);
1864 return routes;
1868 cti_route_vec_release_(cti_route_vec_t *routes, const char *file, int line)
1870 RELEASE(routes, cti_route_vec);
1897 cti_route_vec_t *routes = cti_route_vec_create(routes_array_length);
1900 if (routes == NULL) {
1924 ERROR("Invalid routes array %zu subdictionary %zu: no key", i, j);
1933 ERROR("Invalid routes array %zu subdictionary %zu: NULL origin", i, j);
1952 ERROR("Invalid routes array %zu subdictionary %zu: NULL preference", i, j);
1963 ERROR("Invalid routes array %zu subdictionary %zu: NULL address", i, j);
1975 ERROR("routes array %zu: destination is longer than maximum IPv6 address string: " PRI_S_SRP,
1997 ERROR("Invalid routes array %zu subdictionary %zu: unknown key " PUB_S_SRP, i, j, key);
2012 routes->routes[i] = r;
2022 *vec_ret = routes;
2024 if (routes != NULL) {
2025 RELEASE_HERE(routes, cti_route_vec);