HelenOS sources
host2uint16_t_be 82 boot/generic/include/byteorder.h #define htons(n) host2uint16_t_be((n))
host2uint16_t_be 109 boot/generic/include/byteorder.h #define host2int16_t_be(n) host2uint16_t_be(n)
host2uint16_t_be 186 kernel/genarch/src/fb/fb.c *((uint16_t *) dst) = host2uint16_t_be(RED(rgb, 5) << 10 |
host2uint16_t_be 198 kernel/genarch/src/fb/fb.c *((uint16_t *) dst) = host2uint16_t_be(RED(rgb, 5) << 11 |
host2uint16_t_be 526 uspace/app/mkfat/mkfat.c bs->signature = host2uint16_t_be(0x55AA);
host2uint16_t_be 175 uspace/drv/block/usbmast/scsi_ms.c cdb.alloc_len = host2uint16_t_be(sizeof(inq_data));
host2uint16_t_be 342 uspace/drv/block/usbmast/scsi_ms.c cdb.xfer_len = host2uint16_t_be(nblocks);
host2uint16_t_be 398 uspace/drv/block/usbmast/scsi_ms.c cdb.xfer_len = host2uint16_t_be(nblocks);
host2uint16_t_be 443 uspace/drv/block/usbmast/scsi_ms.c .numlb = host2uint16_t_be(nblocks),
host2uint16_t_be 356 uspace/drv/nic/ar9271/ar9271.c uint16_t htc_mode = host2uint16_t_be(1);
host2uint16_t_be 379 uspace/drv/nic/ar9271/ar9271.c host2uint16_t_be(1 << IEEE80211_MAX_AMPDU_FACTOR);
host2uint16_t_be 634 uspace/drv/nic/ar9271/ar9271.c uint16_t htc_mode = host2uint16_t_be(1);
host2uint16_t_be 103 uspace/drv/nic/ar9271/htc.c vif_msg.rts_thres = host2uint16_t_be(HTC_RTS_THRESHOLD);
host2uint16_t_be 109 uspace/drv/nic/ar9271/htc.c sta_msg.max_ampdu = host2uint16_t_be(0xFFFF);
host2uint16_t_be 141 uspace/drv/nic/ar9271/htc.c host2uint16_t_be(buffer_size - sizeof(htc_frame_header_t));
host2uint16_t_be 253 uspace/drv/nic/ar9271/htc.c host2uint16_t_be(service_id);
host2uint16_t_be 255 uspace/drv/nic/ar9271/htc.c host2uint16_t_be(HTC_MESSAGE_CONNECT_SERVICE);
host2uint16_t_be 323 uspace/drv/nic/ar9271/htc.c host2uint16_t_be(HTC_MESSAGE_CONFIG);
host2uint16_t_be 372 uspace/drv/nic/ar9271/htc.c host2uint16_t_be(HTC_MESSAGE_SETUP_COMPLETE);
host2uint16_t_be 243 uspace/drv/nic/ar9271/wmi.c wmi_header->command_id = host2uint16_t_be(command_id);
host2uint16_t_be 245 uspace/drv/nic/ar9271/wmi.c host2uint16_t_be(++htc_device->sequence_number);
host2uint16_t_be 1190 uspace/lib/ata/src/ata.c cp->alloc_len = host2uint16_t_be(min(obuf_size, 0xff));
host2uint16_t_be 1296 uspace/lib/ata/src/ata.c cp->alloc_len = host2uint16_t_be(obuf_size);
host2uint16_t_be 82 uspace/lib/c/include/byteorder.h #define htons(n) host2uint16_t_be((n))
host2uint16_t_be 109 uspace/lib/c/include/byteorder.h #define host2int16_t_be(n) host2uint16_t_be(n)
host2uint16_t_be 96 uspace/lib/c/include/ddi.h pio_write_16(reg, host2uint16_t_be(val));
host2uint16_t_be 1460 uspace/lib/ieee80211/src/ieee80211.c eth_header->proto = host2uint16_t_be(ETH_TYPE_PAE);
host2uint16_t_be 1472 uspace/lib/ieee80211/src/ieee80211.c host2uint16_t_be(output_size - sizeof(eth_header_t) - 4);
host2uint16_t_be 1474 uspace/lib/ieee80211/src/ieee80211.c ~host2uint16_t_be(IEEE80211_EAPOL_KEY_KEYINFO_ACK);
host2uint16_t_be 1478 uspace/lib/ieee80211/src/ieee80211.c ~host2uint16_t_be(IEEE80211_EAPOL_KEY_KEYINFO_ENCDATA);
host2uint16_t_be 1480 uspace/lib/ieee80211/src/ieee80211.c ~host2uint16_t_be(IEEE80211_EAPOL_KEY_KEYINFO_INSTALL);
host2uint16_t_be 1530 uspace/lib/ieee80211/src/ieee80211.c host2uint16_t_be(IEEE80211_EAPOL_KEY_KEYINFO_MIC);
host2uint16_t_be 1532 uspace/lib/ieee80211/src/ieee80211.c host2uint16_t_be(auth_link->auth_ie_len);
host2uint16_t_be 110 uspace/lib/pixconv/pixconv.c *((uint16_t *) dst) = host2uint16_t_be(
host2uint16_t_be 122 uspace/lib/pixconv/pixconv.c *((uint16_t *) dst) = host2uint16_t_be(
host2uint16_t_be 82 uspace/lib/posix/include/libc/byteorder.h #define htons(n) host2uint16_t_be((n))
host2uint16_t_be 109 uspace/lib/posix/include/libc/byteorder.h #define host2int16_t_be(n) host2uint16_t_be(n)
host2uint16_t_be 96 uspace/lib/posix/include/libc/ddi.h pio_write_16(reg, host2uint16_t_be(val));
host2uint16_t_be 109 uspace/srv/hid/rfb/rfb.c dst->r_max = host2uint16_t_be(src->r_max);
host2uint16_t_be 110 uspace/srv/hid/rfb/rfb.c dst->g_max = host2uint16_t_be(src->g_max);
host2uint16_t_be 111 uspace/srv/hid/rfb/rfb.c dst->b_max = host2uint16_t_be(src->b_max);
host2uint16_t_be 123 uspace/srv/hid/rfb/rfb.c dst->width = host2uint16_t_be(src->width);
host2uint16_t_be 124 uspace/srv/hid/rfb/rfb.c dst->height = host2uint16_t_be(src->height);
host2uint16_t_be 146 uspace/srv/hid/rfb/rfb.c dst->rect_count = host2uint16_t_be(src->rect_count);
host2uint16_t_be 151 uspace/srv/hid/rfb/rfb.c dst->x = host2uint16_t_be(src->x);
host2uint16_t_be 152 uspace/srv/hid/rfb/rfb.c dst->y = host2uint16_t_be(src->y);
host2uint16_t_be 153 uspace/srv/hid/rfb/rfb.c dst->width = host2uint16_t_be(src->width);
host2uint16_t_be 154 uspace/srv/hid/rfb/rfb.c dst->height = host2uint16_t_be(src->height);
host2uint16_t_be 271 uspace/srv/hid/rfb/rfb.c pix16 = host2uint16_t_be(pix16);
host2uint16_t_be 298 uspace/srv/hid/rfb/rfb.c dst->first_color = host2uint16_t_be(src->first_color);
host2uint16_t_be 299 uspace/srv/hid/rfb/rfb.c dst->color_count = host2uint16_t_be(src->color_count);
host2uint16_t_be 305 uspace/srv/hid/rfb/rfb.c dst->red = host2uint16_t_be(src->red);
host2uint16_t_be 306 uspace/srv/hid/rfb/rfb.c dst->green = host2uint16_t_be(src->green);
host2uint16_t_be 307 uspace/srv/hid/rfb/rfb.c dst->blue = host2uint16_t_be(src->blue);
host2uint16_t_be 176 uspace/srv/net/dhcp/dhcp.c hdr->flags = host2uint16_t_be(flag_broadcast);
host2uint16_t_be 209 uspace/srv/net/dhcp/dhcp.c hdr->flags = host2uint16_t_be(flag_broadcast);
host2uint16_t_be 503 uspace/srv/net/dnsrsrv/dns_msg.c hdr.id = host2uint16_t_be(msg->id);
host2uint16_t_be 505 uspace/srv/net/dnsrsrv/dns_msg.c hdr.opbits = host2uint16_t_be(
host2uint16_t_be 514 uspace/srv/net/dnsrsrv/dns_msg.c hdr.qd_count = host2uint16_t_be(list_count(&msg->question));
host2uint16_t_be 64 uspace/srv/net/ethip/pdu.c hdr->etype_len = host2uint16_t_be(frame->etype_len);
host2uint16_t_be 137 uspace/srv/net/ethip/pdu.c pfmt->hw_addr_space = host2uint16_t_be(AHRD_ETHERNET);
host2uint16_t_be 138 uspace/srv/net/ethip/pdu.c pfmt->proto_addr_space = host2uint16_t_be(ETYPE_IP);
host2uint16_t_be 141 uspace/srv/net/ethip/pdu.c pfmt->opcode = host2uint16_t_be(fopcode);
host2uint16_t_be 105 uspace/srv/net/inetsrv/icmp.c reply->checksum = host2uint16_t_be(checksum);
host2uint16_t_be 155 uspace/srv/net/inetsrv/icmp.c request->ident = host2uint16_t_be(ident);
host2uint16_t_be 156 uspace/srv/net/inetsrv/icmp.c request->seq_no = host2uint16_t_be(sdu->seq_no);
host2uint16_t_be 161 uspace/srv/net/inetsrv/icmp.c request->checksum = host2uint16_t_be(checksum);
host2uint16_t_be 101 uspace/srv/net/inetsrv/icmpv6.c reply->checksum = host2uint16_t_be(cs_all);
host2uint16_t_be 171 uspace/srv/net/inetsrv/icmpv6.c request->un.echo.ident = host2uint16_t_be(ident);
host2uint16_t_be 172 uspace/srv/net/inetsrv/icmpv6.c request->un.echo.seq_no = host2uint16_t_be(sdu->seq_no);
host2uint16_t_be 202 uspace/srv/net/inetsrv/icmpv6.c request->checksum = host2uint16_t_be(cs_all);
host2uint16_t_be 155 uspace/srv/net/inetsrv/pdu.c hdr->tot_len = host2uint16_t_be(size);
host2uint16_t_be 156 uspace/srv/net/inetsrv/pdu.c hdr->id = host2uint16_t_be(packet->ident);
host2uint16_t_be 157 uspace/srv/net/inetsrv/pdu.c hdr->flags_foff = host2uint16_t_be(flags_foff);
host2uint16_t_be 167 uspace/srv/net/inetsrv/pdu.c hdr->chksum = host2uint16_t_be(chksum);
host2uint16_t_be 271 uspace/srv/net/inetsrv/pdu.c hdr6->payload_len = host2uint16_t_be(packet->size +
host2uint16_t_be 280 uspace/srv/net/inetsrv/pdu.c hdr6f->offsmf = host2uint16_t_be(offsmf);
host2uint16_t_be 285 uspace/srv/net/inetsrv/pdu.c hdr6->payload_len = host2uint16_t_be(packet->size);
host2uint16_t_be 524 uspace/srv/net/inetsrv/pdu.c icmpv6->checksum = host2uint16_t_be(cs_all);
host2uint16_t_be 133 uspace/srv/net/tcp/pdu.c hdr->src_port = host2uint16_t_be(epp->local.port);
host2uint16_t_be 134 uspace/srv/net/tcp/pdu.c hdr->dest_port = host2uint16_t_be(epp->remote.port);
host2uint16_t_be 141 uspace/srv/net/tcp/pdu.c hdr->doff_flags = host2uint16_t_be(doff_flags);
host2uint16_t_be 142 uspace/srv/net/tcp/pdu.c hdr->window = host2uint16_t_be(seg->wnd);
host2uint16_t_be 144 uspace/srv/net/tcp/pdu.c hdr->urg_ptr = host2uint16_t_be(seg->up);
host2uint16_t_be 167 uspace/srv/net/tcp/pdu.c host2uint16_t_be(pdu->header_size + pdu->text_size);
host2uint16_t_be 293 uspace/srv/net/tcp/pdu.c hdr->checksum = host2uint16_t_be(checksum);
host2uint16_t_be 105 uspace/srv/net/udp/pdu.c phdr->udp_length = host2uint16_t_be(pdu->data_size);
host2uint16_t_be 160 uspace/srv/net/udp/pdu.c hdr->checksum = host2uint16_t_be(checksum);
host2uint16_t_be 233 uspace/srv/net/udp/pdu.c hdr->src_port = host2uint16_t_be(epp->local.port);
host2uint16_t_be 234 uspace/srv/net/udp/pdu.c hdr->dest_port = host2uint16_t_be(epp->remote.port);
host2uint16_t_be 235 uspace/srv/net/udp/pdu.c hdr->length = host2uint16_t_be(npdu->data_size);
HelenOS homepage, sources at GitHub