OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:htons
(Results
51 - 75
of
382
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/openssh/openbsd-compat/
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
...]
tcp_output.c
283
mss =
htons
((u_int16_t) tcp_mss(tp, 0));
443
ti->ti_win =
htons
((u_int16_t) (win>>tp->rcv_scale));
446
ti->ti_urp =
htons
((u_int16_t)(tp->snd_up - ntohl(ti->ti_seq)));
449
ti->ti_urp =
htons
((u_int16_t)(tp->snd_up - tp->snd_nxt));
466
ti->ti_len =
htons
((u_int16_t)(sizeof (struct tcphdr) +
tftp.c
151
tp->tp_op =
htons
(TFTP_OACK);
193
tp->tp_op =
htons
(TFTP_ERROR);
194
tp->x.tp_error.tp_error_code =
htons
(errorcode);
240
tp->tp_op =
htons
(TFTP_DATA);
241
tp->x.tp_data.tp_block_nr =
htons
(block_nr);
tcp_subr.c
73
n->ti_len =
htons
(sizeof (struct tcpiphdr) - sizeof (struct ip));
145
ti->ti_len =
htons
((u_short)(sizeof (struct tcphdr) + tlen));
157
ti->ti_win =
htons
((u_int16_t) (win >> tp->rcv_scale));
159
ti->ti_win =
htons
((u_int16_t)win);
642
HTONS
(n1);
643
HTONS
(n2);
811
ns->so_lport=
htons
(port);
816
ns->so_fport=
htons
(IPPORT_RESERVED-1); /* Use a fake port. */
975
lport =
htons
((n5 << 8) | (n6));
1007
lport =
htons
((n5 << 8) | (n6))
[
all
...]
/external/tcpdump/
print-ipfc.c
116
etherproto_string(
htons
(extracted_ethertype)));
print-ipx.c
151
(void)printf(" %s", ipxsap_string(
htons
(EXTRACT_16BITS(&ipx[0]))));
163
(void)printf(" %s '", ipxsap_string(
htons
(EXTRACT_16BITS(&ipx[0]))));
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
tipc_config.h
304
tlv_ptr->tlv_type =
htons
(type);
305
tlv_ptr->tlv_len =
htons
(tlv_len);
403
tcm_hdr->tcm_type =
htons
(cmd);
404
tcm_hdr->tcm_flags =
htons
(flags);
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
tipc_config.h
304
tlv_ptr->tlv_type =
htons
(type);
305
tlv_ptr->tlv_len =
htons
(tlv_len);
403
tcm_hdr->tcm_type =
htons
(cmd);
404
tcm_hdr->tcm_flags =
htons
(flags);
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
tipc_config.h
304
tlv_ptr->tlv_type =
htons
(type);
305
tlv_ptr->tlv_len =
htons
(tlv_len);
403
tcm_hdr->tcm_type =
htons
(cmd);
404
tcm_hdr->tcm_flags =
htons
(flags);
/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);
470
iface->addr.in.sin_port =
htons
(TFTP_PORT);
609
iface->addr.in.sin_port =
htons
(TFTP_PORT);
648
port =
htons
(daemon->min_port + (port % ((unsigned short)ports_avail)));
723
addr->in.sin_port ==
htons
(0))
729
addr->in6.sin6_port ==
htons
(0))
[
all
...]
/external/qemu/slirp-android/
tcp_output.c
283
mss =
htons
((u_int16_t) tcp_mss(tp, 0));
443
ti->ti_win =
htons
((u_int16_t) (win>>tp->rcv_scale));
446
ti->ti_urp =
htons
((u_int16_t)(tp->snd_up - ntohl(ti->ti_seq)));
449
ti->ti_urp =
htons
((u_int16_t)(tp->snd_up - tp->snd_nxt));
466
ti->ti_len =
htons
((u_int16_t)(sizeof (struct tcphdr) +
tftp.c
151
tp->tp_op =
htons
(TFTP_OACK);
195
tp->tp_op =
htons
(TFTP_ERROR);
196
tp->x.tp_error.tp_error_code =
htons
(errorcode);
244
tp->tp_op =
htons
(TFTP_DATA);
245
tp->x.tp_data.tp_block_nr =
htons
(block_nr);
/external/iputils/
arping.c
279
ah->ar_hrd =
htons
(ME->sll_hatype);
280
if (ah->ar_hrd ==
htons
(ARPHRD_FDDI))
281
ah->ar_hrd =
htons
(ARPHRD_ETHER);
282
ah->ar_pro =
htons
(ETH_P_IP);
285
ah->ar_op = advert ?
htons
(ARPOP_REPLY) :
htons
(ARPOP_REQUEST);
392
if (ah->ar_op !=
htons
(ARPOP_REQUEST) &&
393
ah->ar_op !=
htons
(ARPOP_REPLY))
397
if (ah->ar_hrd !=
htons
(FROM->sll_hatype) &&
398
(FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd !=
htons
(ARPHRD_ETHER))
[
all
...]
rarpd.c
448
if (a->ar_op !=
htons
(ARPOP_RREQUEST))
474
if (a->ar_pro !=
htons
(ETH_P_IP)) {
479
if (
htons
(sll.sll_hatype) != a->ar_hrd) {
482
if (a->ar_hrd ==
htons
(ARPHRD_ETHER) ||
483
a->ar_hrd ==
htons
(ARPHRD_IEEE802))
520
a->ar_op =
htons
(ARPOP_RREPLY);
638
sll.sll_protocol =
htons
(ETH_P_ARP);
650
sll.sll_protocol =
htons
(ETH_P_RARP);
/external/ipsec-tools/src/racoon/
isakmp_xauth.c
159
attr->h.len =
htons
(tlen);
161
attr->id =
htons
(eay_random());
164
typeattr->type =
htons
(XAUTH_TYPE | ISAKMP_GEN_TV);
165
typeattr->lorv =
htons
(XAUTH_TYPE_GENERIC);
168
usrattr->type =
htons
(XAUTH_USER_NAME | ISAKMP_GEN_TLV);
169
usrattr->lorv =
htons
(0);
172
pwdattr->type =
htons
(XAUTH_USER_PASSWORD | ISAKMP_GEN_TLV);
173
pwdattr->lorv =
htons
(0);
432
attr->h.len =
htons
(tlen);
434
attr->id =
htons
(id)
[
all
...]
isakmp_inf.c
603
d->h.len =
htons
(tlen);
607
d->num_spi =
htons
(1);
667
d->h.len =
htons
(tlen);
671
d->num_spi =
htons
(1);
753
n->h.len =
htons
(tlen);
757
n->type =
htons
(type);
815
n->h.len =
htons
(tlen);
819
n->type =
htons
(type);
865
n->h.len =
htons
(tlen);
869
n->type =
htons
(type)
[
all
...]
/external/iproute2/lib/
ll_proto.c
108
*id =
htons
(llproto_names[i].id);
114
*id =
htons
(*id);
/external/srtp/srtp/
ekt.c
235
*((uint16_t *)packet) =
htons
(isn);
241
*((uint16_t *)packet) =
htons
(ekt->data->spi);
/frameworks/av/media/libstagefright/rtsp/
UDPPusher.cpp
51
mRemoteAddr.sin_port =
htons
(port);
131
tmp.sin_port =
htons
(ntohs(mRemoteAddr.sin_port) | 1);
/bionic/libc/netbsd/net/
getservent.c
102
rs->servent.s_port =
htons
(port);
/device/generic/goldfish/libqemu/
test_host_2.c
67
addr.sin_port =
htons
(port);
/external/android-clat/
translate.c
121
tun_header->proto =
htons
(proto);
139
ip->tot_len =
htons
(sizeof(struct iphdr) + payload_len);
141
ip->frag_off =
htons
(IP_DF);
170
ip6->ip6_plen =
htons
(payload_len);
/external/bluetooth/bluedroid/btif/src/
btif_util.c
144
uuid1 =
htons
(uuid1);
145
uuid2 =
htons
(uuid2);
146
uuid3 =
htons
(uuid3);
148
uuid5 =
htons
(uuid5);
/external/chromium/net/spdy/
spdy_frame_builder.h
67
value =
htons
(value);
Completed in 2005 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>