/external/qemu/slirp/ |
tftp.c | 158 saddr.sin_port = recv_tp->udp.uh_dport; 161 daddr.sin_port = spt->client_port; 198 saddr.sin_port = recv_tp->udp.uh_dport; 201 daddr.sin_port = spt->client_port; 244 saddr.sin_port = recv_tp->udp.uh_dport; 247 daddr.sin_port = spt->client_port;
|
/external/chromium/net/base/ |
ip_endpoint.cc | 57 addr->sin_port = htons(port_); 88 port_ = ntohs(addr->sin_port);
|
/external/openssl/apps/ |
s_cb.c | 795 length += sizeof(peer.s4.sin_port); 819 &peer.s4.sin_port, 820 sizeof(peer.s4.sin_port)); 821 memcpy(buffer + sizeof(peer.s4.sin_port), 876 length += sizeof(peer.s4.sin_port); 900 &peer.s4.sin_port, 901 sizeof(peer.s4.sin_port)); 902 memcpy(buffer + sizeof(peer.s4.sin_port),
|
/frameworks/av/media/common_time/ |
utils.cpp | 41 p->writeInt32(static_cast<int32_t>(ntohs(s->sin_port))); 70 s->sin_port = htons(static_cast<uint16_t>(p->readInt32()));
|
/external/quake/quake/src/WinQuake/ |
net_bw.cpp | 121 unsigned short sin_port;
member in struct:sockaddr_in 531 ((struct sockaddr_in *)from)->sin_port = htons(info2->remotePort);
597 writeInfo->remotePort = ntohs(((struct sockaddr_in *)to)->sin_port);
629 ntohs(((struct sockaddr_in *)addr)->sin_port)
646 ((struct sockaddr_in *)addr)->sin_port = htons((short)hp);
663 ((struct sockaddr_in *)addr)->sin_port = htons(((BW_UDPinfo_t *)lowmem_buffer)->localPort);
726 ((struct sockaddr_in *)hostaddr)->sin_port = htons((short)port);
743 if (((struct sockaddr_in *)addr1)->sin_port != ((struct sockaddr_in *)addr2)->sin_port)
753 return ntohs(((struct sockaddr_in *)addr)->sin_port);
[all...] |
/external/compiler-rt/lib/tsan/lit_tests/ |
fd_socket_connect_norace.cc | 29 addr.sin_port = INADDR_ANY;
|
fd_socket_norace.cc | 33 addr.sin_port = INADDR_ANY;
|
/external/openssh/openbsd-compat/ |
bindresvport.c | 79 portp = &in->sin_port;
|
rresvport.c | 72 portp = &((struct sockaddr_in *)sa)->sin_port;
|
fake-rfc2553.c | 57 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port)); 139 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port;
|
/external/quake/quake/src/QW/qwfwd/ |
misc.c | 38 ntohs(a.sin_port)); 55 a.sin_port = ntohs(p); 63 && a.sin_port == b.sin_port)
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
TcpStream.cpp | 66 snprintf(addrstr, MAX_ADDRSTR_LEN - 1, "%hu", ntohs(addr.sin_port));
|
/external/dnsmasq/src/ |
network.c | 240 addr.in.sin_port = htons(daemon->port); 329 addr.in.sin_port = htons(daemon->port); 363 addr.in.sin_port = htons(TFTP_PORT); 469 short save = iface->addr.in.sin_port; 470 iface->addr.in.sin_port = htons(TFTP_PORT); 476 iface->addr.in.sin_port = save; 608 short save = iface->addr.in.sin_port; 609 iface->addr.in.sin_port = htons(TFTP_PORT); 615 iface->addr.in.sin_port = save; 653 addr.in.sin_port = port [all...] |
util.c | 257 s1->in.sin_port == s2->in.sin_port && 334 port = ntohs(addr->in.sin_port); 343 port = ntohs(addr->in.sin_port);
|
/external/dropbear/ |
fake-rfc2553.c | 54 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port)); 134 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port;
|
svr-x11fwd.c | 197 buf_putint(ses.writepayload, addr->sin_port); 220 addr.sin_port = htons(port);
|
/external/wpa_supplicant_8/src/wps/ |
wps_upnp_ssdp.c | 245 dest.sin_port = htons(UPNP_MULTICAST_PORT); 294 dest.sin_port = htons(UPNP_MULTICAST_PORT); 403 ntohs(a->client.sin_port)); 418 ntohs(a->client.sin_port)); 714 "%s", inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), buf); 748 addr.sin_port = htons(UPNP_MULTICAST_PORT); 825 sin->sin_port = 0; 829 sin->sin_port = 0;
|
/ndk/sources/host-tools/make-3.81/ |
remote-cstms.c | 171 retport = sin.sin_port; 191 sin.sin_port = htons (Customs_Port ());
|
/device/generic/goldfish/libqemu/ |
test_host_2.c | 67 addr.sin_port = htons(port);
|
/external/libppp/src/ |
udp.c | 124 inet_ntoa(dev->sock.sin_addr), ntohs(dev->sock.sin_port)); 218 dev->sock.sin_port = htons(atoi(port)); 219 if (dev->sock.sin_port == 0) { 222 dev->sock.sin_port = sp->s_port;
|
server.c | 121 if (ntohs(sin->sin_port) < 1024) { 124 ncpaddr_ntoa(&addr), ntohs(sin->sin_port)); 130 ncpaddr_ntoa(&addr), ntohs(sin->sin_port)); 170 ncpaddr_ntoa(&addr), ntohs(sin->sin_port)); 337 sin->sin_port = htons(port);
|
/system/core/adb/ |
test_track_devices.c | 63 server.sin_port = htons(5037);
|
test_track_jdwp.c | 63 server.sin_port = htons(5037);
|
/development/tools/jdwpspy/ |
Net.cpp | 262 addr.sin_port = htons(listenPort); 383 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port)); 694 addr.sin_port = htons(netState->vmPort); 697 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port), strerror(errno)); 701 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port));
|
/external/netperf/ |
nettest_xti.c | 813 server.sin_port = (short)xti_tcp_stream_response->data_port_number; 814 server.sin_port = htons(server.sin_port); 835 printf(" port: %d\n",ntohs(server.sin_port)); [all...] |