Home
last modified time | relevance | path

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

/frameworks/base/voip/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/common_time/
Dutils.cpp70 s->sin_port = htons(static_cast<uint16_t>(p->readInt32())); in deserializeSockaddr()
82 s->sin6_port = htons(static_cast<uint16_t>(p->readInt32())); in deserializeSockaddr()
/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.cpp127 addr.sin_port = htons(port); in MakePortPair()
134 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.h501 mRemoteAddr.sin_port = htons(rtpPort); in onMessageReceived()
504 mRemoteRTCPAddr.sin_port = htons(rtpPort + 1); in onMessageReceived()
DMyHandler.h324 addr.sin_port = htons(rtpPort); in pokeAHole()
335 addr.sin_port = htons(rtcpPort); in pokeAHole()
DARTSPConnection.cpp275 remote.sin_port = htons(port); in onConnect()
/frameworks/av/media/libaah_rtp/
Daah_tx_packet.cpp45 *buf = htons(mSeqNumber); in setSeqNumber()
172 *reinterpret_cast<uint16_t*>(buf) = htons(val); in writeU16()
Daah_rx_player.cpp117 listen_addr_.sin_port = htons(port); in setDataSource()
Daah_tx_sender.cpp480 nak.seqEnd = htons(retryFirstSeq - 1); in handleRetryRequest()
492 nak.seqStart = htons(retryLastSeq + 1); in handleRetryRequest()
Daah_rx_player_core.cpp753 req.start_seq_ = htons(gap.start_seq_); in processGaps()
754 req.end_seq_ = htons(gap.end_seq_); in processGaps()
/frameworks/native/libs/utils/
DUnicode.cpp25 # undef htons
31 # define htons(x) ntohs(x) macro
36 # define htons(x) (x) macro
/frameworks/base/services/common_time/
Ddiag_thread.cpp110 addr.sin_port = htons(kListenPort); in openListenSocket()
Dcommon_time_server_packets.cpp47 #define SERIALIZE_INT16(field_name) SERIALIZE_FIELD(field_name, int16_t, htons)
Dcommon_time_server.cpp123 meep->sin_port = htons(kDefaultMasterElectionPort); in CommonTimeServer()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp641 mRetransmitEndpoint.sin_port = htons(port); in setRetransmitEndpoint()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp950 x = htons(x); in writeInt16()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp57 #define htons(x) ntohs(x) macro
62 #define htons(x) (x)