Searched refs:net_id (Results 1 - 7 of 7) sorted by relevance

/external/android-clat/
H A Ddns64.h21 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix);
H A Ddns64.c35 * net_id - (optional) netId to use, NETID_UNSET indicates use of default network
38 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix) { argument
49 status = android_getaddrinfofornet(ipv4_name, NULL, &hints, net_id, MARK_UNSET, &result);
H A Dconfig.h43 unsigned net_id);
H A Dconfig.c154 * net_id - (optional) netId to use, NETID_UNSET indicates use of default network
156 void dns64_detection(unsigned net_id) { argument
163 status = plat_prefix(Global_Clatd_Config.plat_from_dns64_hostname,net_id,&tmp_ptr);
221 * net_id - (optional) netId to use, NETID_UNSET indicates use of default network
224 unsigned net_id) {
277 dns64_detection(net_id);
223 read_config(const char *file, const char *uplink_interface, const char *plat_prefix, unsigned net_id) argument
H A Dclatd.c283 * net_id - NetID to use, NETID_UNSET indicates use of default network
285 void configure_interface(const char *uplink_interface, const char *plat_prefix, struct tun_data *tunnel, unsigned net_id) { argument
288 if(!read_config("/system/etc/clatd.conf", uplink_interface, plat_prefix, net_id)) {
442 unsigned net_id = NETID_UNSET; local
475 if (net_id_str != NULL && !parse_unsigned(net_id_str, &net_id)) {
507 configure_interface(uplink_interface, plat_prefix, &tunnel, net_id);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_new_handlers.c1562 char *iface = NULL, *net_id = NULL; local
1572 iface = wpas_dbus_new_decompose_object_path(op, 0, &net_id, NULL);
1573 if (iface == NULL || net_id == NULL ||
1580 id = strtoul(net_id, NULL, 10);
1618 os_free(net_id);
1676 char *iface = NULL, *net_id = NULL; local
1685 iface = wpas_dbus_new_decompose_object_path(op, 0, &net_id, NULL);
1686 if (iface == NULL || net_id == NULL ||
1693 id = strtoul(net_id, NULL, 10);
1710 os_free(net_id);
1729 char *iface = NULL, *net_id = NULL; local
[all...]
H A Ddbus_old_handlers.c836 char *iface = NULL, *net_id = NULL; local
848 iface = wpas_dbus_decompose_object_path(op, &net_id, NULL);
860 id = strtoul(net_id, NULL, 10);
884 os_free(net_id);

Completed in 130 milliseconds