Searched refs:htons (Results 1 – 19 of 19) sorted by relevance
45 sin->sin_port = htons(port); in parse()53 sin6->sin6_port = htons(port); in parse()
75 *p = htons(port); in create()
70 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()
51 mRemoteAddr.sin_port = htons(port); in UDPPusher()131 tmp.sin_port = htons(ntohs(mRemoteAddr.sin_port) | 1); in onMessageReceived()
108 addr.sin_port = htons(port); in MakeUDPSocket()
128 addr.sin_port = htons(port); in MakePortPair()135 addr.sin_port = htons(port + 1); in MakePortPair()
70 mRTPAddr.sin_port = htons(5634); in ARTPWriter()74 mRTCPAddr.sin_port = htons(ntohs(mRTPAddr.sin_port) | 1); in ARTPWriter()
501 mRemoteAddr.sin_port = htons(rtpPort); in onMessageReceived()504 mRemoteRTCPAddr.sin_port = htons(rtpPort + 1); in onMessageReceived()
324 addr.sin_port = htons(rtpPort); in pokeAHole()335 addr.sin_port = htons(rtcpPort); in pokeAHole()
275 remote.sin_port = htons(port); in onConnect()
25 # undef htons31 # define htons(x) ntohs(x) macro36 # define htons(x) (x) macro
794 addr.sin_port = htons(remotePort); in createClientOrServer()797 addr.sin_port = htons(port); in createClientOrServer()800 addr.sin_port = htons(port); in createClientOrServer()834 remoteAddr.sin_port = htons(remotePort); in createClientOrServer()926 remoteAddr.sin_port = htons(remotePort); in connectUDPSession()
110 addr.sin_port = htons(kListenPort); in openListenSocket()
47 #define SERIALIZE_INT16(field_name) SERIALIZE_FIELD(field_name, int16_t, htons)
126 meep->sin_port = htons(kDefaultMasterElectionPort); in CommonTimeServer()
441 *ptr = htons(*ptr); in feedRawAudioInputBuffers()
653 mRetransmitEndpoint.sin_port = htons(port); in setRetransmitEndpoint()
1057 x = htons(x); in writeInt16()
57 #define htons(x) ntohs(x) macro62 #define htons(x) (x)