• Home
  • Raw
  • Download

Lines Matching refs:serial

485                       p->msg.arg0, p->msg.arg1, s->peer->id, p->msg.arg1, t->serial);  in handle_packet()
506 p->msg.arg1, t->serial, s->peer->transport->serial); in handle_packet()
699 int handle_forward_request(const char* service, transport_type ttype, char* serial, int reply_fd) in handle_forward_request() argument
760 transport = acquire_one_transport(CS_ANY, ttype, serial, &error_msg); in handle_forward_request()
799 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request() argument
826 serial = service; in handle_host_request()
830 transport = acquire_one_transport(CS_ANY, type, serial, &error_msg); in handle_host_request()
859 char* serial = service + 11; in handle_host_request() local
860 if (serial[0] == 0) { in handle_host_request()
866 if (!strchr(serial, ':')) { in handle_host_request()
867 snprintf(hostbuf, sizeof(hostbuf) - 1, "%s:5555", serial); in handle_host_request()
868 serial = hostbuf; in handle_host_request()
870 atransport *t = find_transport(serial); in handle_host_request()
875 snprintf(buffer, sizeof(buffer), "No such device %s", serial); in handle_host_request()
893 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
894 if (transport && transport->serial) { in handle_host_request()
895 out = transport->serial; in handle_host_request()
903 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
920 transport = acquire_one_transport(CS_ANY, ttype, serial, NULL); in handle_host_request()
927 int ret = handle_forward_request(service, ttype, serial, reply_fd); in handle_host_request()