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

1 2 3 4 56 7 8 91011>>

  /external/bluetooth/hcidump/parser/
ppp.c 38 #define PPP_U16(frm) (btohs(htons(get_u16(frm))))
174 uint16_t len = htons(frm->len);
cmtp.c 175 len = htons(get_u16(frm));
  /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);
  /external/quake/quake/src/QW/client/
net_udp.c 138 sadr.sin_port = htons(atoi(colon+1));
257 address.sin_port = htons((short)port);
net_wins.c 114 sadr.sin_port = htons((short)atoi(colon+1));
256 address.sin_port = htons((short)port);
  /external/quake/quake/src/QW/qwfwd/
qwfwd.c 118 else if((sin.sin_port = htons((u_short)atoi(service))) == 0)
190 address.sin_port = htons((unsigned short)atoi(argv[1]));
  /external/quake/quake/src/WinQuake/
net.h 245 #ifndef htons
246 extern unsigned short htons (unsigned short hostshort);
net_bw.cpp 531 ((struct sockaddr_in *)from)->sin_port = htons(info2->remotePort);
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);
759 ((struct sockaddr_in *)addr)->sin_port = htons(port);
  /frameworks/av/media/libaah_rtp/
aah_tx_packet.cpp 45 *buf = htons(mSeqNumber);
172 *reinterpret_cast<uint16_t*>(buf) = htons(val);
  /gdk/samples/quake/jni/
net.h 245 #ifndef htons
246 extern unsigned short htons (unsigned short hostshort);
  /libcore/luni/src/main/native/
NetworkUtilities.cpp 122 sin6->sin6_port = htons(port);
149 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/bluetooth/bluez/sap/
server.c 96 param->len = htons(SAP_PARAM_ID_RESULT_CODE_LEN);
301 param->len = htons(SAP_PARAM_ID_DISCONNECT_IND_LEN);
652 param->len = htons(SAP_PARAM_ID_CONN_STATUS_LEN);
664 param->len = htons(SAP_PARAM_ID_MAX_MSG_SIZE_LEN);
666 *len = htons(maxmsgsize);
762 param->len = htons(length);
808 param->len = htons(length);
926 param->len = htons(SAP_PARAM_ID_CARD_READER_STATUS_LEN);
997 param->len = htons(SAP_PARAM_ID_STATUS_CHANGE_LEN);
    [all...]
  /external/bluetooth/bluez/src/
sdpd-service.c 459 bt_put_unaligned(htons(SDP_INVALID_SYNTAX), (uint16_t *) rsp->data);
502 bt_put_unaligned(htons(status), (uint16_t *) p);
532 bt_put_unaligned(htons(status), (uint16_t *) p);
  /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));
  /frameworks/native/libs/utils/
Unicode.cpp 25 # undef htons macro
31 # define htons(x) ntohs(x) macro
36 # define htons(x) (x) macro
  /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
  /development/samples/ToyVpn/server/linux/
ToyVpnServer.cpp 97 addr.sin6_port = htons(atoi(port));
  /development/tools/emulator/system/libqemu/
test_host_1.c 69 addr.sin_port = htons(port);

Completed in 1807 milliseconds

1 2 3 4 56 7 8 91011>>