Searched refs:net_id (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/lib/ |
D | tst_net.sh | 478 local counter host_id host_range is_counter max_host_id min_host_id net_id prefix= tmp type 542 net_id=$(((tmp - 1) / host_range)) 543 host_id=$((tmp - net_id * host_range + min_host_id - 1)) 545 net_id="$1" 548 net_id=$(printf %d $net_id) 554 net_id=$((net_id % (max_net_id - min_net_id + 1) + min_net_id)) 557 echo "${IPV4_NET16_UNUSED}.${net_id}.${host_id}${prefix}" 562 [ $net_id -gt 0 ] && net_id="$(printf %x $net_id)" || net_id= 563 [ "$net_id" ] && net_id=":$net_id" 564 echo "${IPV6_NET32_UNUSED}${net_id}::${host_id}${prefix}"
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 2069 char *iface, *net_id; in wpas_dbus_handler_remove_network() local 2080 &net_id); in wpas_dbus_handler_remove_network() 2081 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path || in wpas_dbus_handler_remove_network() 2088 id = strtoul(net_id, NULL, 10); in wpas_dbus_handler_remove_network() 2145 char *iface, *net_id; in wpas_dbus_handler_select_network() local 2156 &net_id); in wpas_dbus_handler_select_network() 2157 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path || in wpas_dbus_handler_select_network() 2164 id = strtoul(net_id, NULL, 10); in wpas_dbus_handler_select_network() 2199 char *iface, *net_id; in wpas_dbus_handler_network_reply() local 2214 &net_id); in wpas_dbus_handler_network_reply() [all …]
|