HomeSort by relevance Sort by last modified time
    Searched refs:ntohs (Results 26 - 50 of 313) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/tcpdump/
extract.h 48 * instructions to do an unaligned load and pass stuff to "ntohs()" or
52 * Alpha machines, where "ntohs()" and "ntohl()" might not be done
96 return ((u_int16_t)ntohs(((const unaligned_u_int16_t *)(p))->val));
146 return ((u_int16_t)ntohs(*(const u_int16_t *)(p)));
tcpdump-stdinc.h 195 #undef ntohs macro
203 #define ntohs(x) __ntohs(x) macro
  /frameworks/av/media/common_time/
utils.cpp 41 p->writeInt32(static_cast<int32_t>(ntohs(s->sin_port)));
54 p->writeInt32(static_cast<int32_t>(ntohs(s->sin6_port)));
  /external/ipsec-tools/src/racoon/
isakmp_cfg.c 201 if (tlen < ntohs(ph->len)) {
208 plogdump(LLV_DEBUG, ph, ntohs(ph->len));
217 plen = ntohs(ph->len);
219 plen = ntohs(nph->len);
264 tlen -= ntohs(ph->len);
266 ph = (struct isakmp_gen *)(npp + ntohs(ph->len));
328 tlen = ntohs(attrpl->h.len);
333 type = ntohs(attr->type);
341 s_isakmp_cfg_type(type), ntohs(attr->lorv));
346 attr, ntohs(attrpl->id))) != 0
    [all...]
ipsec_doi.c 562 tlen = ntohs(trns->h.len) - sizeof(*trns);
576 type = ntohs(d->type) & ~ISAKMP_GEN_MASK;
577 flag = ntohs(d->type) & ISAKMP_GEN_MASK;
582 s_oakley_attr_v(type, ntohs(d->lorv)));
597 len = ntohs(d->lorv);
612 sa->enctype = (u_int16_t)ntohs(d->lorv);
616 sa->hashtype = (u_int16_t)ntohs(d->lorv);
620 sa->authmethod = ntohs(d->lorv);
624 sa->dh_group = (u_int16_t)ntohs(d->lorv);
629 int type = (int)ntohs(d->lorv)
    [all...]
isakmp_inf.c 196 if (msg->l < sizeof(*isakmp) + ntohs(gen->len) + sizeof(*nd)) {
204 nd = (struct isakmp_gen *) ((caddr_t) gen + ntohs(gen->len));
207 if (ntohs(nd->len) > msg->l - (sizeof(struct isakmp) +
208 ntohs(gen->len))) {
214 if (ntohs(nd->len) < sizeof(*nd)) {
220 payload = vmalloc(ntohs(nd->len));
227 memcpy(payload->v, (caddr_t) nd, ntohs(nd->len));
239 if (ntohs(gen->len) - sizeof(struct isakmp_gen) != hash->l) {
343 type = ntohs(notify->type);
406 if (ntohs(notify->h.len) < sizeof(*notify) + notify->spi_size)
    [all...]
isakmp_unity.c 100 type = ntohs(attr->type);
108 s_isakmp_cfg_type(type), ntohs(attr->lorv));
207 int type = ntohs(attr->type);
208 int alen = ntohs(attr->lorv);
  /bionic/libc/dns/resolv/
res_query.c 184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
189 ntohs(hp->ancount),
190 ntohs(hp->nscount),
191 ntohs(hp->arcount));
  /bionic/libc/include/sys/
endian.h 196 uint16_t ntohs(uint16_t) __pure2;
202 #define ntohs(x) __swap16(x) macro
240 #define ntohs(x) (x) macro
253 #define NTOHS(x) (x) = ntohs((u_int16_t)(x))
  /development/ndk/platforms/android-L/include/sys/
endian.h 196 uint16_t ntohs(uint16_t) __pure2;
202 #define ntohs(x) __swap16(x) macro
240 #define ntohs(x) (x) macro
253 #define NTOHS(x) (x) = ntohs((u_int16_t)(x))
  /external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
RTPFile.cc 175 port = ntohs(port);
177 padding = ntohs(padding);
222 lengthBytes = ntohs(lengthBytes);
223 plen = ntohs(plen);
  /external/qemu/slirp/
tcp_subr.c 404 ntohs(addr.sin_port), inet_ntoa(addr.sin_addr)));
561 if ((tcptos[i].fport && (ntohs(so->so_fport) == tcptos[i].fport)) ||
562 (tcptos[i].lport && (ntohs(so->so_lport) == tcptos[i].lport))) {
571 if ((emup->fport && (ntohs(so->so_fport) == emup->fport)) ||
572 (emup->lport && (ntohs(so->so_lport) == emup->lport))) {
652 n2 = ntohs(addr.sin_port);
683 if (ntohs(so->so_lport) > 1023 || ntohs(so->so_lport) < 512 ||
767 if (ntohs(so->so_lport) > 1023 || ntohs(so->so_lport) < 512 |
    [all...]
  /external/wpa_supplicant_8/src/wps/
http_server.c 50 ntohs(req->cli.sin_port));
56 ntohs(req->cli.sin_port));
139 ntohs(req->cli.sin_port));
214 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port));
http_client.c 62 ntohs(c->dst.sin_port));
68 ntohs(c->dst.sin_port));
91 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port),
116 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port));
276 ntohs(dst.sin_port));
  /prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/sys/
