• Home
  • Raw
  • Download

Lines Matching refs:sock_

483       RTC_DCHECK(!sock_);  in SetDtlsTransport()
524 RTC_DCHECK(!sock_); in Start()
626 if (!sock_) { in SendMessageInternal()
658 sock_, message->data(), message->size(), NULL, 0, &spa, in SendMessageInternal()
713 RTC_DCHECK(!sock_); in Connect()
714 if (sock_) { in Connect()
730 if (usrsctp_bind(sock_, reinterpret_cast<sockaddr*>(&local_sconn), in Connect()
741 sock_, reinterpret_cast<sockaddr*>(&remote_sconn), sizeof(remote_sconn)); in Connect()
758 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_PEER_ADDR_PARAMS, &params, in Connect()
772 if (sock_) { in OpenSctpSocket()
786 sock_ = usrsctp_socket( in OpenSctpSocket()
789 if (!sock_) { in OpenSctpSocket()
798 usrsctp_close(sock_); in OpenSctpSocket()
799 sock_ = nullptr; in OpenSctpSocket()
812 RTC_DCHECK(sock_); in ConfigureSctpSocket()
815 if (usrsctp_set_non_blocking(sock_, 1) < 0) { in ConfigureSctpSocket()
828 if (usrsctp_setsockopt(sock_, SOL_SOCKET, SO_LINGER, &linger_opt, in ConfigureSctpSocket()
840 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_ENABLE_STREAM_RESET, in ConfigureSctpSocket()
850 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_NODELAY, &nodelay, in ConfigureSctpSocket()
860 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_EXPLICIT_EOR, &eor, in ConfigureSctpSocket()
877 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_EVENT, &event, in ConfigureSctpSocket()
891 if (sock_) { in CloseSctpSocket()
895 usrsctp_close(sock_); in CloseSctpSocket()
896 sock_ = nullptr; in CloseSctpSocket()
941 usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_RESET_STREAMS, resetp, in SendQueuedStreamResets()
1024 if (sock_) { in OnPacketRead()