Symbol: htobe16
crypto/openssl/include/openssl/byteorder.h
44
#define OSSL_HTOBE16(x) htobe16(x)
crypto/openssl/include/openssl/byteorder.h
64
#define OSSL_HTOBE16(x) htobe16(x)
lib/libc/gen/pututxline.c
272
l = htobe16(l);
sbin/ggate/shared/ggate.h
137
ver->gv_version = htobe16(ver->gv_version);
sbin/ggate/shared/ggate.h
138
ver->gv_error = htobe16(ver->gv_error);
sbin/ggate/shared/ggate.h
155
cinit->gc_nconn = htobe16(cinit->gc_nconn);
sbin/ggate/shared/ggate.h
176
sinit->gs_error = htobe16(sinit->gs_error);
sbin/ggate/shared/ggate.h
198
hdr->gh_error = htobe16(hdr->gh_error);
sys/arm64/broadcom/genet/if_genet.c
468
machi = htobe16(RD4(sc, GENET_UMAC_MAC1) & 0xffff);
sys/compat/linuxkpi/common/include/asm/byteorder.h
62
#define __cpu_to_be16(x) htobe16(x)
sys/compat/linuxkpi/common/include/asm/byteorder.h
87
#define __cpu_to_be16p(x) htobe16(*((const uint16_t *)(x)))
sys/dev/aic7xxx/aic_osm_lib.h
70
#define aic_htobe16(x) htobe16(x)
sys/dev/ath/if_ath_alq.c
181
ap->op = htobe16(op);
sys/dev/ath/if_ath_alq.c
182
ap->len = htobe16(len);
sys/dev/axgbe/xgbe_osdep.h
52
#define be16_to_cpu(x) htobe16(x)
sys/dev/bce/if_bcereg.h
564
#define bce_htobe16(x) htobe16(x)
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
356
app[*num_inputs].protocol = htobe16(fw_app->protocol_id);
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
407
if (fw_app->protocol_id == htobe16(app->protocol) &&
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
419
fw_app->protocol_id = htobe16(app->protocol);
sys/dev/bwi/if_bwi.c
1035
htobe16(bwi_read_sprom(sc, eaddr_ofs + 2 * i));
sys/dev/cxgbe/common/common.h
1106
req->reply_ctrl = htobe16(F_NO_REPLY);
sys/dev/cxgbe/common/common.h
1107
req->word_cookie = htobe16(V_WORD(word) | V_COOKIE(0));
sys/dev/cxgbe/common/common.h
1110
req->reply_ctrl = htobe16(V_T7_QUEUENO(qid) |
sys/dev/cxgbe/common/common.h
1113
req->reply_ctrl = htobe16(V_QUEUENO(qid) |
sys/dev/cxgbe/common/common.h
1116
req->word_cookie = htobe16(V_WORD(word) |
sys/dev/cxgbe/crypto/t4_crypto.c
1442
*(uint16_t *)(b0 + CCM_B0_SIZE) = htobe16(crp->crp_aad_length);
sys/dev/cxgbe/crypto/t4_crypto.c
354
cpl->rss_hdr_int.qid = htobe16(s->port->rxq->iq.abs_id);
sys/dev/cxgbe/crypto/t4_crypto.c
365
sgl->len[j] = htobe16(DSGL_SGE_MAXLEN);
sys/dev/cxgbe/crypto/t4_crypto.c
369
sgl->len[j] = htobe16(seglen);
sys/dev/cxgbe/crypto/t4_keyctx.c
565
htobe16(kctx->u.txhdr.dualck_to_txvalid);
sys/dev/cxgbe/crypto/t4_keyctx.c
682
kwr->mfs = htobe16(tls->params.max_frame_len);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1147
cpl->len = htobe16(pktlen);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1248
cpl->len = htobe16(pktlen);
sys/dev/cxgbe/crypto/t6_kern_tls.c
1893
cpl->len = htobe16(pktlen);
sys/dev/cxgbe/crypto/t6_kern_tls.c
299
cpl->reply_ctrl = htobe16(F_NO_REPLY);
sys/dev/cxgbe/crypto/t6_kern_tls.c
300
cpl->word_cookie = htobe16(V_WORD(word));
sys/dev/cxgbe/crypto/t7_kern_tls.c
1020
rss->qid = htobe16(rx_qid);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1026
cpl->len = htobe16(hash_len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1055
len[0] = htobe16(crypto_hdr_len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1061
len[1] = htobe16(leading_waste);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1064
len[2] = htobe16(m_tls->m_len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1067
len[3] = htobe16(trailing_waste);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1187
cpl->len = htobe16(pktlen);
sys/dev/cxgbe/crypto/t7_kern_tls.c
1768
keyctx->u.txhdr.dualck_to_txvalid &= ~htobe16(
sys/dev/cxgbe/crypto/t7_kern_tls.c
1770
keyctx->u.txhdr.dualck_to_txvalid |= htobe16(
sys/dev/cxgbe/crypto/t7_kern_tls.c
1821
tx_pkt->len = htobe16(m->m_len + m_tls->m_len);
sys/dev/cxgbe/crypto/t7_kern_tls.c
983
lso->ipid_ofst = htobe16(0);
sys/dev/cxgbe/crypto/t7_kern_tls.c
984
lso->mss = htobe16(mss);
sys/dev/cxgbe/osdep.h
107
#define cpu_to_be16(x) htobe16(x)
sys/dev/cxgbe/t4_filter.c
1401
req->reply_ctrl = htobe16(F_NO_REPLY);
sys/dev/cxgbe/t4_filter.c
1406
req->reply_ctrl = htobe16(V_T7_QUEUENO(qid) |
sys/dev/cxgbe/t4_filter.c
1409
req->reply_ctrl = htobe16(V_QUEUENO(qid) |
sys/dev/cxgbe/t4_filter.c
1413
req->word_cookie = htobe16(V_WORD(word) | V_COOKIE(CPL_COOKIE_HASHFILTER));
sys/dev/cxgbe/t4_filter.c
1737
cpl->local_port = htobe16(f->fs.val.dport);
sys/dev/cxgbe/t4_filter.c
1738
cpl->peer_port = htobe16(f->fs.val.sport);
sys/dev/cxgbe/t4_filter.c
1781
cpl->local_port = htobe16(f->fs.val.dport);
sys/dev/cxgbe/t4_filter.c
1782
cpl->peer_port = htobe16(f->fs.val.sport);
sys/dev/cxgbe/t4_filter.c
871
fwr->ethtype = htobe16(f->fs.val.ethtype);
sys/dev/cxgbe/t4_filter.c
872
fwr->ethtypem = htobe16(f->fs.mask.ethtype);
sys/dev/cxgbe/t4_filter.c
881
fwr->rx_chan_rx_rpl_iq = htobe16(V_FW_FILTER_WR_RX_CHAN(0) |
sys/dev/cxgbe/t4_filter.c
896
fwr->ivlan = htobe16(f->fs.val.vlan);
sys/dev/cxgbe/t4_filter.c
897
fwr->ivlanm = htobe16(f->fs.mask.vlan);
sys/dev/cxgbe/t4_filter.c
898
fwr->ovlan = htobe16(f->fs.val.vnic);
sys/dev/cxgbe/t4_filter.c
899
fwr->ovlanm = htobe16(f->fs.mask.vnic);
sys/dev/cxgbe/t4_filter.c
904
fwr->lp = htobe16(f->fs.val.dport);
sys/dev/cxgbe/t4_filter.c
905
fwr->lpm = htobe16(f->fs.mask.dport);
sys/dev/cxgbe/t4_filter.c
906
fwr->fp = htobe16(f->fs.val.sport);
sys/dev/cxgbe/t4_filter.c
907
fwr->fpm = htobe16(f->fs.mask.sport);
sys/dev/cxgbe/t4_filter.c
920
fwr->newlport = htobe16(f->fs.nat_dport);
sys/dev/cxgbe/t4_filter.c
921
fwr->newfport = htobe16(f->fs.nat_sport);
sys/dev/cxgbe/t4_main.c
10901
htobe16(V_FW_LDST_CMD_FID(FW_LDST_MPS_RPLC) |
sys/dev/cxgbe/t4_main.c
11075
htobe16(V_FW_LDST_CMD_FID(FW_LDST_MPS_RPLC) |
sys/dev/cxgbe/t4_main.c
11275
htobe16(V_FW_LDST_CMD_FID(FW_LDST_MPS_RPLC) |
sys/dev/cxgbe/t4_main.c
5415
caps.x##caps &= htobe16(caps_allowed->x##caps); \
sys/dev/cxgbe/t4_main.c
5428
if (caps.niccaps & htobe16(FW_CAPS_CONFIG_NIC_HASHFILTER)) {
sys/dev/cxgbe/t4_main.c
5823
sc->x = htobe16(caps.x); \
sys/dev/cxgbe/t4_main.c
7374
while (spg->cidx != htobe16(eq->pidx))
sys/dev/cxgbe/t4_main.c
7396
spg->pidx = spg->cidx = htobe16(eq->cidx);
sys/dev/cxgbe/t4_netmap.c
1003
cpl->len = htobe16(slot->len);
sys/dev/cxgbe/t4_netmap.c
1019
wr->plen = htobe16(len);
sys/dev/cxgbe/t4_netmap.c
303
c.iqid = htobe16(nm_rxq->iq_cntxt_id);
sys/dev/cxgbe/t4_netmap.c
304
c.fl0id = htobe16(nm_rxq->fl_cntxt_id);
sys/dev/cxgbe/t4_netmap.c
305
c.fl1id = htobe16(0xffff);
sys/dev/cxgbe/t4_netmap.c
306
c.physiqid = htobe16(nm_rxq->iq_abs_id);
sys/dev/cxgbe/t4_netmap.c
316
c.iqdroprss_to_iqesize = htobe16(V_FW_IQ_CMD_IQPCIECH(pi->hw_port) |
sys/dev/cxgbe/t4_netmap.c
320
c.iqsize = htobe16(vi->qsize_rxq);
sys/dev/cxgbe/t4_netmap.c
338
htobe16(V_FW_IQ_CMD_FL0FBMIN(chip_id(sc) <= CHELSIO_T5 ?
sys/dev/cxgbe/t4_netmap.c
342
c.fl0size = htobe16(na->num_rx_desc / 8 + sp->spg_len / EQ_ESIZE);
sys/dev/cxgbe/t4_sge.c
3627
c.iqdroprss_to_iqesize = htobe16(V_FW_IQ_CMD_IQPCIECH(pi->hw_port) |
sys/dev/cxgbe/t4_sge.c
3631
c.iqsize = htobe16(iq->qsize);
sys/dev/cxgbe/t4_sge.c
3660
htobe16(V_FW_IQ_CMD_FL0FBMIN(chip_id(sc) <= CHELSIO_T5 ?
sys/dev/cxgbe/t4_sge.c
3664
c.fl0size = htobe16(fl->qsize);
sys/dev/cxgbe/t4_sge.c
5558
lso->ipid_ofst = htobe16(0);
sys/dev/cxgbe/t4_sge.c
5559
lso->mss = htobe16(m0->m_pkthdr.tso_segsz);
sys/dev/cxgbe/t4_sge.c
5598
htobe16(F_CPL_TX_TNL_LSO_UDPCHKCLROUT |
sys/dev/cxgbe/t4_sge.c
5617
htobe16(V_CPL_TX_TNL_LSO_MSS(m0->m_pkthdr.tso_segsz));
sys/dev/cxgbe/t4_sge.c
5698
cpl->len = htobe16(pktlen);
sys/dev/cxgbe/t4_sge.c
5843
cpl->len = htobe16(pktlen);
sys/dev/cxgbe/t4_sge.c
6051
wr->plen = htobe16(txp->plen);
sys/dev/cxgbe/t4_sge.c
6111
cpl->len = htobe16(m->m_pkthdr.len);
sys/dev/cxgbe/t4_sge.c
6165
wr->plen = htobe16(txp->plen);
sys/dev/cxgbe/t4_sge.c
6200
cpl->len = htobe16(m->m_pkthdr.len);
sys/dev/cxgbe/t4_sge.c
6857
wr->u.udpseg.iplen = htobe16(m0->m_pkthdr.l3hlen);
sys/dev/cxgbe/t4_sge.c
6861
wr->u.udpseg.mss = htobe16(pktlen - immhdrs);
sys/dev/cxgbe/t4_sge.c
6869
wr->u.tcpseg.iplen = htobe16(m0->m_pkthdr.l3hlen);
sys/dev/cxgbe/t4_sge.c
6879
wr->u.tcpseg.mss = htobe16(m0->m_pkthdr.tso_segsz);
sys/dev/cxgbe/t4_sge.c
6890
lso->ipid_ofst = htobe16(0);
sys/dev/cxgbe/t4_sge.c
6891
lso->mss = htobe16(m0->m_pkthdr.tso_segsz);
sys/dev/cxgbe/t4_sge.c
6897
wr->u.tcpseg.mss = htobe16(0xffff);
sys/dev/cxgbe/t4_sge.c
6915
cpl->len = htobe16(pktlen);
sys/dev/cxgbe/tom/t4_cpl_io.c
2296
req->reply_ctrl = htobe16(F_NO_REPLY);
sys/dev/cxgbe/tom/t4_cpl_io.c
2300
req->reply_ctrl = htobe16(V_T7_QUEUENO(qid) |
sys/dev/cxgbe/tom/t4_cpl_io.c
2303
req->reply_ctrl = htobe16(V_QUEUENO(qid) |
sys/dev/cxgbe/tom/t4_cpl_io.c
2307
req->word_cookie = htobe16(V_WORD(word) | V_COOKIE(cookie));
sys/dev/cxgbe/tom/t4_listen.c
637
req->reply_ctrl = htobe16(lctx->ofld_rxq->iq.abs_id);
sys/dev/cxgbe/tom/t4_listen.c
638
req->rsvd = htobe16(0);
sys/dev/cxgbe/tom/t4_tls.c
1027
tls_hdr_pkt->length = htobe16(m->m_pkthdr.len -
sys/dev/cxgbe/tom/t4_tls.c
386
txwr->mfs = htobe16(tls_ofld->frag_size);
sys/dev/cxgbe/tom/t4_tls.c
387
txwr->adjustedplen_pkd = htobe16(
sys/dev/cxgbe/tom/t4_tls.c
389
txwr->expinplenmax_pkd = htobe16(
sys/dev/cxgbe/tom/t4_tls.c
993
tgr->tls_length = htobe16(tls_data->m_pkthdr.len);
sys/dev/cxgbe/tom/t4_tom.c
499
htobe16(V_T7_QUEUENO(sc->sge.ofld_rxq[0].iq.cntxt_id) |
sys/dev/cxgbe/tom/t4_tom.c
503
htobe16(V_QUEUENO(sc->sge.ofld_rxq[0].iq.cntxt_id) |
sys/dev/drm2/drm_os_freebsd.h
49
#define cpu_to_be16(x) htobe16(x)
sys/dev/eqos/if_eqos.c
955
machi = htobe16(RD4(sc, GMAC_MAC_ADDRESS0_HIGH) & 0xFFFF);
sys/dev/eqos/if_eqos_fdt.c
272
htobe16((mac & 0x0000ffff) + (device_get_unit(dev) << 8)));
sys/dev/gve/gve_adminq.c
298
.rx_ring_size = htobe16(priv->rx_desc_cnt),
sys/dev/gve/gve_adminq.c
311
htobe16(GVE_DEFAULT_RX_BUFFER_SIZE);
sys/dev/gve/gve_adminq.c
320
htobe16(priv->rx_desc_cnt);
sys/dev/gve/gve_adminq.c
325
htobe16(priv->rx_buf_size_dqo);
sys/dev/gve/gve_adminq.c
370
.tx_ring_size = htobe16(priv->tx_desc_cnt),
sys/dev/gve/gve_adminq.c
382
htobe16(priv->tx_desc_cnt);
sys/dev/gve/gve_desc.h
137
#define GVE_RXFLG(x) htobe16(1 << (3 + (x)))
sys/dev/gve/gve_tx.c
513
pkt_desc->len = htobe16(pkt_len);
sys/dev/gve/gve_tx.c
514
pkt_desc->seg_len = htobe16(first_seg_len);
sys/dev/gve/gve_tx.c
528
seg_desc->mss = htobe16(tso_mss);
sys/dev/gve/gve_tx.c
530
seg_desc->seg_len = htobe16(len);
sys/dev/ice/ice_osdep.h
319
#define CPU_TO_BE16 htobe16
sys/dev/imcsmb/imcsmb.c
385
lword = htobe16(lword);
sys/dev/imcsmb/imcsmb.c
478
lword = htobe16(lword);
sys/dev/ixgbe/if_fdir.c
129
input.formatted.vlan_id = htobe16(mp->m_pkthdr.ether_vtag);
sys/dev/ixgbe/ixgbe_osdep.h
140
#define IXGBE_CPU_TO_BE16 htobe16
sys/dev/liquidio/lio_main.c
1254
vdata->major = htobe16(LIO_BASE_MAJOR_VERSION);
sys/dev/liquidio/lio_main.c
1255
vdata->minor = htobe16(LIO_BASE_MINOR_VERSION);
sys/dev/liquidio/lio_main.c
1256
vdata->micro = htobe16(LIO_BASE_MICRO_VERSION);
sys/dev/mrsas/mrsas_fp.c
1399
io_request->CDB.EEDP32.PrimaryApplicationTagMask = htobe16(0xffff);
sys/dev/mxge/if_mxge.c
1853
pseudo_hdr_offset = htobe16(mss);
sys/dev/mxge/if_mxge.c
1923
req->length = htobe16(seglen);
sys/dev/mxge/if_mxge.c
2093
pseudo_hdr_offset = htobe16(pseudo_hdr_offset);
sys/dev/mxge/if_mxge.c
2112
req->length = htobe16(seg->ds_len);
sys/dev/mxge/if_mxge.c
2135
req->length = htobe16(60 - cum_len);
sys/dev/netmap/netmap_freebsd.c
243
return htobe16((~cur_sum) & 0xFFFF);
sys/dev/netmap/netmap_freebsd.c
264
htobe16(pseudolen));
sys/dev/netmap/netmap_offloadings.c
118
udph->len = htobe16(len-iphlen);
sys/dev/netmap/netmap_offloadings.c
83
iph->tot_len = htobe16(len);
sys/dev/netmap/netmap_offloadings.c
87
iph->id = htobe16(be16toh(iph->id) + idx);
sys/dev/netmap/netmap_offloadings.c
96
ip6h->payload_len = htobe16(len-iphlen);
sys/dev/ocs_fc/ocs_os.h
266
#define ocs_htobe16(v) htobe16(v)
sys/dev/qat/qat_api/qat_utils/include/qat_utils.h
149
#define QAT_UTILS_OS_HOST_TO_NW_16(uData) htobe16(uData)
sys/dev/qlnx/qlnxe/bcm_osal.h
126
#define OSAL_CPU_TO_BE16(val) htobe16(val)
sys/dev/qlxgb/qla_os.h
123
#define qla_host_to_be16(x) htobe16(x)
sys/dev/qlxgbe/ql_os.h
133
#define qla_host_to_be16(x) htobe16(x)
sys/dev/qlxge/qls_os.h
125
#define qla_host_to_be16(x) htobe16(x)
sys/dev/smartpqi/smartpqi_defines.h
1073
#define BE_16(x) htobe16(x)
sys/dev/usb/controller/ehci.h
401
return sc->sc_flags & EHCI_SCFLG_BIGEDESC ? htobe16(v) : htole16(v);
sys/dev/usb/misc/cp2112.c
1025
data_read_force_send.len = htobe16(in_len);
sys/dev/usb/misc/cp2112.c
1167
req.rlen = htobe16(to_read);
sys/dev/usb/misc/cp2112.c
1183
req.len = htobe16(to_read);
sys/dev/usb/misc/cp2112.c
1264
i2c_cfg.retry_count = htobe16(1);
sys/dev/usb/net/if_usie.c
1234
sc->sc_txd.desc_type = htobe16(USIE_IP_TX);
sys/dev/usb/net/if_usie.c
1436
hip->len = htobe16(sizeof(struct usie_cns) + cns_len);
sys/dev/usb/net/if_usie.c
1440
cns->obj = htobe16(obj);
sys/dev/usb/net/if_usie.c
955
sc->sc_txd.hip.len = htobe16(m->m_pkthdr.len +
sys/dev/usb/video/udl.c
866
lvalue = htobe16(value);
sys/dev/usb/wlan/if_uath.c
1350
chunk->length = htobe16(sizeof (struct uath_tx_desc));
sys/dev/usb/wlan/if_uath.c
1578
chunk->length = htobe16(msglen);
sys/kern/kern_uuid.c
156
uuid.seq = htobe16(uuid.seq | 0x8000);
sys/kern/subr_mchain.c
154
x = htobe16(x);
sys/kern/uipc_ktls.c
2681
tgr.tls_length = htobe16(tls_len - tls->params.tls_hlen -
sys/kern/uipc_ktls.c
2704
if (tgr.tls_length == htobe16(0)) {
sys/net80211/ieee80211_alq.c
158
r->r_wlan = htobe16(vap->iv_ifp->if_dunit);
sys/net80211/ieee80211_alq.c
162
r->r_src = htobe16(srcid);
sys/powerpc/powernv/opal_i2c.c
205
req.addr = htobe16(msgs[i].slave >> 1);
sys/powerpc/pseries/phyp_vscsi.c
508
crq.iu_length = htobe16(xp->srp_iu_size);
sys/powerpc/pseries/phyp_vscsi.c
520
login->buffer_formats = htobe16(0x1 | 0x2); /* Direct and indirect */
sys/powerpc/pseries/phyp_vscsi.c
554
crq.iu_length = htobe16(xp->srp_iu_size);
sys/powerpc/pseries/phyp_vscsi.c
612
crq.iu_length = htobe16(xp->srp_iu_size);
sys/powerpc/pseries/phyp_vscsi.c
787
mad_adapter_info.length = htobe16(sizeof(mad_adapter_info.payload));
sys/powerpc/pseries/phyp_vscsi.c
808
crq.iu_length = htobe16(xp->srp_iu_size);
tests/include/endian_test.c
104
#define H16(x) htobe16(x)
tests/include/endian_test.c
114
#define O16(x) htobe16(x)
tests/include/sys_endian_test.c
101
#define H16(x) htobe16(x)
tests/include/sys_endian_test.c
111
#define O16(x) htobe16(x)
usr.bin/vtfontcvt/vtfontcvt.c
729
fm.vfm_dst = htobe16(mp->m_glyph->g_index);
usr.bin/vtfontcvt/vtfontcvt.c
730
fm.vfm_len = htobe16(mp->m_length - 1);
usr.sbin/bhyve/qemu_fwcfg.c
396
fwcfg_sc.directory->files[file_index].be_selector = htobe16(index);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
598
apm16 = htobe16(0x504d);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
709
apm16 = htobe16(0x4552);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
712
apm16 = htobe16(512);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
719
apm16 = htobe16(1);
usr.sbin/makefs/zfs/zap.c
477
*v = htobe16(*v);
usr.sbin/virtual_oss/virtual_oss/httpd.c
201
pkt.eth.ether_type = htobe16(0x0800);
usr.sbin/virtual_oss/virtual_oss/httpd.c
215
pkt.ip.len = htobe16(total_ip);
usr.sbin/virtual_oss/virtual_oss/httpd.c
222
pkt.udp.srcport = htobe16(port);
usr.sbin/virtual_oss/virtual_oss/httpd.c
223
pkt.udp.dstport = htobe16(port);
usr.sbin/virtual_oss/virtual_oss/httpd.c
224
pkt.udp.len = htobe16(total_ip - sizeof(pkt.ip));
usr.sbin/virtual_oss/virtual_oss/httpd.c
229
pkt.rtp.header16[1] = htobe16(pvc->profile->http.rtp_seqnum);