Home
last modified time | relevance | path

Searched refs:htons (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/voip/src/jni/rtp/
Dutil.cpp45 sin->sin_port = htons(port); in parse()
53 sin6->sin6_port = htons(port); in parse()
DRtpStream.cpp75 *p = htons(port); in create()
/frameworks/av/media/libstagefright/rtsp/
DUDPPusher.cpp51 mRemoteAddr.sin_port = htons(port); in UDPPusher()
131 tmp.sin_port = htons(ntohs(mRemoteAddr.sin_port) | 1); in onMessageReceived()
DARTPConnection.cpp159 addr.sin_port = htons(port); in MakePortPair()
166 addr.sin_port = htons(port + 1); in MakePortPair()
246 addr6.sin6_port = htons((uint16_t)localPort); in MakeRTPSocketPair()
252 addr4.sin_port = htons((uint16_t)localPort); in MakeRTPSocketPair()
269 addr6.sin6_port = htons(localPort + 1); in MakeRTPSocketPair()
271 addr4.sin_port = htons(localPort + 1); in MakeRTPSocketPair()
285 addr6.sin6_port = htons((uint16_t)remotePort); in MakeRTPSocketPair()
290 addr4.sin_port = htons((uint16_t)remotePort); in MakeRTPSocketPair()
301 addr6.sin6_port = htons(remotePort + 1); in MakeRTPSocketPair()
303 addr4.sin_port = htons(remotePort + 1); in MakeRTPSocketPair()
DARTPWriter.cpp103 mRTPAddr.sin_port = htons(5634); in ARTPWriter()
107 mRTCPAddr.sin_port = htons(ntohs(mRTPAddr.sin_port) | 1); in ARTPWriter()
1652 mLocalAddr6.sin6_port = htons((uint16_t)localPort); in makeSocketPairAndBind()
1656 mRTPAddr6.sin6_port = htons((uint16_t)remotePort); in makeSocketPairAndBind()
1659 mRTCPAddr6.sin6_port = htons((uint16_t)(remotePort + 1)); in makeSocketPairAndBind()
1667 mLocalAddr.sin_port = htons((uint16_t)localPort); in makeSocketPairAndBind()
1671 mRTPAddr.sin_port = htons((uint16_t)remotePort); in makeSocketPairAndBind()
1674 mRTCPAddr.sin_port = htons((uint16_t)(remotePort + 1)); in makeSocketPairAndBind()
1689 mLocalAddr6.sin6_port = htons((uint16_t)(localPort + 1)); in makeSocketPairAndBind()
1691 mLocalAddr.sin_port = htons((uint16_t)(localPort + 1)); in makeSocketPairAndBind()
DARTPSession.cpp108 addr.sin_port = htons(port); in MakeUDPSocket()
DARTSPConnection.cpp282 remote.sin_port = htons(port); in onConnect()
/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtsp_connection_fuzzer.cpp308 serverAddress.sin_port = htons(kPort); in startServer()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DMyHandler.h410 addr.sin_port = htons(rtpPort); in pokeAHole()
421 addr.sin_port = htons(rtcpPort); in pokeAHole()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp856 mRetransmitEndpoint.sin_port = htons(port); in setRetransmitEndpoint()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1880 x = htons(x); in writeInt16()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp67 #define htons(x) ntohs(x) macro