HomeSort by relevance Sort by last modified time
    Searched refs:htons (Results 26 - 50 of 382) sorted by null

12 3 4 5 6 7 8 91011>>

  /system/core/libcutils/
socket_network_client.c 51 addr.sin_port = htons(port);
  /external/android-clat/
checksum.c 106 temp_protocol = htons(ip->protocol);
107 temp_length = htons(len);
  /external/valgrind/main/none/tests/
fdleak_ipv4.c 27 addr.sin_port = htons(12321);
47 addr.sin_port = htons(12321);
  /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/chromium_org/third_party/ots/include/
opentype-sanitiser.h 21 #define htons(x) _byteswap_ushort (x) macro
110 v = htons(v);
115 v = htons(v);
  /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))
lpf.c 83 if ((s = socket(PF_PACKET, SOCK_DGRAM, htons(protocol))) == -1)
88 su.sll.sll_protocol = htons(protocol);
144 su.sll.sll_protocol = htons(protocol);
149 su.sll.sll_hatype = htons(iface->family);
  /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);
  /external/chromium/net/base/
ip_endpoint.cc 57 addr->sin_port = htons(port_);
69 addr6->sin6_port = htons(port_);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_network.c 124 sa.sin_port = htons(port);
151 sa.sin_port = htons(portnum);
  /external/iputils/
tftpd.c 366 dp->th_opcode = htons((u_short)DATA);
367 dp->th_block = htons((u_short)block);
432 ap->th_opcode = htons((u_short)ACK);
433 ap->th_block = htons((u_short)block);
477 ap->th_opcode = htons((u_short)ACK); /* send the "final" ack */
478 ap->th_block = htons((u_short)(block));
522 tp->th_opcode = htons((u_short)ERROR);
523 tp->th_code = htons((u_short)error);
  /external/libppp/src/
slcompress.c 139 (f) = htons(ntohs(f) + ((cp[1] << 8) | cp[2])); \
142 (f) = htons(ntohs(f) + (u_int32_t)*cp++); \
148 (f) = htons((cp[1] << 8) | cp[2]); \
151 (f) = htons((u_int32_t)*cp++); \
177 if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40) {
503 th->th_sum = htons((*cp << 8) | cp[1]);
545 cs->cs_ip.ip_id = htons(ntohs(cs->cs_ip.ip_id) + 1);
567 cs->cs_ip.ip_len = htons(len);
ua.h 33 # define ua_htons(src, tgt) (*(u_int16_t *)(tgt) = htons(*(u_int16_t *)(src)))
  /external/mesa3d/src/gallium/auxiliary/util/
u_network.c 124 sa.sin_port = htons(port);
151 sa.sin_port = htons(portnum);
  /external/tcpdump/
tcpdump-stdinc.h 150 #undef htons macro
158 #define htons(x) __ntohs(x) macro
  /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/chromium_org/net/spdy/
spdy_frame_builder.h 88 value = htons(value);
  /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);

Completed in 1484 milliseconds

12 3 4 5 6 7 8 91011>>