htobe64
#define bce_htobe64(x) htobe64(x)
ap->threadid = htobe64((uint64_t) curthread->td_tid);
t.rx_tsf = htobe64(rstamp);
t.beacon_tsf = htobe64(le64toh(ni->ni_tstamp.tsf));
t.tsf64 = htobe64(tsf);
t.nextslot_tsf = htobe64(nextslot);
t.nexttbtt = htobe64(nexttbtt_full);
t.next_slot = htobe64(nextslot);
t.tsf64_old = htobe64(tsf);
t.tsf64_new = htobe64(tsf + tsfdelta);
r->r_timestamp = htobe64(ticks);
B[0] ^= htobe64(t);
B[0] ^= htobe64(t);