Lines Matching refs:port_nb
199 if (current->port_nb == 0) {
247 * \fn SANE_Status escl_device_add(int port_nb, const char *model_name, char *ip_address, char *type)
255 escl_device_add(int port_nb,
268 snprintf(url_port, sizeof(url_port), "https://%s:%d", ip_address, port_nb);
286 current->port_nb = port_nb;
292 else if (current->port_nb == port_nb)
301 current->port_nb = port_nb;
408 unix_path, cdev->https ? "s" : "", cdev->ip_address, cdev->port_nb);
416 unix_path, cdev->https ? "s" : "", cdev->ip_address, cdev->port_nb);
577 escl_device->port_nb = port;
599 snprintf(url_port, sizeof(url_port), "https://%s:%d", escl_device->ip_address, escl_device->port_nb);
1172 device->port_nb = atoi(port_str);
1173 if (device->port_nb < 1 || device->port_nb > 65535) {
1879 device->port_nb, path);
1884 device->port_nb, path);