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()
DARTPSession.cpp108 addr.sin_port = htons(port); in MakeUDPSocket()
DARTPConnection.cpp129 addr.sin_port = htons(port); in MakePortPair()
136 addr.sin_port = htons(port + 1); in MakePortPair()
DARTPWriter.cpp70 mRTPAddr.sin_port = htons(5634); in ARTPWriter()
74 mRTCPAddr.sin_port = htons(ntohs(mRTPAddr.sin_port) | 1); in ARTPWriter()
DMyTransmitter.h504 mRemoteAddr.sin_port = htons(rtpPort); in onMessageReceived()
507 mRemoteRTCPAddr.sin_port = htons(rtpPort + 1); in onMessageReceived()
DMyHandler.h400 addr.sin_port = htons(rtpPort); in pokeAHole()
411 addr.sin_port = htons(rtcpPort); in pokeAHole()
DARTSPConnection.cpp281 remote.sin_port = htons(port); in onConnect()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp842 mRetransmitEndpoint.sin_port = htons(port); in setRetransmitEndpoint()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1537 x = htons(x); in writeInt16()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp61 #define htons(x) ntohs(x) macro