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

1 2 3 4 5 67 8 91011>>

  /external/ipsec-tools/src/racoon/
racoonctl.c 1448 if ((ntohs(attr->type) & ISAKMP_GEN_MASK) == ISAKMP_GEN_TV) {
1455 if (len < (sizeof(*attr) + ntohs(attr->lorv))) {
1460 switch (ntohs(attr->type) & ~ISAKMP_GEN_MASK) {
1462 if (ntohs(attr->lorv) < sizeof(addr4)) {
1470 banner = racoon_malloc(ntohs(attr->lorv) + 1);
1475 memcpy(banner, attr + 1, ntohs(attr->lorv));
1476 banner[ntohs(attr->lorv)] = '\0';
1483 len -= (sizeof(*attr) + ntohs(attr->lorv));
1486 (n + sizeof(*attr) + ntohs(attr->lorv));
    [all...]
getcertsbyname.c 253 qdcount = ntohs(hp->qdcount);
254 ancount = ntohs(hp->ancount);
  /external/android-clat/
translate.c 180 uint16_t frag_flags = ntohs(old_header->frag_off);
194 frag_hdr->ip6f_ident = htonl(ntohs(old_header->id));
208 uint16_t frag_off = (ntohs(frag_hdr->ip6f_offlg & IP6F_OFF_MASK) >> 3);
ipv6.c 176 ip_targ->tot_len = htons(ntohs(ip_targ->tot_len) + packet_length(out, pos));
  /external/iputils/ninfod/
ninfod_core.c 566 ntohs(query->ni_qtype), ntohs(query->ni_flags), printbuf);
595 qtypeinfo = qtypeinfo_lookup(ntohs(query->ni_qtype));
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/netinet/
in.h 366 extern uint16_t ntohs (uint16_t __netshort)
386 # define ntohs(x) (x) macro
392 # define ntohs(x) __bswap_16 (x) macro
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/netinet/
in.h 366 extern uint16_t ntohs (uint16_t __netshort)
386 # define ntohs(x) (x) macro
392 # define ntohs(x) __bswap_16 (x) macro
  /bionic/libc/dns/resolv/
res_mkquery.c 272 hp->arcount = htons(ntohs(hp->arcount) + 1);
  /external/chromium_org/net/spdy/
spdy_headers_block_parser.cc 155 *parsed_length = ntohs(*reinterpret_cast<const uint16_t *>(buffer));
  /external/chromium_org/third_party/libsrtp/srtp/test/
rtp.c 69 sender->message.header.seq = ntohs(sender->message.header.seq) + 1;
  /external/chromium_org/third_party/ots/include/
opentype-sanitiser.h 19 #define ntohs(x) _byteswap_ushort (x) macro
  /external/dnsmasq/contrib/wrt/
dhcp_lease_time.c 174 dest.sin_port = ntohs(DHCP_SERVER_PORT);
  /external/iproute2/lib/
ll_proto.c 93 id = ntohs(id);
  /external/libmtp/src/
gphoto2-endian-ppc.h 39 # define be16toh(x) ntohs(x)
  /external/qemu/slirp/
ip.h 40 # ifndef NTOHS
41 # define NTOHS(d)
53 # ifndef NTOHS
54 # define NTOHS(d) ((d) = ntohs((u_int16_t)(d)))
tftp.c 406 ntohs(tp->x.tp_data.tp_block_nr) + 1,
416 switch(ntohs(tp->tp_op)) {
  /external/qemu/slirp-android/
ip.h 42 # ifndef NTOHS
43 # define NTOHS(d)
55 # ifndef NTOHS
56 # define NTOHS(d) ((d) = ntohs((u_int16_t)(d)))
tftp.c 408 ntohs(tp->x.tp_data.tp_block_nr) + 1,
418 switch(ntohs(tp->tp_op)) {
  /external/srtp/test/
rtp.c 34 sender->message.header.seq = ntohs(sender->message.header.seq) + 1;
  /sdk/emulator/opengl/shared/emugl/common/
sockets.cpp 164 return ntohs(addr.inet.sin_port);
  /external/chromium_org/third_party/usrsctp/usrsctplib/
user_inpcb.h 274 (((faddr) ^ ((faddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
276 (ntohs((lport)) & (mask))
  /external/ppp/pppd/plugins/radius/
config.c 113 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port);
118 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port);
  /external/iputils/
ping.c 673 acknowledge(ntohs(icmph.un.echo.sequence));
699 printf("From %s: icmp_seq=%u ", pr_addr(sin->sin_addr.s_addr), ntohs(icmph.un.echo.sequence));
779 printf(" icmp_seq=%u", ntohs(icp->un.echo.sequence));
837 ntohs(icp->un.echo.sequence),
869 acknowledge(ntohs(icp1->un.echo.sequence));
895 ntohs(icp1->un.echo.sequence));
    [all...]
  /external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
sctp_auth.c 802 if (ntohs(hmacs->hmac_ids[i]) == SCTP_AUTH_HMAC_ID_SHA1) {
    [all...]
  /external/chromium_org/third_party/libsrtp/srtp/srtp/
srtp.c 89 int profile_len = ntohs(xtn_hdr->length);
842 enc_start += (ntohs(xtn_hdr->length) + 1);
867 delta = rdbx_estimate_index(&stream->rtp_rdbx, &est, ntohs(hdr->seq));
1026 est = (xtd_seq_num_t) make64(0,ntohs(hdr->seq));
1029 est = (xtd_seq_num_t) ntohs(hdr->seq);
1043 delta = rdbx_estimate_index(&stream->rtp_rdbx, &est, ntohs(hdr->seq));
1112 enc_start += (ntohs(xtn_hdr->length) + 1);
    [all...]

Completed in 1220 milliseconds

1 2 3 4 5 67 8 91011>>