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

1 2 3 4 56 7 8 91011>>

  /external/libpcap/
pcap-dag.c 338 rlen = ntohs(header->rlen);
360 if (pd->stat.ps_drop > (UINT_MAX - ntohs(header->lctr))) {
363 pd->stat.ps_drop += ntohs(header->lctr);
389 packet_len = ntohs(header->wlen) + dag_record_size;
428 packet_len = ntohs(header->wlen);
438 packet_len = ntohs(header->wlen);
470 packet_len = ntohs(header->wlen);
483 packet_len = ntohs(header->wlen);
493 packet_len = ntohs(header->wlen);
519 packet_len = ntohs(header->wlen)
    [all...]
  /external/dnsmasq/src/
util.c 334 port = ntohs(addr->in.sin_port);
339 port = ntohs(addr->in6.sin6_port);
343 port = ntohs(addr->in.sin_port);
tftp.c 190 if (ntohs(*((unsigned short *)packet)) != OP_RRQ ||
392 if (ntohs(mess->op) == OP_ACK && ntohs(mess->block) == (unsigned short)transfer->block)
400 else if (ntohs(mess->op) == OP_ERR)
417 (int)ntohs(mess->block), err,
  /external/mtpd/
pptp.c 194 incoming.expect = ntohs(incoming.header.length);
211 ntohs(incoming.header.type));
267 incoming.message = ntohs(incoming.message);
  /external/chromium_org/net/spdy/
spdy_frame_reader.cc 43 *result = ntohs(*(reinterpret_cast<const uint16*>(data_ + ofs_)));
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
VDMXParser.cpp 73 *value = ntohs(*value);
  /external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
rtp_file_reader.cc 149 *out = ntohs(tmp);
  /external/libmtp/src/
gphoto2-endian-intel.h 39 # define be16toh(x) ntohs(x)
  /external/libnl/lib/netfilter/
nfnl.c 164 return ntohs(nfg->res_id);
  /external/tcpdump/
in_cksum.c 196 shouldbe += ntohs(computed_sum);
print-nflog.c 52 ND_PRINT((ndo, "version %d, resource ID %d", hdr->nflog_version, ntohs(hdr->nflog_rid)));
  /external/valgrind/main/coregrind/
pub_core_libcfile.h 67 extern UShort VG_(ntohs) ( UShort x );
  /frameworks/opt/net/voip/src/jni/rtp/
RtpStream.cpp 59 uint16_t port = ntohs(*p);
  /system/extras/tests/bionic/libc/common/
test_udp.c 92 inet_ntoa(si_other.sin_addr), ntohs(si_other.sin_port), buf);
  /external/android-clat/
clatd_test.cpp 180 return ntohs(ip->frag_off) & (IP_OFFMASK | IP_MF);
193 return ntohs(ip->frag_off) & IP_OFFMASK;
197 return ntohs((frag->ip6f_offlg & IP6F_OFF_MASK) >> 3);
211 EXPECT_EQ(len, ntohs(ip->tot_len)) << msg << ": Incorrect IPv4 length\n";
280 EXPECT_EQ(payload_length, ntohs(udp->len)) << msg << ": Incorrect UDP length\n";
403 pseudo_checksum = ipv4_pseudo_header_checksum(ip, ntohs(udp->len));
409 pseudo_checksum = ipv6_pseudo_header_checksum(ip6, ntohs(udp->len), IPPROTO_UDP);
418 udp->check = ip_checksum_finish(ip_checksum_add(pseudo_checksum, udp, ntohs(udp->len)));
  /external/iptables/extensions/
libip6t_DNAT.c 203 printf("%hu", ntohs(range->min_proto.tcp.port));
205 printf("-%hu", ntohs(range->max_proto.tcp.port));
libip6t_SNAT.c 203 printf("%hu", ntohs(range->min_proto.tcp.port));
205 printf("-%hu", ntohs(range->max_proto.tcp.port));
libipt_DNAT.c 208 printf("%hu", ntohs(r->min.tcp.port));
210 printf("-%hu", ntohs(r->max.tcp.port));
libipt_SNAT.c 208 printf("%hu", ntohs(r->min.tcp.port));
210 printf("-%hu", ntohs(r->max.tcp.port));
libxt_ipvs.c 184 printf(" %svport %u", prefix, ntohs(data->vport));
220 printf(" %svportctl %u", prefix, ntohs(data->vportctl));
  /frameworks/base/libs/common_time/
common_time_server_packets.cpp 58 #define DESERIALIZE_INT16(field_name) DESERIALIZE_FIELD(field_name, int16_t, ntohs)
152 packetType = ntohs(*((uint16_t*)(data + 6)));
  /libcore/luni/src/main/native/
NetworkUtilities.cpp 57 sin_port = ntohs(sin.sin_port);
62 sin_port = ntohs(sin6.sin6_port);
  /external/qemu/slirp/
udp.c 111 len = ntohs((u_int16_t)uh->uh_ulen);
149 if (ntohs(uh->uh_dport) == BOOTP_SERVER) {
160 if (ntohs(uh->uh_dport) == TFTP_SERVER) {
385 if ((udptos[i].fport && ntohs(so->so_fport) == udptos[i].fport) ||
386 (udptos[i].lport && ntohs(so->so_lport) == udptos[i].lport)) {
  /external/iputils/
ping6.c 187 return ntohs(v);
    [all...]
  /external/iproute2/ip/
ipxfrm.c 478 fprintf(fp, "sport %u ", ntohs(sel->sport));
480 fprintf(fp, "dport %u ", ntohs(sel->dport));
486 fprintf(fp, "type %u ", ntohs(sel->sport));
488 fprintf(fp, "code %u ", ntohs(sel->dport));
493 (((__u32)ntohs(sel->sport)) << 16) +
494 ntohs(sel->dport));
498 fprintf(fp, "type %u ", ntohs(sel->sport));
760 fprintf(fp, "sport %u ", ntohs(e->encap_sport));
761 fprintf(fp, "dport %u ", ntohs(e->encap_dport));

Completed in 2524 milliseconds

1 2 3 4 56 7 8 91011>>