/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
H A D | gki_inet.h | 23 #define htons ntohs 30 #define ntohs(n) (n) macro 37 extern UINT16 ntohs(UINT16 n);
|
/external/libnfc-nci/src/gki/common/ |
H A D | gki_inet.h | 23 #define htons ntohs 30 #define ntohs(n) (n) macro 37 extern UINT16 ntohs(UINT16 n);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/ |
H A D | ntohs.c | 11 inline uint16_t ntohs(uint16_t networkshort) { function
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | ByteOrder.h | 44 inline uint16_t ntohs(uint16_t x) { return x; } function 49 inline uint16_t ntohs(uint16_t x) { return x; } function 54 inline uint16_t ntohs(uint16_t x) { return WTF::bswap16(x); } function
|
/external/android-clat/ |
H A D | dump.c | 44 frag_flags = ntohs(header->frag_off); 50 printf("tot_len = %x\n",ntohs(header->tot_len)); 51 printf("id = %x\n",ntohs(header->id)); 65 printf("checksum = %x\n",ntohs(header->check)); 80 printf("payload len = %x\n",ntohs(header->ip6_plen)); 105 printf("icmp.checksum = %x\n",ntohs(icmp->checksum)); 107 printf("icmp.un.echo.id = %x\n",ntohs(icmp->un.echo.id)); 108 printf("icmp.un.echo.sequence = %x\n",ntohs(icmp->un.echo.sequence)); 142 printf("source = %x\n",ntohs(udp->source)); 143 printf("dest = %x\n",ntohs(ud [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | common.c | 48 UINT16_t len = ntohs(packet->length); 103 UINT16_t len = ntohs(packet->length); 281 len = (int) ntohs(packet->length); 449 ntohs(conn->cookie.length) + TAG_HDR_SIZE); 450 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE); 451 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE; 452 plen += ntohs(conn->cookie.length) + TAG_HDR_SIZE; 457 ntohs(conn->relayId.length) + TAG_HDR_SIZE); 458 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE); 459 cursor += ntohs(con [all...] |
H A D | debug.c | 88 int len = ntohs(packet->length); 123 (int) ntohs(packet->session), 142 dumpHex(fp, packet->payload, ntohs(packet->length));
|
H A D | discovery.c | 348 if (ntohs(packet.length) + HDR_SIZE > len) { 350 (unsigned int) ntohs(packet.length)); 461 ntohs(conn->cookie.length) + TAG_HDR_SIZE); 462 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE); 463 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE; 464 plen += ntohs(conn->cookie.length) + TAG_HDR_SIZE; 469 ntohs(conn->relayId.length) + TAG_HDR_SIZE); 470 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE); 471 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE; 472 plen += ntohs(con [all...] |
/external/qemu/distrib/ext4_utils/src/ |
H A D | uuid.c | 59 uuid->time_mid = ntohs(uuid->time_mid); 60 uuid->time_hi_and_version = ntohs(uuid->time_hi_and_version);
|
/external/ipsec-tools/src/racoon/ |
H A D | security.c | 115 len = ntohs(prop->h.len) - 130 len = ntohs(trns->h.len) - sizeof(struct isakmp_pl_t); 134 type = ntohs(d->type) & ~ISAKMP_GEN_MASK; 135 flag = ntohs(d->type) & ISAKMP_GEN_MASK; 136 lorv = ntohs(d->lorv); 149 flag = ntohs(d->type & ISAKMP_GEN_MASK); 156 p->sec_ctx.ctx_strlen = ntohs(p->sec_ctx.ctx_strlen);
|
H A D | isakmp_newg.c | 153 len = sizeof(isakmp->msgid) + ntohs(sa->h.len); 161 memcpy(buf->v + sizeof(isakmp->msgid), sa, ntohs(sa->h.len)); 177 plogdump(LLV_DEBUG, r_hash, ntohs(hash->h.len) - sizeof(*hash)));
|
H A D | 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(attrp [all...] |
/external/tcpdump/ |
H A D | print-isakmp.c | 845 ND_PRINT((ndo," key len=%d", ntohs(e.len) - 4)); 846 if (2 < ndo->ndo_vflag && 4 < ntohs(e.len)) { 848 if (!rawprint(ndo, (caddr_t)(ext + 1), ntohs(e.len) - 4)) 851 return (u_char *)ext + ntohs(e.len); 930 ND_PRINT((ndo," port=%d", ntohs(id.port))); 1116 ND_PRINT((ndo," len=%d", ntohs(e.len) - 4)); 1117 if (2 < ndo->ndo_vflag && 4 < ntohs(e.len)) { 1119 if (!rawprint(ndo, (caddr_t)(ext + 1), ntohs(e.len) - 4)) 1122 return (u_char *)ext + ntohs(e.len); 1140 ND_PRINT((ndo," len=%d", ntohs( [all...] |
H A D | 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)));
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/ |
H A D | RTPjitter.cc | 153 len = ntohs(*((uint16_t *)(rtp_vec + rtp_len))); 177 len = ntohs(*((uint16_t *) packet_ptr[k-1])); 197 ntohs(*((uint16_t*) temp_packet)), 199 ntohs(*((uint16_t*) temp_packet))) {
|
H A D | NETEQTEST_DummyRTPpacket.cc | 42 length = ntohs(length); 49 packetLen = ntohs(plen);
|
/external/iptables/extensions/ |
H A D | libip6t_MASQUERADE.c | 110 printf("%hu", ntohs(r->min_proto.tcp.port)); 112 printf("-%hu", ntohs(r->max_proto.tcp.port)); 125 printf(" --to-ports %hu", ntohs(r->min_proto.tcp.port)); 127 printf("-%hu", ntohs(r->max_proto.tcp.port));
|
H A D | libip6t_REDIRECT.c | 113 printf("%hu", ntohs(range->min_proto.tcp.port)); 115 printf("-%hu", ntohs(range->max_proto.tcp.port)); 127 printf("%hu", ntohs(range->min_proto.tcp.port)); 129 printf("-%hu", ntohs(range->max_proto.tcp.port));
|
H A D | libipt_MASQUERADE.c | 112 printf("%hu", ntohs(r->min.tcp.port)); 114 printf("-%hu", ntohs(r->max.tcp.port)); 128 printf(" --to-ports %hu", ntohs(r->min.tcp.port)); 130 printf("-%hu", ntohs(r->max.tcp.port));
|
H A D | libipt_REDIRECT.c | 115 printf("%hu", ntohs(r->min.tcp.port)); 117 printf("-%hu", ntohs(r->max.tcp.port)); 130 printf("%hu", ntohs(r->min.tcp.port)); 132 printf("-%hu", ntohs(r->max.tcp.port));
|
H A D | libxt_TPROXY.c | 56 ntohs(info->lport), (unsigned int)info->mark_value, 69 ntohs(info->lport), (unsigned int)info->mark_value, 82 ntohs(info->lport), (unsigned int)info->mark_value, 90 printf(" --on-port %u", ntohs(info->lport)); 103 printf(" --on-port %u", ntohs(info->lport)); 115 printf(" --on-port %u", ntohs(info->lport));
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
H A D | OpenTypeTypes.h | 36 operator int16_t() const { return static_cast<int16_t>(ntohs(v)); } 42 operator uint16_t() const { return ntohs(v); }
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/ |
H A D | rtp_file_source.cc | 56 length = ntohs(length); 63 plen = ntohs(plen);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
H A D | RTPFile.cc | 176 port = ntohs(port); 178 padding = ntohs(padding); 223 lengthBytes = ntohs(lengthBytes); 224 plen = ntohs(plen);
|
/external/qemu/slirp/ |
H A D | 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(s [all...] |