OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:htons
(Results
26 - 50
of
354
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/system/extras/tests/bionic/libc/other/
test_aligned.c
2
#include <arpa/inet.h> /* for
htons
() etc.. */
55
unsigned short v =
htons
(val);
76
unsigned short v =
htons
(val);
/external/quake/quake/src/WinQuake/
net_mp.cpp
104
((struct sockaddr_in *)&broadcastaddr)->sin_port =
htons
(net_hostport);
163
address.sin_port =
htons
(port);
236
((struct sockaddr_in *)hostaddr)->sin_port =
htons
((short)port);
356
((struct sockaddr_in *)addr)->sin_port =
htons
(hp);
407
((struct sockaddr_in *)addr)->sin_port =
htons
(net_hostport);
439
((struct sockaddr_in *)addr)->sin_port =
htons
(port);
net_udp.cpp
180
temp.sin_port =
htons
(net_hostport);
244
address.in.sin_port =
htons
(port);
317
((struct sockaddr_in *)hostaddr)->sin_port =
htons
((short)port);
429
((struct sockaddr_in *)addr)->sin_port =
htons
(hp);
480
((struct sockaddr_in *)addr)->sin_port =
htons
(net_hostport);
512
((struct sockaddr_in *)addr)->sin_port =
htons
(port);
/external/grub/netboot/
main.c
211
ip->len =
htons
(len);
220
udp->src =
htons
(srcsock);
221
udp->dest =
htons
(destsock);
222
udp->len =
htons
(len - sizeof (struct iphdr));
224
udp->chksum =
htons
(udpchksum (ip));
260
arpreq.hwtype =
htons
(1);
261
arpreq.protocol =
htons
(IP);
264
arpreq.opcode =
htons
(ARP_REQUEST);
320
tp.opcode =
htons
(TFTP_RRQ);
407
tp.opcode =
htons
(TFTP_ERROR)
[
all
...]
fsys_tftp.c
162
tp.opcode =
htons
(TFTP_ERROR);
213
tp.u.ack.block =
htons
(block = prevblock);
216
tp.opcode = abort ?
htons
(TFTP_ERROR) :
htons
(TFTP_ACK);
429
tp.opcode =
htons
(TFTP_RRQ);
osdep.h
50
#define
htons
(x) \
macro
/external/webkit/Source/WebCore/platform/graphics/
WOFFFileFormat.cpp
41
#define
htons
(x) std_htons(x)
macro
49
#define
htons
(x) ((uint16_t)(x))
macro
54
#define
htons
(x) ((uint16_t)(x))
macro
59
#define
htons
(x) ntohs(x)
macro
100
uint16_t bigEndianValue =
htons
(value);
/external/dnsmasq/src/
network.c
221
addr.in6.sin6_port =
htons
(daemon->port);
240
addr.in.sin_port =
htons
(daemon->port);
277
addr.in6.sin6_port =
htons
(port);
329
addr.in.sin_port =
htons
(daemon->port);
363
addr.in.sin_port =
htons
(TFTP_PORT);
462
iface->addr.in.sin_port =
htons
(TFTP_PORT);
501
port =
htons
(daemon->min_port + (port % ((unsigned short)ports_avail)));
576
addr->in.sin_port ==
htons
(0))
582
addr->in6.sin6_port ==
htons
(0))
632
addr.in.sin_port =
htons
(daemon->query_port)
[
all
...]
/external/iptables/extensions/
libipt_MASQUERADE.c
56
=
htons
(port);
65
mr->range[0].min.tcp.port =
htons
(port);
66
mr->range[0].max.tcp.port =
htons
(maxport);
libipt_REDIRECT.c
56
=
htons
(port);
66
mr->range[0].min.tcp.port =
htons
(port);
67
mr->range[0].max.tcp.port =
htons
(maxport);
/external/dhcpcd/
arp.c
56
ar.ar_hrd =
htons
(iface->family);
57
ar.ar_pro =
htons
(ETHERTYPE_IP);
60
ar.ar_op =
htons
(op);
130
if (ar.ar_pro !=
htons
(ETHERTYPE_IP))
135
if (ar.ar_op !=
htons
(ARPOP_REPLY) &&
136
ar.ar_op !=
htons
(ARPOP_REQUEST))
/external/mtpd/
pptp.c
62
#define CONTROL_MESSAGE
htons
(1)
64
#define PROTOCOL_VERSION
htons
(0x0100)
139
outgoing.header.length =
htons
(length);
142
outgoing.message =
htons
(message);
226
outgoing.sccrq.channels =
htons
(1);
297
outgoing.ocrq.window_size =
htons
(8192);
/external/ppp/pppd/plugins/rp-pppoe/
common.c
412
packet.ethHdr.h_proto =
htons
(Eth_PPPOE_Discovery);
426
hostUniq.type =
htons
(TAG_HOST_UNIQ);
427
hostUniq.length =
htons
(sizeof(pid));
438
err.type =
htons
(TAG_GENERIC_ERROR);
439
err.length =
htons
(elen);
463
packet.length =
htons
(plen);
/gdk/samples/quake/jni/
net_udp.cpp
180
temp.sin_port =
htons
(net_hostport);
244
address.in.sin_port =
htons
(port);
317
((struct sockaddr_in *)hostaddr)->sin_port =
htons
((short)port);
429
((struct sockaddr_in *)addr)->sin_port =
htons
(hp);
480
((struct sockaddr_in *)addr)->sin_port =
htons
(net_hostport);
512
((struct sockaddr_in *)addr)->sin_port =
htons
(port);
/external/chromium/net/base/
ip_endpoint.cc
57
addr->sin_port =
htons
(port_);
69
addr6->sin6_port =
htons
(port_);
/external/tcpdump/
tcpdump-stdinc.h
150
#undef
htons
macro
158
#define
htons
(x) __ntohs(x)
macro
print-ipfc.c
116
etherproto_string(
htons
(extracted_ethertype)));
/frameworks/av/media/common_time/
utils.cpp
70
s->sin_port =
htons
(static_cast<uint16_t>(p->readInt32()));
82
s->sin6_port =
htons
(static_cast<uint16_t>(p->readInt32()));
/system/extras/tests/bionic/libc/common/
test_udp.c
82
si_me.sin_port =
htons
(udpPort);
105
si_other.sin_port =
htons
(udpPort);
/external/bluetooth/bluez/lib/
uuid.c
243
data1 =
htons
(data1);
244
data2 =
htons
(data2);
245
data3 =
htons
(data3);
247
data5 =
htons
(data5);
/external/bluetooth/hcidump/parser/
bpa.c
43
#define BPA_U16(frm) (btohs(
htons
(get_u16(frm))))
/external/kernel-headers/original/linux/
if_vlan.h
222
veth->h_vlan_proto =
htons
(ETH_P_8021Q);
225
veth->h_vlan_TCI =
htons
(vlan_tci);
227
skb->protocol =
htons
(ETH_P_8021Q);
276
if (veth->h_vlan_proto !=
htons
(ETH_P_8021Q)) {
/external/openssh/openbsd-compat/
bindresvport.c
98
*portp =
htons
(port);
rresvport.c
88
*portp =
htons
(*alport);
/external/qemu/slirp/
slirp.c
626
reh->h_proto =
htons
(ETH_P_ARP);
628
rah->ar_hrd =
htons
(1);
629
rah->ar_pro =
htons
(ETH_P_IP);
632
rah->ar_op =
htons
(ARPOP_REPLY);
709
reh->h_proto =
htons
(ETH_P_ARP);
710
rah->ar_hrd =
htons
(1);
711
rah->ar_pro =
htons
(ETH_P_IP);
714
rah->ar_op =
htons
(ARPOP_REQUEST);
731
eh->h_proto =
htons
(ETH_P_IP);
768
int fport =
htons
(host_port)
[
all
...]
Completed in 1674 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>