Searched refs:net_id (Results 1 – 9 of 9) sorted by relevance
/external/ltp/testcases/lib/ |
D | tst_net.sh | 361 local counter host_id net_id max_host_id max_net_id tmp type 382 net_id=$((tmp / max_host_id)) 386 net_id=$((net_id - 1)) 389 net_id="$1" 392 net_id=$(printf %d $net_id) 395 [ $net_id -lt 0 ] && net_id=0 399 net_id=$((net_id % max_net_id)) 403 echo "${IPV4_NET16_UNUSED}.${net_id}.${host_id}" 408 [ $net_id -gt 0 ] && net_id="$(printf %x $net_id)" || net_id= 409 [ "$net_id" ] && net_id=":$net_id" [all …]
|
/external/android-clat/ |
D | dns64.c | 40 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix) { in plat_prefix() argument 52 if (net_id != NETID_UNSET) { in plat_prefix() 53 net_id |= NETID_USE_LOCAL_NAMESERVERS; in plat_prefix() 56 status = android_getaddrinfofornet(ipv4_name, NULL, &hints, net_id, MARK_UNSET, &result); in plat_prefix()
|
D | main.c | 60 unsigned net_id = NETID_UNSET; in main() local 101 if (net_id_str != NULL && !parse_unsigned(net_id_str, &net_id)) { in main() 145 configure_interface(uplink_interface, plat_prefix, v4_addr, v6_addr, &tunnel, net_id); in main()
|
D | config.c | 176 void dns64_detection(unsigned net_id) { in dns64_detection() argument 183 status = plat_prefix(Global_Clatd_Config.plat_from_dns64_hostname, net_id, &tmp_ptr); in dns64_detection() 310 unsigned net_id) { in read_config() argument 363 dns64_detection(net_id); in read_config()
|
D | dns64.h | 21 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix);
|
D | config.h | 43 unsigned net_id);
|
D | clatd.h | 47 const char *v6, struct tun_data *tunnel, unsigned net_id);
|
D | clatd.c | 357 const char *v6_addr, struct tun_data *tunnel, unsigned net_id) { in configure_interface() argument 359 if (!read_config("/system/etc/clatd.conf", uplink_interface, plat_prefix, net_id)) { in configure_interface()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 1740 char *iface, *net_id; in wpas_dbus_handler_remove_network() local 1751 &net_id); in wpas_dbus_handler_remove_network() 1752 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path || in wpas_dbus_handler_remove_network() 1759 id = strtoul(net_id, NULL, 10); in wpas_dbus_handler_remove_network() 1838 char *iface, *net_id; in wpas_dbus_handler_select_network() local 1849 &net_id); in wpas_dbus_handler_select_network() 1850 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path || in wpas_dbus_handler_select_network() 1857 id = strtoul(net_id, NULL, 10); in wpas_dbus_handler_select_network() 1892 char *iface, *net_id; in wpas_dbus_handler_network_reply() local 1907 &net_id); in wpas_dbus_handler_network_reply() [all …]
|