/freebsd/contrib/libfido2/src/ |
H A D | tpm.c | 189 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 D | ggate.h | 137 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 D | endian.h | 119 #ifndef htobe16 125 #define htobe16(x) bswap16((x)) macro 139 #define htobe16(x) ((uint16_t)(x)) macro
|
/freebsd/tools/test/stress2/misc/ |
H A D | syzkaller66.sh | 114 *(uint16_t*)0x200001c2 = htobe16(0x4e22); 124 *(uint16_t*)0x200000c2 = htobe16(0x4e22); 139 *(uint16_t*)0x200000c2 = htobe16(0x4e22);
|
H A D | syzkaller10.sh | 57 *(uint16_t*)0x20000002 = htobe16(0x4e21); 70 *(uint16_t*)0x20000042 = htobe16(0x4e21);
|
H A D | syzkaller20.sh | 80 *(uint16_t*)0x20000002 = htobe16(0x4e21); 88 *(uint16_t*)0x200002c2 = htobe16(0x4e23);
|
H A D | syzkaller44.sh | 64 *(uint16_t*)0x20000082 = htobe16(0x4e22); 76 *(uint16_t*)0x20000082 = htobe16(0x4e22);
|
H A D | syzkaller60.sh | 75 *(uint16_t*)0x20000002 = htobe16(0x4e22); 86 *(uint16_t*)0x20000182 = htobe16(0x4e22);
|
H A D | syzkaller18.sh | 60 *(uint16_t*)0x20000082 = htobe16(0x4e20); 80 *(uint16_t*)0x200002ca = htobe16(0x4e23);
|
H A D | syzkaller12.sh | 130 *(uint16_t*)0x20000002 = htobe16(0x4e22); 152 *(uint16_t*)0x20000182 = htobe16(0x4e22);
|
H A D | syzkaller19.sh | 114 *(uint16_t*)0x20000002 = htobe16(0x4e22); 136 *(uint16_t*)0x20000182 = htobe16(0x4e22);
|
H A D | syzkaller50.sh | 107 *(uint16_t*)0x20000242 = htobe16(0x4e23); 115 *(uint16_t*)0x20000082 = htobe16(0x4e23);
|
H A D | syzkaller51.sh | 114 *(uint16_t*)0x20000002 = htobe16(0x4e22); 126 *(uint16_t*)0x20000042 = htobe16(0x4e22);
|
H A D | syzkaller55.sh | 113 *(uint16_t*)0x20000002 = htobe16(0x4e23 + procid * 4); 120 *(uint16_t*)0x20000082 = htobe16(0x4e23 + procid * 4);
|
H A D | syzkaller16.sh | 313 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 D | openbsd-compat.h | 22 #define htobe16(x) OSSwapHostToBigInt16((x)) macro 36 #define htobe16(x) htons((x)) macro
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_filter.c | 736 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 D | netmap_offloadings.c | 83 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 D | byteorder.h | 50 #define cpu_to_be16 htobe16 64 #define cpu_to_be16p(x) htobe16(*((uint16_t *)x))
|
/freebsd/sys/net80211/ |
H A D | ieee80211_alq.c | 158 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.h | 106 #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 D | sys_endian_test.c | 101 #define H16(x) htobe16(x) in ATF_TC_BODY() 111 #define O16(x) htobe16(x) in ATF_TC_BODY()
|
H A D | endian_test.c | 104 #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 D | if_ath_alq.c | 181 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 D | endian.h | 57 #define htobe16(x) bswap16((x)) macro 71 #define htobe16(x) ((uint16_t)(x)) macro
|