Lines Matching refs:transport
118 if (s->transport == t || (s->peer && s->peer->transport == t)) { in close_all_sockets()
402 asocket* create_local_service_socket(const char* name, const atransport* transport) { in create_local_service_socket() argument
411 int fd = service_to_fd(name, transport); in create_local_service_socket()
454 send_packet(p, s->transport); in remote_socket_enqueue()
464 send_packet(p, s->transport); in remote_socket_ready()
476 send_packet(p, s->transport); in remote_socket_shutdown()
509 s->transport = t; in create_remote_socket()
529 send_packet(p, s->transport); in connect_to_remote()
794 if (s->transport == nullptr) { in smart_socket_enqueue()
796 s->transport = acquire_one_transport(kTransportAny, nullptr, 0, nullptr, &error_msg); in smart_socket_enqueue()
797 if (s->transport == nullptr) { in smart_socket_enqueue()
804 if (!s->transport) { in smart_socket_enqueue()
807 } else if (s->transport->GetConnectionState() == kCsOffline) { in smart_socket_enqueue()
825 s->peer->transport = s->transport; in smart_socket_enqueue()
881 if (transport) { in get_max_payload()
882 max_payload = std::min(max_payload, transport->get_max_payload()); in get_max_payload()
884 if (peer && peer->transport) { in get_max_payload()
885 max_payload = std::min(max_payload, peer->transport->get_max_payload()); in get_max_payload()