Searched defs:net_id (Results 1 - 5 of 5) sorted by relevance

/external/android-clat/
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 Dclatd.c321 * net_id - NetID to use, NETID_UNSET indicates use of default network
323 void configure_interface(const char *uplink_interface, const char *plat_prefix, struct tun_data *tunnel, unsigned net_id) { argument
326 if(!read_config("/system/etc/clatd.conf", uplink_interface, plat_prefix, net_id)) {
480 unsigned net_id = NETID_UNSET; local
512 if (net_id_str != NULL && !parse_unsigned(net_id_str, &net_id)) {
550 configure_interface(uplink_interface, plat_prefix, &tunnel, net_id);
H A Dconfig.c166 * net_id - (optional) netId to use, NETID_UNSET indicates use of default network
168 void dns64_detection(unsigned net_id) { argument
175 status = plat_prefix(Global_Clatd_Config.plat_from_dns64_hostname,net_id,&tmp_ptr);
298 * net_id - (optional) netId to use, NETID_UNSET indicates use of default network
301 unsigned net_id) {
356 dns64_detection(net_id);
300 read_config(const char *file, const char *uplink_interface, const char *plat_prefix, unsigned net_id) argument
/external/wpa_supplicant_8/wpa_supplicant/dbus/
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);
H A Ddbus_new_handlers.c1645 char *iface = NULL, *net_id = NULL; local
1655 iface = wpas_dbus_new_decompose_object_path(op, 0, &net_id, NULL);
1656 if (iface == NULL || net_id == NULL ||
1663 id = strtoul(net_id, NULL, 10);
1701 os_free(net_id);
1759 char *iface = NULL, *net_id = NULL; local
1768 iface = wpas_dbus_new_decompose_object_path(op, 0, &net_id, NULL);
1769 if (iface == NULL || net_id == NULL ||
1776 id = strtoul(net_id, NULL, 10);
1793 os_free(net_id);
1812 char *iface = NULL, *net_id = NULL; local
[all...]

Completed in 995 milliseconds