Home
last modified time | relevance | path

Searched refs:sizeSockSt (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp259 int sizeSockSt = isIPv6 ? sizeof(addr6) : sizeof(addr4); in MakeRTPSocketPair() local
261 if (bind(*rtpSocket, addr, sizeSockSt) == 0) { in MakeRTPSocketPair()
273 if (bind(*rtcpSocket, addr, sizeSockSt) == 0) { in MakeRTPSocketPair()
292 if (connect(*rtpSocket, addr, sizeSockSt) == 0) { in MakeRTPSocketPair()
305 if (connect(*rtcpSocket, addr, sizeSockSt) == 0) { in MakeRTPSocketPair()
732 int sizeSockSt; in send() local
738 sizeSockSt = sizeof(struct sockaddr_in6); in send()
741 sizeSockSt = sizeof(struct sockaddr_in); in send()
747 sizeSockSt = 0; in send()
754 pRemoteRTCPAddr, sizeSockSt); in send()
DARTPWriter.cpp630 int sizeSockSt; in send() local
634 sizeSockSt = sizeof(struct sockaddr_in6); in send()
640 sizeSockSt = sizeof(struct sockaddr_in); in send()
653 buffer->data(), buffer->size(), 0, remAddr, sizeSockSt); in send()
1680 int sizeSockSt = mIsIPv6 ? sizeof(mLocalAddr6) : sizeof(mLocalAddr); in makeSocketPairAndBind() local
1682 if (bind(mRTPSocket, localAddr, sizeSockSt) == -1) { in makeSocketPairAndBind()
1693 if (bind(mRTCPSocket, localAddr, sizeSockSt) == -1) { in makeSocketPairAndBind()