Home
last modified time | relevance | path

Searched refs:htobe16 (Results 1 – 25 of 114) sorted by relevance

12345

/freebsd/contrib/libfido2/src/
H A Dtpm.c189 x->alg = htobe16(x->alg); in bswap_rs256_pubarea()
190 x->hash = htobe16(x->hash); in bswap_rs256_pubarea()
192 x->policy.size = htobe16(x->policy.size); in bswap_rs256_pubarea()
193 x->param.symmetric = htobe16(x->param.symmetric); in bswap_rs256_pubarea()
194 x->param.scheme = htobe16(x->param.scheme); in bswap_rs256_pubarea()
195 x->param.keybits = htobe16(x->param.keybits); in bswap_rs256_pubarea()
196 x->key.size = htobe16(x->key.size); in bswap_rs256_pubarea()
202 x->alg = htobe16(x->alg); in bswap_es256_pubarea()
203 x->hash = htobe16(x->hash); in bswap_es256_pubarea()
205 x->policy.size = htobe16(x->policy.size); in bswap_es256_pubarea()
[all …]
/freebsd/sbin/ggate/shared/
H A Dggate.h137 ver->gv_version = htobe16(ver->gv_version); in g_gate_swap2n_version()
138 ver->gv_error = htobe16(ver->gv_error); in g_gate_swap2n_version()
155 cinit->gc_nconn = htobe16(cinit->gc_nconn); in g_gate_swap2n_cinit()
176 sinit->gs_error = htobe16(sinit->gs_error); in g_gate_swap2n_sinit()
198 hdr->gh_error = htobe16(hdr->gh_error); in g_gate_swap2n_hdr()
/freebsd/contrib/openbsm/compat/
H A Dendian.h119 #ifndef htobe16
125 #define htobe16(x) bswap16((x)) macro
139 #define htobe16(x) ((uint16_t)(x)) macro
/freebsd/tools/test/stress2/misc/
H A Dsyzkaller66.sh114 *(uint16_t*)0x200001c2 = htobe16(0x4e22);
124 *(uint16_t*)0x200000c2 = htobe16(0x4e22);
139 *(uint16_t*)0x200000c2 = htobe16(0x4e22);
H A Dsyzkaller10.sh57 *(uint16_t*)0x20000002 = htobe16(0x4e21);
70 *(uint16_t*)0x20000042 = htobe16(0x4e21);
H A Dsyzkaller20.sh80 *(uint16_t*)0x20000002 = htobe16(0x4e21);
88 *(uint16_t*)0x200002c2 = htobe16(0x4e23);
H A Dsyzkaller44.sh64 *(uint16_t*)0x20000082 = htobe16(0x4e22);
76 *(uint16_t*)0x20000082 = htobe16(0x4e22);
H A Dsyzkaller60.sh75 *(uint16_t*)0x20000002 = htobe16(0x4e22);
86 *(uint16_t*)0x20000182 = htobe16(0x4e22);
H A Dsyzkaller18.sh60 *(uint16_t*)0x20000082 = htobe16(0x4e20);
80 *(uint16_t*)0x200002ca = htobe16(0x4e23);
H A Dsyzkaller12.sh130 *(uint16_t*)0x20000002 = htobe16(0x4e22);
152 *(uint16_t*)0x20000182 = htobe16(0x4e22);
H A Dsyzkaller19.sh114 *(uint16_t*)0x20000002 = htobe16(0x4e22);
136 *(uint16_t*)0x20000182 = htobe16(0x4e22);
H A Dsyzkaller50.sh107 *(uint16_t*)0x20000242 = htobe16(0x4e23);
115 *(uint16_t*)0x20000082 = htobe16(0x4e23);
H A Dsyzkaller51.sh114 *(uint16_t*)0x20000002 = htobe16(0x4e22);
126 *(uint16_t*)0x20000042 = htobe16(0x4e22);
H A Dsyzkaller55.sh113 *(uint16_t*)0x20000002 = htobe16(0x4e23 + procid * 4);
120 *(uint16_t*)0x20000082 = htobe16(0x4e23 + procid * 4);
H A Dsyzkaller16.sh313 NONFAILING(*(uint16_t*)0x10000002 = htobe16(0x4e22 + procid * 4));
337 NONFAILING(*(uint16_t*)0x10000182 = htobe16(0x4e22 + procid * 4));
369 NONFAILING(*(uint16_t*)0x10000142 = htobe16(0x4e22 + procid * 4));
/freebsd/contrib/libfido2/openbsd-compat/
H A Dopenbsd-compat.h22 #define htobe16(x) OSSwapHostToBigInt16((x)) macro
36 #define htobe16(x) htons((x)) macro
/freebsd/sys/dev/cxgbe/
H A Dt4_filter.c736 fwr->ethtype = htobe16(f->fs.val.ethtype); in set_tcamfilter()
737 fwr->ethtypem = htobe16(f->fs.mask.ethtype); in set_tcamfilter()
746 fwr->rx_chan_rx_rpl_iq = htobe16(V_FW_FILTER_WR_RX_CHAN(0) | in set_tcamfilter()
761 fwr->ivlan = htobe16(f->fs.val.vlan); in set_tcamfilter()
762 fwr->ivlanm = htobe16(f->fs.mask.vlan); in set_tcamfilter()
763 fwr->ovlan = htobe16(f->fs.val.vnic); in set_tcamfilter()
764 fwr->ovlanm = htobe16(f->fs.mask.vnic); in set_tcamfilter()
769 fwr->lp = htobe16(f->fs.val.dport); in set_tcamfilter()
770 fwr->lpm = htobe16(f->fs.mask.dport); in set_tcamfilter()
771 fwr->fp = htobe16( in set_tcamfilter()
[all...]
/freebsd/sys/dev/netmap/
H A Dnetmap_offloadings.c83 iph->tot_len = htobe16(len); in gso_fix_segment()
87 iph->id = htobe16(be16toh(iph->id) + idx); in gso_fix_segment()
96 ip6h->payload_len = htobe16(len-iphlen); in gso_fix_segment()
118 udph->len = htobe16(len-iphlen); in gso_fix_segment()
/freebsd/contrib/ofed/include/
H A Dbyteorder.h50 #define cpu_to_be16 htobe16
64 #define cpu_to_be16p(x) htobe16(*((uint16_t *)x))
/freebsd/sys/net80211/
H A Dieee80211_alq.c158 r->r_wlan = htobe16(vap->iv_ifp->if_dunit); in ieee80211_alq_log()
162 r->r_src = htobe16(srcid); in ieee80211_alq_log()
/freebsd/sys/sys/
H A D_endian.h106 #define htobe16(x) __bswap16((x))
120 #define htobe16(x) ((uint16_t)(x))
104 #define htobe16( global() macro
118 #define htobe16( global() macro
/freebsd/tests/include/
H A Dsys_endian_test.c101 #define H16(x) htobe16(x) in ATF_TC_BODY()
111 #define O16(x) htobe16(x) in ATF_TC_BODY()
H A Dendian_test.c104 #define H16(x) htobe16(x) in ATF_TC_BODY()
114 #define O16(x) htobe16(x) in ATF_TC_BODY()
/freebsd/sys/dev/ath/
H A Dif_ath_alq.c181 ap->op = htobe16(op); in if_ath_alq_post()
182 ap->len = htobe16(len); in if_ath_alq_post()
/freebsd/tools/build/cross-build/include/mac/sys/
H A Dendian.h57 #define htobe16(x) bswap16((x)) macro
71 #define htobe16(x) ((uint16_t)(x)) macro

12345