Searched refs:sock_ (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/talk/media/sctp/ |
D | sctpdataengine.cc | 370 sock_(NULL), in SctpDataMediaChannel() 398 if (sock_) { in OpenSctpSocket() 409 sock_ = usrsctp_socket(AF_CONN, SOCK_STREAM, IPPROTO_SCTP, in OpenSctpSocket() 413 if (!sock_) { in OpenSctpSocket() 420 if (usrsctp_set_non_blocking(sock_, 1) < 0) { in OpenSctpSocket() 431 if (usrsctp_setsockopt(sock_, SOL_SOCKET, SO_LINGER, &linger_opt, in OpenSctpSocket() 441 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_ENABLE_STREAM_RESET, in OpenSctpSocket() 450 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_NODELAY, &nodelay, in OpenSctpSocket() 461 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_PEER_ADDR_PARAMS, ¶ms, in OpenSctpSocket() 479 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_EVENT, &event, in OpenSctpSocket() [all …]
|
D | sctpdataengine.h | 186 const struct socket* socket() const { return sock_; } in socket() 232 struct socket* sock_; // The socket created by usrsctp_socket(...). variable
|
/external/boringssl/src/crypto/bio/ |
D | bio_test.cc | 62 ScopedSocket(int sock) : sock_(sock) {} in ScopedSocket() 64 closesocket(sock_); in ~ScopedSocket() 68 const int sock_; member in ScopedSocket
|
/external/boringssl/src/ssl/test/ |
D | bssl_shim.cc | 684 explicit SocketCloser(int sock) : sock_(sock) {} in SocketCloser() 690 shutdown(sock_, SD_SEND); in ~SocketCloser() 692 shutdown(sock_, SHUT_WR); in ~SocketCloser() 696 if (recv(sock_, buf, sizeof(buf), 0) <= 0) { in ~SocketCloser() 700 closesocket(sock_); in ~SocketCloser() 704 const int sock_; member in SocketCloser
|