| /src/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 …]
|
| /src/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()
|
| /src/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
|
| /src/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 | syzkaller82.sh | 75 *(uint16_t*)0x2000000001c2 = htobe16(0x4e23); 90 *(uint16_t*)0x200000000002 = htobe16(0x4e22); 97 *(uint16_t*)0x200000000182 = htobe16(0x4e22);
|
| H A D | syzkaller20.sh | 80 *(uint16_t*)0x20000002 = htobe16(0x4e21); 88 *(uint16_t*)0x200002c2 = htobe16(0x4e23);
|
| H A D | syzkaller10.sh | 57 *(uint16_t*)0x20000002 = htobe16(0x4e21); 70 *(uint16_t*)0x20000042 = htobe16(0x4e21);
|
| 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 | syzkaller71.sh | 118 *(uint16_t*)0x20000042 = htobe16(0x4e22 + procid * 4); 126 *(uint16_t*)0x20000182 = htobe16(0x4e22 + procid * 4);
|
| 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);
|
| /src/contrib/libfido2/openbsd-compat/ |
| H A D | openbsd-compat.h | 22 #define htobe16(x) OSSwapHostToBigInt16((x)) macro 36 #define htobe16(x) htons((x)) macro
|
| /src/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()
|
| /src/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()
|
| /src/contrib/ofed/include/ |
| H A D | byteorder.h | 50 #define cpu_to_be16 htobe16 64 #define cpu_to_be16p(x) htobe16(*((uint16_t *)x))
|
| /src/sys/sys/ |
| H A D | _endian.h | 106 #define htobe16(x) __bswap16((x)) macro 120 #define htobe16(x) ((uint16_t)(x)) macro
|
| /src/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()
|
| /src/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()
|
| /src/sys/dev/cxgbe/ |
| H A D | t4_filter.c | 871 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 …]
|