Home
last modified time | relevance | path

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

12345

/src/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 …]
/src/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()
/src/contrib/openbsm/compat/
H A Dendian.h119 #ifndef htobe16
125 #define htobe16(x) bswap16((x)) macro
139 #define htobe16(x) ((uint16_t)(x)) macro
/src/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 Dsyzkaller82.sh75 *(uint16_t*)0x2000000001c2 = htobe16(0x4e23);
90 *(uint16_t*)0x200000000002 = htobe16(0x4e22);
97 *(uint16_t*)0x200000000182 = htobe16(0x4e22);
H A Dsyzkaller20.sh80 *(uint16_t*)0x20000002 = htobe16(0x4e21);
88 *(uint16_t*)0x200002c2 = htobe16(0x4e23);
H A Dsyzkaller10.sh57 *(uint16_t*)0x20000002 = htobe16(0x4e21);
70 *(uint16_t*)0x20000042 = htobe16(0x4e21);
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 Dsyzkaller71.sh118 *(uint16_t*)0x20000042 = htobe16(0x4e22 + procid * 4);
126 *(uint16_t*)0x20000182 = htobe16(0x4e22 + procid * 4);
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);
/src/contrib/libfido2/openbsd-compat/
H A Dopenbsd-compat.h22 #define htobe16(x) OSSwapHostToBigInt16((x)) macro
36 #define htobe16(x) htons((x)) macro
/src/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()
/src/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()
/src/contrib/ofed/include/
H A Dbyteorder.h50 #define cpu_to_be16 htobe16
64 #define cpu_to_be16p(x) htobe16(*((uint16_t *)x))
/src/sys/sys/
H A D_endian.h106 #define htobe16(x) __bswap16((x)) macro
120 #define htobe16(x) ((uint16_t)(x)) macro
/src/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()
/src/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()
/src/sys/dev/cxgbe/
H A Dt4_filter.c871 fwr->ethtype = htobe16(f->fs.val.ethtype); in set_tcamfilter()
872 fwr->ethtypem = htobe16(f->fs.mask.ethtype); in set_tcamfilter()
881 fwr->rx_chan_rx_rpl_iq = htobe16(V_FW_FILTER_WR_RX_CHAN(0) | in set_tcamfilter()
896 fwr->ivlan = htobe16(f->fs.val.vlan); in set_tcamfilter()
897 fwr->ivlanm = htobe16(f->fs.mask.vlan); in set_tcamfilter()
898 fwr->ovlan = htobe16(f->fs.val.vnic); in set_tcamfilter()
899 fwr->ovlanm = htobe16(f->fs.mask.vnic); in set_tcamfilter()
904 fwr->lp = htobe16(f->fs.val.dport); in set_tcamfilter()
905 fwr->lpm = htobe16(f->fs.mask.dport); in set_tcamfilter()
906 fwr->fp = htobe16(f->fs.val.sport); in set_tcamfilter()
[all …]

12345