Lines Matching refs:serial
752 int serial_len = strlen(l->transport->serial); in format_listener()
756 l->transport->serial, l->local_name, l->connect_to); in format_listener()
1390 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request() argument
1420 serial = service; in handle_host_request()
1423 transport = acquire_one_transport(CS_ANY, type, serial, &error_string); in handle_host_request()
1454 char* serial = service + 11; in handle_host_request() local
1455 if (serial[0] == 0) { in handle_host_request()
1461 if (!strchr(serial, ':')) { in handle_host_request()
1462 snprintf(hostbuf, sizeof(hostbuf) - 1, "%s:5555", serial); in handle_host_request()
1463 serial = hostbuf; in handle_host_request()
1465 atransport *t = find_transport(serial); in handle_host_request()
1470 snprintf(buffer, sizeof(buffer), "No such device %s", serial); in handle_host_request()
1490 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
1491 if (transport && transport->serial) { in handle_host_request()
1492 out = transport->serial; in handle_host_request()
1500 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
1576 transport = acquire_one_transport(CS_ANY, ttype, serial, &err); in handle_host_request()
1613 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()