Searched refs:port_nr (Results 1 – 2 of 2) sorted by relevance
275 int port_nr = 0; in lwip_getaddrinfo() local307 port_nr = atoi(servname); in lwip_getaddrinfo()308 if (port_nr == 0 && (servname[0] != '0')) { in lwip_getaddrinfo()312 if ((port_nr < 0) || (port_nr > 0xffff)) { in lwip_getaddrinfo()381 sa6->sin6_port = lwip_htons((u16_t)port_nr); in lwip_getaddrinfo()393 sa4->sin_port = lwip_htons((u16_t)port_nr); in lwip_getaddrinfo()
1385 DWORD size, port_nr, reg_type, install_state; in winusb_get_device_list() local1728 port_nr = 0; in winusb_get_device_list()1730 NULL, (PBYTE)&port_nr, sizeof(port_nr), &size) || (size != sizeof(port_nr))) in winusb_get_device_list()1732 r = init_device(dev, parent_dev, (uint8_t)port_nr, dev_info_data.DevInst); in winusb_get_device_list()