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.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
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);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_new_handlers.c1640 char *iface, *net_id; local
1652 &net_id);
1653 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path ||
1660 id = strtoul(net_id, NULL, 10);
1754 char *iface, *net_id; local
1765 &net_id);
1766 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path ||
1773 id = strtoul(net_id, NULL, 10);
1808 char *iface, *net_id; local
1823 &net_id);
[all...]
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);

Completed in 115 milliseconds