/external/qemu/slirp/ |
bootp.c | 222 saddr.sin_port = htons(BOOTP_SERVER); 224 daddr.sin_port = htons(BOOTP_CLIENT);
|
udp.c | 282 ui->ui_len = htons(m->m_len - sizeof(struct ip)); /* + sizeof (struct udphdr)); */ 544 addr.sin_port = htons(517); 547 addr.sin_port = htons(518); 575 addr.sin_port = htons(517); 578 addr.sin_port = htons(518);
|
/libcore/luni/src/main/native/ |
NetworkUtilities.cpp | 162 sin6.sin6_port = htons(port); 191 sin.sin_port = htons(port);
|
/external/qemu/slirp-android/ |
slirp.c | 719 reh->h_proto = htons(ETH_P_ARP); 721 rah->ar_hrd = htons(1); 722 rah->ar_pro = htons(ETH_P_IP); 725 rah->ar_op = htons(ARPOP_REPLY); 802 reh->h_proto = htons(ETH_P_ARP); 803 rah->ar_hrd = htons(1); 804 rah->ar_pro = htons(ETH_P_IP); 807 rah->ar_op = htons(ARPOP_REQUEST); 824 eh->h_proto = htons(ETH_P_IP); 1206 addr_low_byte, htons(guest_port)) [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp_cfg.c | 623 reply->h.len = htons(payload->l); 725 reply->h.len = htons(payload->l); 934 new->lorv = htons(0); 979 new->type = htons(type | ISAKMP_GEN_TV); 980 new->lorv = htons(value); 1004 new->lorv = htons(len); 1040 new->lorv = htons(len); 1073 new->lorv = htons(len); 1234 gen->len = htons(sizeof(*gen) + hash->l); [all...] |
/external/dnsmasq/src/ |
dhcp.c | 70 saddr.sin_port = htons(daemon->dhcp_server_port); 270 dest.sin_port = htons(daemon->dhcp_server_port); 282 dest.sin_port = htons(daemon->dhcp_client_port); 302 dest.sin_port = htons(daemon->dhcp_client_port); 310 dest.sin_port = htons(daemon->dhcp_client_port); 323 dest.sin_port = htons(daemon->dhcp_client_port); 335 dest.sin_port = htons(daemon->dhcp_client_port);
|
rfc1035.c | 433 header->arcount = htons(1); 909 header->nscount = htons(0); 910 header->arcount = htons(0); 911 header->ancount = htons(0); /* no answers unless changed below */ 921 header->ancount = htons(1); 929 header->ancount = htons(1); [all...] |
/external/iputils/ninfod/ |
ninfod_core.c | 257 p->reply.ni_qtype = htons(NI_QTYPE_NOOP); 283 p->reply.ni_qtype = htons(NI_QTYPE_SUPTYPES); 572 switch(htons(query->ni_qtype)) {
|
/external/libppp/src/ |
nat_cmd.c | 177 link = PacketAliasRedirectPort(localaddr, htons(llocalport), 178 remoteaddr, htons(lremoteport), 179 aliasaddr, htons(laliasport),
|
tcp.c | 74 dest.sin_port = htons(atoi(port));
|
/external/wpa_supplicant_8/src/ap/ |
iapp.c | 204 addr.sin_port = htons(IAPP_UDP_PORT); 450 uaddr.sin_port = htons(IAPP_UDP_PORT); 469 iapp->packet_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/netinet/ |
in.h | 357 extern uint16_t htons (uint16_t __hostshort) 375 # define htons(x) (x) macro 381 # define htons(x) __bswap_16 (x) macro
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/netinet/ |
in.h | 357 extern uint16_t htons (uint16_t __hostshort) 375 # define htons(x) (x) macro 381 # define htons(x) __bswap_16 (x) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/netinet/ |
in.h | 357 extern uint16_t htons (uint16_t __hostshort) 375 # define htons(x) (x) macro 381 # define htons(x) __bswap_16 (x) macro
|
/system/core/libutils/ |
Unicode.cpp | 25 # undef htons macro 31 # define htons(x) ntohs(x) macro 36 # define htons(x) (x) macro
|
/development/samples/ToyVpn/server/linux/ |
ToyVpnServer.cpp | 97 addr.sin6_port = htons(atoi(port));
|
/device/generic/goldfish/libqemu/ |
test_host_1.c | 69 addr.sin_port = htons(port);
|
/external/chromium_org/tools/measure_page_load_time/ie_bho/ |
MeasurePageLoadTimeBHO.cpp | 120 addrBind.sin_port = htons(PORT);
|
/external/dropbear/ |
fake-rfc2553.c | 166 port = htons(port);
|
svr-x11fwd.c | 220 addr.sin_port = htons(port);
|
/external/grub/netboot/ |
3c90x.c | 504 hdr.type = htons(t); 773 outw(htons(eeprom[0]), INF_3C90X.IOAddr + regStationAddress_2_3w); 774 outw(htons(eeprom[1]), INF_3C90X.IOAddr + regStationAddress_2_3w+2); 775 outw(htons(eeprom[2]), INF_3C90X.IOAddr + regStationAddress_2_3w+4);
|
tiara.c | 174 t = htons(t);
|
/external/iptables/extensions/ |
libxt_udp.c | 68 if ((service = getservbyport(htons(port), "udp")))
|
/external/iputils/Modules/ |
pg3.c | 267 udph->source= htons(9); 268 udph->dest= htons(9); 269 udph->len= htons(datalen+8); /* DATA + udphdr */ 281 iph->tot_len = htons(iplen);
|
/external/libmtp/src/ |
gphoto2-endian-ppc.h | 33 # define htobe16(x) htons(x)
|