Home
last modified time | relevance | path

Searched refs:be16enc (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/usr.sbin/ctld/
H A Disns.c76 be16enc(hdr->ih_version, ISNS_VERSION); in isns_req_create()
77 be16enc(hdr->ih_function, func); in isns_req_create()
78 be16enc(hdr->ih_flags, flags); in isns_req_create()
207 be16enc(hdr->ih_length, req->ir_usedlen - sizeof(*hdr)); in isns_req_send()
208 be16enc(hdr->ih_flags, be16dec(hdr->ih_flags) | in isns_req_send()
210 be16enc(hdr->ih_transaction, 0); in isns_req_send()
211 be16enc(hdr->ih_sequence, 0); in isns_req_send()
/freebsd/usr.bin/mkimg/
H A Dapm.c72 be16enc(&ddr->ddr_sig, APM_DDR_SIG); in apm_write()
73 be16enc(&ddr->ddr_blksize, secsz); in apm_write()
78 be16enc(&ent->ent_sig, APM_ENT_SIG); in apm_write()
87 be16enc(&ent->ent_sig, APM_ENT_SIG); in apm_write()
H A Dendian.h41 be16enc(void *pp, uint16_t u) in be16enc() function
H A Dvhd.c216 be16enc(&footer->geometry.cylinders, footer->geometry.cylinders); in vhd_make_footer()
H A Dqcow.c302 be16enc(rcblk + n, 1); in qcow_write()
/freebsd/lib/libc/uuid/
H A Duuid_stream.c91 be16enc(p + 4, uuid->time_mid); in uuid_enc_be()
92 be16enc(p + 6, uuid->time_hi_and_version); in uuid_enc_be()
/freebsd/sys/geom/part/
H A Dg_part_apm.c541 be16enc(buf, table->ddr.ddr_sig); in g_part_apm_write()
542 be16enc(buf + 2, table->ddr.ddr_blksize); in g_part_apm_write()
555 be16enc(buf, APM_ENT_SIG); in g_part_apm_write()
567 be16enc(ptr, APM_ENT_SIG); in g_part_apm_write()
/freebsd/contrib/openbsm/sys/bsm/
H A Daudit_internal.h91 be16enc((loc), (val)); \
/freebsd/sys/bsm/
H A Daudit_internal.h93 be16enc((loc), (val)); \
/freebsd/sys/crypto/aesni/
H A Daesni_ccm.c141 be16enc(&staging_block, auth_len); in cbc_mac_start()
149 be16enc(&staging_block, 0xfffe); in cbc_mac_start()
/freebsd/sys/netgraph/
H A Dng_tcpmss.c442 be16enc(&tc->th_sum, sum); in correct_mss()
444 be16enc(opt + 2, maxmss); in correct_mss()
H A Dng_deflate.c497 be16enc(priv->outbuf, PROT_COMPD); in ng_deflate_compress()
498 be16enc(priv->outbuf + 2, priv->seqnum); in ng_deflate_compress()
H A Dng_pptpgre.c628 be16enc(&gre->length, (m != NULL) ? m->m_pkthdr.len : 0); in ng_pptpgre_xmit()
629 be16enc(&gre->cid, hpriv->conf.peerCid); in ng_pptpgre_xmit()
H A Dng_mppc.c614 be16enc(mtod(m, void *), header); in ng_mppc_compress()
/freebsd/contrib/openbsm/compat/
H A Dendian_enc.h92 be16enc(void *pp, uint16_t u) in be16enc() function
/freebsd/sys/kern/
H A Dkern_uuid.c358 be16enc(p + 4, uuid->time_mid); in be_uuid_enc()
359 be16enc(p + 6, uuid->time_hi_and_version); in be_uuid_enc()
/freebsd/usr.sbin/bluetooth/btpand/
H A Dbnep.c603 be16enc(p, va_arg(ap, int)); in bnep_send_control()
605 be16enc(p, va_arg(ap, int)); in bnep_send_control()
612 be16enc(p, va_arg(ap, int)); in bnep_send_control()
/freebsd/sys/sys/
H A Dendian.h121 be16enc(void *pp, uint16_t u) in be16enc() function
/freebsd/tools/build/cross-build/include/linux/sys/
H A Dendian.h125 be16enc(void *pp, uint16_t u) in be16enc() function
/freebsd/tools/build/cross-build/include/mac/sys/
H A Dendian.h137 be16enc(void *pp, uint16_t u) in be16enc() function
/freebsd/usr.sbin/bhyve/
H A Dpci_ahci.c1315 be16enc(buf, size - 2); in atapi_read_toc()
1411 be16enc(buf, size - 2); in atapi_read_toc()
1568 be16enc(buf, 16 - 2); in atapi_mode_sense()
1585 be16enc(buf, 30 - 2); in atapi_mode_sense()
1591 be16enc(&buf[18], 2); in atapi_mode_sense()
1592 be16enc(&buf[20], 512); in atapi_mode_sense()
1642 be16enc(buf, 8 - 2); in atapi_get_event_status_notification()
/freebsd/lib/libthread_db/
H A Dthread_db.c384 be16enc(buf, (uint16_t)val); in thr_pwrite()
/freebsd/sys/dev/iicbus/adc/
H A Dads111x.c177 be16enc(&data[1], val); in ads111x_write_2()
/freebsd/usr.sbin/i2c/
H A Di2c.c307 be16enc(dst, offset); in encode_offset()
/freebsd/sys/opencrypto/
H A Dcryptosoft.c662 be16enc(blk, aad_length); in build_ccm_aad_length()

12