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.c282 * net_id - NetID to use, NETID_UNSET indicates use of default network
284 void configure_interface(const char *uplink_interface, const char *plat_prefix, struct tun_data *tunnel, unsigned net_id) { argument
287 if(!read_config("/system/etc/clatd.conf", uplink_interface, plat_prefix, net_id)) {
440 unsigned net_id = NETID_UNSET; local
472 if (net_id_str != NULL && !parse_unsigned(net_id_str, &net_id)) {
510 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.c759 char *iface = NULL, *net_id = NULL; local
771 iface = wpas_dbus_decompose_object_path(op, &net_id, NULL);
772 if (iface == NULL || net_id == NULL) {
783 id = strtoul(net_id, NULL, 10);
807 os_free(net_id);
H A Ddbus_new_handlers.c1666 char *iface, *net_id; local
1678 &net_id);
1679 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path ||
1686 id = strtoul(net_id, NULL, 10);
1780 char *iface, *net_id; local
1791 &net_id);
1792 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path ||
1799 id = strtoul(net_id, NULL, 10);
1834 char *iface, *net_id; local
1849 &net_id);
[all...]

Completed in 173 milliseconds