Lines Matching refs:transport
106 if (s->transport == t || (s->peer && s->peer->transport == t)) { in close_all_sockets()
402 asocket* create_local_service_socket(std::string_view name, atransport* transport) { in create_local_service_socket() argument
408 unique_fd fd = service_to_fd(name, transport); in create_local_service_socket()
445 send_packet(p, s->transport); in remote_socket_enqueue()
455 send_packet(p, s->transport); in remote_socket_ready()
467 send_packet(p, s->transport); in remote_socket_shutdown()
496 s->transport = t; in create_remote_socket()
519 send_packet(p, s->transport); in connect_to_remote()
841 if (s->transport == nullptr) { in smart_socket_enqueue()
843 s->transport = acquire_one_transport(kTransportAny, nullptr, 0, nullptr, &error_msg); in smart_socket_enqueue()
844 if (s->transport == nullptr) { in smart_socket_enqueue()
851 if (!s->transport) { in smart_socket_enqueue()
854 } else if (!ConnectionStateIsOnline(s->transport->GetConnectionState())) { in smart_socket_enqueue()
872 s->peer->transport = s->transport; in smart_socket_enqueue()
924 if (transport) { in get_max_payload()
925 max_payload = std::min(max_payload, transport->get_max_payload()); in get_max_payload()
927 if (peer && peer->transport) { in get_max_payload()
928 max_payload = std::min(max_payload, peer->transport->get_max_payload()); in get_max_payload()