Searched refs:net_id (Results 1 – 2 of 2) sorted by relevance
396 local counter host_id host_range is_counter max_host_id min_host_id net_id prefix tmp type460 net_id=$(((tmp - 1) / host_range))461 host_id=$((tmp - net_id * host_range + min_host_id - 1))463 net_id="$1"466 net_id=$(printf %d $net_id)472 net_id=$((net_id % (max_net_id - min_net_id + 1) + min_net_id))475 echo "${IPV4_NET16_UNUSED}.${net_id}.${host_id}${prefix}"480 [ $net_id -gt 0 ] && net_id="$(printf %x $net_id)" || net_id=481 [ "$net_id" ] && net_id=":$net_id"482 echo "${IPV6_NET32_UNUSED}${net_id}::${host_id}${prefix}"
1780 char *iface, *net_id; in wpas_dbus_handler_remove_network() local1791 &net_id); in wpas_dbus_handler_remove_network()1792 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path || in wpas_dbus_handler_remove_network()1799 id = strtoul(net_id, NULL, 10); in wpas_dbus_handler_remove_network()1856 char *iface, *net_id; in wpas_dbus_handler_select_network() local1867 &net_id); in wpas_dbus_handler_select_network()1868 if (iface == NULL || net_id == NULL || !wpa_s->dbus_new_path || in wpas_dbus_handler_select_network()1875 id = strtoul(net_id, NULL, 10); in wpas_dbus_handler_select_network()1910 char *iface, *net_id; in wpas_dbus_handler_network_reply() local1925 &net_id); in wpas_dbus_handler_network_reply()[all …]