Home
last modified time | relevance | path

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

12345

/freebsd-14-stable/contrib/libfido2/src/
HDtpm.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-14-stable/sbin/ggate/shared/
HDggate.h134 ver->gv_version = htobe16(ver->gv_version); in g_gate_swap2n_version()
135 ver->gv_error = htobe16(ver->gv_error); in g_gate_swap2n_version()
152 cinit->gc_nconn = htobe16(cinit->gc_nconn); in g_gate_swap2n_cinit()
173 sinit->gs_error = htobe16(sinit->gs_error); in g_gate_swap2n_sinit()
195 hdr->gh_error = htobe16(hdr->gh_error); in g_gate_swap2n_hdr()
/freebsd-14-stable/tools/test/stress2/misc/
HDsyzkaller66.sh114 *(uint16_t*)0x200001c2 = htobe16(0x4e22);
124 *(uint16_t*)0x200000c2 = htobe16(0x4e22);
139 *(uint16_t*)0x200000c2 = htobe16(0x4e22);
HDsyzkaller20.sh80 *(uint16_t*)0x20000002 = htobe16(0x4e21);
88 *(uint16_t*)0x200002c2 = htobe16(0x4e23);
HDsyzkaller10.sh57 *(uint16_t*)0x20000002 = htobe16(0x4e21);
70 *(uint16_t*)0x20000042 = htobe16(0x4e21);
HDsyzkaller44.sh64 *(uint16_t*)0x20000082 = htobe16(0x4e22);
76 *(uint16_t*)0x20000082 = htobe16(0x4e22);
HDsyzkaller60.sh75 *(uint16_t*)0x20000002 = htobe16(0x4e22);
86 *(uint16_t*)0x20000182 = htobe16(0x4e22);
HDsyzkaller18.sh60 *(uint16_t*)0x20000082 = htobe16(0x4e20);
80 *(uint16_t*)0x200002ca = htobe16(0x4e23);
HDsyzkaller12.sh130 *(uint16_t*)0x20000002 = htobe16(0x4e22);
152 *(uint16_t*)0x20000182 = htobe16(0x4e22);
HDsyzkaller19.sh114 *(uint16_t*)0x20000002 = htobe16(0x4e22);
136 *(uint16_t*)0x20000182 = htobe16(0x4e22);
HDsyzkaller50.sh107 *(uint16_t*)0x20000242 = htobe16(0x4e23);
115 *(uint16_t*)0x20000082 = htobe16(0x4e23);
HDsyzkaller51.sh114 *(uint16_t*)0x20000002 = htobe16(0x4e22);
126 *(uint16_t*)0x20000042 = htobe16(0x4e22);
HDsyzkaller55.sh113 *(uint16_t*)0x20000002 = htobe16(0x4e23 + procid * 4);
120 *(uint16_t*)0x20000082 = htobe16(0x4e23 + procid * 4);
HDsyzkaller16.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-14-stable/contrib/openbsm/compat/
HDendian.h119 #ifndef htobe16
125 #define htobe16(x) bswap16((x)) macro
139 #define htobe16(x) ((uint16_t)(x)) macro
/freebsd-14-stable/contrib/libfido2/openbsd-compat/
HDopenbsd-compat.h22 #define htobe16(x) OSSwapHostToBigInt16((x)) macro
36 #define htobe16(x) htons((x)) macro
/freebsd-14-stable/sys/dev/netmap/
HDnetmap_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-14-stable/sys/net80211/
HDieee80211_alq.c162 r->r_wlan = htobe16(vap->iv_ifp->if_dunit); in ieee80211_alq_log()
166 r->r_src = htobe16(srcid); in ieee80211_alq_log()
/freebsd-14-stable/contrib/ofed/include/
HDbyteorder.h50 #define cpu_to_be16 htobe16
64 #define cpu_to_be16p(x) htobe16(*((uint16_t *)x))
/freebsd-14-stable/sys/sys/
HD_endian.h104 #define htobe16(x) __bswap16((x)) macro
118 #define htobe16(x) ((uint16_t)(x)) macro
/freebsd-14-stable/sys/dev/cxgbe/
HDt4_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(f->fs.val.sport); in set_tcamfilter()
[all …]
/freebsd-14-stable/sys/dev/ath/
HDif_ath_alq.c181 ap->op = htobe16(op); in if_ath_alq_post()
182 ap->len = htobe16(len); in if_ath_alq_post()
/freebsd-14-stable/tools/build/cross-build/include/mac/sys/
HDendian.h57 #define htobe16(x) bswap16((x)) macro
71 #define htobe16(x) ((uint16_t)(x)) macro
/freebsd-14-stable/contrib/ofed/libmlx5/
HDmlx5dv.h549 seg->av.rlid = htobe16(rlid); in mlx5dv_set_dgram_seg()
614 seg->mss = htobe16(mss); in mlx5dv_set_eth_seg()
615 seg->inline_hdr_sz = htobe16(inline_hdr_sz); in mlx5dv_set_eth_seg()
HDsrq.c80 next->next_wqe_index = htobe16(ind); in mlx5_free_srq_wqe()
200 next->next_wqe_index = htobe16((i + 1) & (srq->max - 1)); in mlx5_alloc_srq_buf()

12345