Lines Matching refs:devlist
409 static struct usbip_devlist_data devlist; in handle_devlist_device() local
413 devlist.busnum = htonl(busnum); in handle_devlist_device()
414 devlist.devnum = htonl(devnum); in handle_devlist_device()
416 devlist.speed = htonl(udev->speed); in handle_devlist_device()
417 devlist.idVendor = htons(d_desc->idVendor); in handle_devlist_device()
418 devlist.idProduct = htons(d_desc->idProduct); in handle_devlist_device()
419 devlist.bcdDevice = htons(d_desc->bcdDevice); in handle_devlist_device()
420 devlist.bDeviceClass = d_desc->bDeviceClass; in handle_devlist_device()
421 devlist.bDeviceSubClass = d_desc->bDeviceSubClass; in handle_devlist_device()
422 devlist.bDeviceProtocol = d_desc->bDeviceProtocol; in handle_devlist_device()
424 devlist.bConfigurationValue = c_desc->bConfigurationValue; in handle_devlist_device()
425 devlist.bNumConfigurations = d_desc->bNumConfigurations; in handle_devlist_device()
426 devlist.bNumInterfaces = c_desc->bNumInterfaces; in handle_devlist_device()
428 snprintf(devlist.path, sizeof(devlist.path), USBIP_DEFAULT_PATH "%d", devnum); in handle_devlist_device()
429 snprintf(devlist.busid, sizeof(devlist.busid), "1-%d", devnum); in handle_devlist_device()
440 err = zsock_send(connfd, &devlist, sizeof(devlist), 0); in handle_devlist_device()
441 if (err != sizeof(devlist)) { in handle_devlist_device()