Files
sing-box/common
世界 6a4ae5263e usbip: extract URBEngine + userspaceURBSession from darwin backend
Both the existing darwin backend and the upcoming windows backend
drive USB devices from user space (IOUSBHost CGO calls vs. VBoxUSB
IOCTLs). Refactor the per-attachment URB loop out of host_darwin.go
into a platform-agnostic userspaceURBSession that talks to a URBEngine
interface; the darwin-specific dispatch becomes a 30-line
darwinIOUSBHostEngine. Linux's kernelHandoffSession is untouched.

Move hex8 into shared.go and add usbipStatusEIO so the shared session
does not depend on golang.org/x/sys/unix (Windows has no equivalent).
2026-06-09 10:42:35 +08:00
..
2026-05-13 23:39:27 +08:00
2026-06-08 08:51:48 +08:00
2025-09-08 09:12:30 +08:00
2026-05-13 23:39:27 +08:00
2026-06-08 08:51:46 +08:00
2024-01-02 14:31:23 +08:00
2026-05-13 23:39:27 +08:00
2026-06-08 08:51:48 +08:00
2026-06-08 08:51:45 +08:00
2026-05-13 23:39:27 +08:00
2026-05-13 23:39:27 +08:00
2026-06-08 08:51:45 +08:00
2026-06-08 08:51:45 +08:00
2026-06-08 08:51:48 +08:00
2025-07-08 13:14:40 +08:00
2026-06-08 08:51:48 +08:00
2026-05-13 23:39:27 +08:00
2026-05-13 23:39:27 +08:00
2026-06-08 08:51:39 +08:00
2026-06-08 08:51:48 +08:00
2026-06-08 08:51:41 +08:00
2026-06-08 08:51:48 +08:00
2025-01-13 15:14:29 +08:00
2026-06-08 08:51:48 +08:00