Home
last modified time | relevance | path

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

/external/android-clat/
Ddns64.c38 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix) { in plat_prefix() argument
49 status = android_getaddrinfofornet(ipv4_name, NULL, &hints, net_id, MARK_UNSET, &result); in plat_prefix()
Dconfig.c168 void dns64_detection(unsigned net_id) { in dns64_detection() argument
175 status = plat_prefix(Global_Clatd_Config.plat_from_dns64_hostname,net_id,&tmp_ptr); in dns64_detection()
301 unsigned net_id) { in read_config() argument
356 dns64_detection(net_id); in read_config()
Dclatd.c323 …(const char *uplink_interface, const char *plat_prefix, struct tun_data *tunnel, unsigned net_id) { in configure_interface() argument
326 if(!read_config("/system/etc/clatd.conf", uplink_interface, plat_prefix, net_id)) { in configure_interface()
480 unsigned net_id = NETID_UNSET; in main() local
512 if (net_id_str != NULL && !parse_unsigned(net_id_str, &net_id)) { in main()
550 configure_interface(uplink_interface, plat_prefix, &tunnel, net_id); in main()
Ddns64.h21 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix);
Dconfig.h42 unsigned net_id);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c1645 char *iface = NULL, *net_id = NULL; in wpas_dbus_handler_remove_network() local
1655 iface = wpas_dbus_new_decompose_object_path(op, 0, &net_id, NULL); in wpas_dbus_handler_remove_network()
1656 if (iface == NULL || net_id == NULL || in wpas_dbus_handler_remove_network()
1663 id = strtoul(net_id, NULL, 10); in wpas_dbus_handler_remove_network()
1701 os_free(net_id); in wpas_dbus_handler_remove_network()
1759 char *iface = NULL, *net_id = NULL; in wpas_dbus_handler_select_network() local
1768 iface = wpas_dbus_new_decompose_object_path(op, 0, &net_id, NULL); in wpas_dbus_handler_select_network()
1769 if (iface == NULL || net_id == NULL || in wpas_dbus_handler_select_network()
1776 id = strtoul(net_id, NULL, 10); in wpas_dbus_handler_select_network()
1793 os_free(net_id); in wpas_dbus_handler_select_network()
[all …]
Ddbus_old_handlers.c836 char *iface = NULL, *net_id = NULL; in wpas_dbus_iface_remove_network() local
848 iface = wpas_dbus_decompose_object_path(op, &net_id, NULL); in wpas_dbus_iface_remove_network()
860 id = strtoul(net_id, NULL, 10); in wpas_dbus_iface_remove_network()
884 os_free(net_id); in wpas_dbus_iface_remove_network()