/tools/usb/usbip/libsrc/ |
D | vhci_driver.c | 57 int port, status, speed, devid; in parse_status() local 62 &port, &status, &speed, in parse_status() 71 port, status, speed, devid); in parse_status() 77 struct usbip_imported_device *idev = &vhci_driver->idev[port]; in parse_status() 79 idev->port = port; in parse_status() 165 char *port, unsigned long port_len, char *busid) in read_record() argument 207 if (sscanf(buffer, "%s %s %s\n", host, port, busid) != 3) { in read_record() 301 int usbip_vhci_attach_device2(uint8_t port, int sockfd, uint32_t devid, in usbip_vhci_attach_device2() argument 310 port, sockfd, devid, speed); in usbip_vhci_attach_device2() 324 dbg("attached port: %d", port); in usbip_vhci_attach_device2() [all …]
|
D | vhci_driver.h | 17 uint8_t port; member 48 int usbip_vhci_attach_device2(uint8_t port, int sockfd, uint32_t devid, 52 int usbip_vhci_attach_device(uint8_t port, int sockfd, uint8_t busnum, 55 int usbip_vhci_detach_device(uint8_t port);
|
/tools/usb/usbip/src/ |
D | usbip_detach.c | 44 static int detach_port(char *port) in detach_port() argument 50 unsigned int port_len = strlen(port); in detach_port() 53 if (!isdigit(port[i])) { in detach_port() 54 err("invalid port %s", port); in detach_port() 60 portnum = atoi(port); in detach_port()
|
D | usbip_attach.c | 51 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument 80 host, port, busid); in record_connection() 96 int port; in import_device() local 104 port = usbip_vhci_get_free_port(); in import_device() 105 if (port < 0) { in import_device() 111 rc = usbip_vhci_attach_device(port, sockfd, udev->busnum, in import_device() 121 return port; in import_device()
|
D | usbip_network.c | 42 unsigned long int port = strtoul(arg, &end, 10); in usbip_setup_port_number() local 54 if (port > UINT16_MAX) { in usbip_setup_port_number() 60 usbip_port = port; in usbip_setup_port_number()
|
D | usbipd.c | 311 char host[NI_MAXHOST], port[NI_MAXSERV]; in do_accept() local 323 port, sizeof(port), NI_NUMERICHOST | NI_NUMERICSERV); in do_accept() 335 info("connection from %s:%s", host, port); in do_accept()
|
D | usbip_network.h | 183 int usbip_net_tcp_connect(char *hostname, char *port);
|
/tools/usb/usbip/ |
D | README | 64 client:# usbip port 65 - Show virtual port status. 67 client:# usbip detach --port <port> 171 port 0 attached 175 deux:# usbip port 186 deux:# usbip detach --port 0 187 port 0 detached 196 - usbip now uses TCP port 3240.
|
/tools/testing/selftests/net/ |
D | psock_lib.h | 71 static __maybe_unused void pair_udp_open(int fds[], uint16_t port) in pair_udp_open() argument 84 saddr.sin_port = htons(port); in pair_udp_open() 89 daddr.sin_port = htons(port + 1); in pair_udp_open()
|
D | reuseport_bpf.c | 44 static struct sockaddr *new_any_sockaddr(int family, uint16_t port) in new_any_sockaddr() argument 58 addr4->sin_port = htons(port); in new_any_sockaddr() 64 addr6->sin6_port = htons(port); in new_any_sockaddr() 72 static struct sockaddr *new_loopback_sockaddr(int family, uint16_t port) in new_loopback_sockaddr() argument 74 struct sockaddr *addr = new_any_sockaddr(family, port); in new_loopback_sockaddr()
|
/tools/lguest/ |
D | lguest.c | 1329 static bool is_pci_addr_port(u16 port) in is_pci_addr_port() argument 1331 return port >= PCI_CONFIG_ADDR && port < PCI_CONFIG_ADDR + 4; in is_pci_addr_port() 1334 static bool pci_addr_iowrite(u16 port, u32 mask, u32 val) in pci_addr_iowrite() argument 1336 iowrite(port - PCI_CONFIG_ADDR, val, mask, in pci_addr_iowrite() 1348 static void pci_addr_ioread(u16 port, u32 mask, u32 *val) in pci_addr_ioread() argument 1350 ioread(port - PCI_CONFIG_ADDR, pci_config_addr.val, mask, val); in pci_addr_ioread() 1354 static bool is_pci_data_port(u16 port) in is_pci_data_port() argument 1356 return port >= PCI_CONFIG_DATA && port < PCI_CONFIG_DATA + 4; in is_pci_data_port() 1361 static bool pci_data_iowrite(u16 port, u32 mask, u32 val) in pci_data_iowrite() argument 1371 portoff = port - PCI_CONFIG_DATA; in pci_data_iowrite() [all …]
|
/tools/virtio/virtio-trace/ |
D | README | 74 <address type='virtio-serial' controller='0' bus='0' port='0'/> 79 <address type='virtio-serial' controller='0' bus='0' port='1'/>
|