Home
last modified time | relevance | path

Searched refs:mIsIPv6 (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp83 mIsIPv6 = false; in ARTPWriter()
136 mIsIPv6 = false; in ARTPWriter()
633 if (mIsIPv6) { in send()
660 (mIsIPv6 ? TCPIPV6_HEADER_SIZE : TCPIPV4_HEADER_SIZE)); in send()
871 … sdp.append(AStringPrintf("%d", mIsIPv6 ? ntohs(mRTPAddr6.sin6_port) : ntohs(mRTPAddr.sin_port))); in dumpSessionDesc()
1482 if (setsockopt(mRTPSocket, mIsIPv6 ? IPPROTO_IPV6 : IPPROTO_IP, mIsIPv6 ? IPV6_TCLASS : IP_TOS, in updateSocketOpt()
1487 setsockopt(mRTCPSocket, mIsIPv6 ? IPPROTO_IPV6 : IPPROTO_IP, mIsIPv6 ? IPV6_TCLASS : IP_TOS, in updateSocketOpt()
1632 mIsIPv6 = true; in makeSocketPairAndBind()
1634 mIsIPv6 = false; in makeSocketPairAndBind()
1636 mRTPSocket = socket(mIsIPv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, 0); in makeSocketPairAndBind()
[all …]
DARTPConnection.cpp97 mIsIPv6(false), in ARTPConnection()
688 bool isTOSHeader = ((cMsg->cmsg_level == (mIsIPv6 ? IPPROTO_IPV6 : IPPROTO_IP)) in handleIpHeadersIfReceived()
689 && (cMsg->cmsg_type == (mIsIPv6 ? IPV6_TCLASS : IP_TOS)) in handleIpHeadersIfReceived()
736 if (mIsIPv6) { in send()
1303 mIsIPv6 = (strchr(localIp, ':') != nullptr); in setIsIPv6()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DARTPConnection.h100 bool mIsIPv6; member
DARTPWriter.h92 bool mIsIPv6; member