endian.h 196 uint16_t ntohs(uint16_t) __pure2;
202 #define ntohs(x) __swap16(x) macro
240 #define ntohs(x) (x) macro
253 #define NTOHS(x) (x) = ntohs((u_int16_t)(x))
  /prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/sys/
endian.h 196 uint16_t ntohs(uint16_t) __pure2;
202 #define ntohs(x) __swap16(x) macro
240 #define ntohs(x) (x) macro
253 #define NTOHS(x) (x) = ntohs((u_int16_t)(x))
  /prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/sys/
endian.h 196 uint16_t ntohs(uint16_t) __pure2;
202 #define ntohs(x) __swap16(x) macro
240 #define ntohs(x) (x) macro
253 #define NTOHS(x) (x) = ntohs((u_int16_t)(x))
  /external/qemu/slirp-android/
udp.c 118 len = ntohs((u_int16_t)uh->uh_ulen);
134 if (slirp_should_drop(ntohl(ip->ip_dst.addr), ntohs(uh->uh_dport.port),
139 ntohs(uh->uh_sport.port),
141 ntohs(uh->uh_dport.port),
150 ntohs(uh->uh_sport.port),
152 ntohs(uh->uh_dport.port),
204 if (ntohs(uh->uh_dport.port) == 53) {
  /external/dnsmasq/src/
rfc1035.c 341 for (q = ntohs(header->qdcount); q != 0; q--)
380 for (q = ntohs(header->qdcount); q != 0; q--)
424 if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount) + ntohs(header->arcount),
429 if (pheader && ntohs(header->arcount) == 0)
447 int i, arcount = ntohs(header->arcount);
458 for (i = ntohs(header->qdcount); i != 0; i--)
480 if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount), header, plen))
    [all...]
  /external/mtpd/
l2tp.c 199 ntohs(p[1]) != incoming.length || p[2] != local_tunnel) {
206 incoming.message = ntohs(p[9]);
212 if ((uint16_t)(ntohs(p[4]) - remote_sequence) > 32767) {
219 if (ntohs(p[5]) == local_sequence) {
225 if (ntohs(p[4]) != remote_sequence || !acknowledged) {
243 uint16_t flag = ntohs(p->flag);
  /external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
sctp_asconf.c 174 aparam_length = ntohs(aph->ph.param_length);
176 param_type = ntohs(ph->param_type);
178 param_length = ntohs(ph->param_length);
328 aparam_length = ntohs(aph->ph.param_length);
330 param_type = ntohs(ph->param_type);
332 param_length = ntohs(ph->param_length);
463 aparam_length = ntohs(aph->ph.param_length);
465 param_type = ntohs(ph->param_type);
467 param_length = ntohs(ph->param_length);
614 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_asconf_chunk))
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
ctrl_iface_udp.c 81 ntohs(from->sin6_port));
84 inet_ntoa(from->sin_addr), ntohs(from->sin_port));
112 ntohs(from->sin6_port));
118 ntohs(from->sin_port));
159 ntohs(from->sin6_port));
165 ntohs(from->sin_port));
476 ntohs(dst->addr.sin6_port));
480 ntohs(dst->addr.sin_port));
  /frameworks/av/media/libstagefright/rtsp/
UDPPusher.cpp 115 if (!onPush() && !(ntohs(mRemoteAddr.sin_port) & 1)) {
131 tmp.sin_port = htons(ntohs(mRemoteAddr.sin_port) | 1);
  /art/runtime/jdwp/
jdwp_socket.cc 241 remote_port_ = ntohs(addr.addrInet.sin_port);
299 LOG(INFO) << "Connecting out to " << inet_ntoa(addr.addrInet.sin_addr) << ":" << ntohs(addr.addrInet.sin_port);
314 PLOG(ERROR) << "Unable to connect to " << inet_ntoa(addr.addrInet.sin_addr) << ":" << ntohs(addr.addrInet.sin_port);
320 LOG(INFO) << "Connection established to " << options->host << " (" << inet_ntoa(addr.addrInet.sin_addr) << ":" << ntohs(addr.addrInet.sin_port) << ")";
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
inet_ntop.cc 44 host_tuples[i] = ntohs(tuples[i]);

Completed in 729 milliseconds

12 3 4 5 6 7 8 91011>>