Home
last modified time | relevance | path

Searched refs:letoh16 (Results 1 – 8 of 8) sorted by relevance

/dragonfly/sys/netbt/
H A Dl2cap_signal.c194 switch (letoh16(cp.reason)) { in l2cap_recv_command_rej()
251 cp.scid = letoh16(cp.scid); in l2cap_recv_connect_req()
252 cp.psm = letoh16(cp.psm); in l2cap_recv_connect_req()
358 cp.scid = letoh16(cp.scid); in l2cap_recv_connect_rsp()
359 cp.dcid = letoh16(cp.dcid); in l2cap_recv_connect_rsp()
424 left = letoh16(cmd.length); in l2cap_recv_config_req()
433 cp.dcid = letoh16(cp.dcid); in l2cap_recv_config_req()
634 left = letoh16(cmd.length); in l2cap_recv_config_rsp()
643 cp.scid = letoh16(cp.scid); in l2cap_recv_config_rsp()
845 cp.scid = letoh16(cp.scid); in l2cap_recv_disconnect_req()
[all …]
H A Dhci_event.c250 HCI_OGF(letoh16(ep.opcode)), HCI_OCF(letoh16(ep.opcode)), in hci_event_command_status()
257 HCI_OGF(letoh16(ep.opcode)), in hci_event_command_status()
258 HCI_OCF(letoh16(ep.opcode)), ep.status); in hci_event_command_status()
265 switch(letoh16(ep.opcode)) { in hci_event_command_status()
305 HCI_OGF(letoh16(ep.opcode)), HCI_OCF(letoh16(ep.opcode)), in hci_event_command_compl()
317 HCI_OCF(letoh16(ep.opcode)), rp.status); in hci_event_command_compl()
324 switch(letoh16(ep.opcode)) { in hci_event_command_compl()
383 handle = letoh16(handle); in hci_event_num_compl_pkts()
387 num = letoh16(num); in hci_event_num_compl_pkts()
624 ep.con_handle = letoh16(ep.con_handle); in hci_event_discon_compl()
[all …]
H A Dl2cap_lower.c118 hdr.length = letoh16(hdr.length); in l2cap_recv_frame()
119 hdr.dcid = letoh16(hdr.dcid); in l2cap_recv_frame()
H A Dhci_link.c438 if (m->m_pkthdr.len != letoh16(hdr.length)) { in hci_acl_recv()
441 letoh16(hdr.length)); in hci_acl_recv()
446 hdr.length = letoh16(hdr.length); in hci_acl_recv()
447 hdr.con_handle = letoh16(hdr.con_handle); in hci_acl_recv()
509 want = letoh16(want) + sizeof(l2cap_hdr_t) - got; in hci_acl_recv()
856 hdr.con_handle = letoh16(hdr.con_handle); in hci_sco_recv()
H A Dbluetooth.h155 #define letoh16(x) le16toh(x) macro
H A Dhci_socket.c488 hdr.opcode = letoh16(hdr.opcode); in hci_send()
969 opcode = letoh16(mtod(m, hci_cmd_hdr_t *)->opcode); in hci_mtap()
H A Drfcomm_session.c1232 rpn.param_mask = letoh16(rpn.param_mask); in rfcomm_session_recv_mcc_rpn()
1319 pn.mtu = letoh16(pn.mtu); in rfcomm_session_recv_mcc_pn()
/dragonfly/sys/dev/crypto/ubsec/
H A Dubsec.c88 #define letoh16(x) le16toh(x) macro
1766 letoh16(ctx->ctx_op)); in ubsec_callback2()
2726 switch (letoh16(c->ctx_op)) { in ubsec_dump_ctx2()
2736 letoh16(cx->me_E_len), letoh16(cx->me_N_len)); in ubsec_dump_ctx2()
2757 letoh16(mcr->mcr_pkts), letoh16(mcr->mcr_flags)); in ubsec_dump_mcr()
2759 for (i = 0; i < letoh16(mcr->mcr_pkts); i++) { in ubsec_dump_mcr()
2761 letoh32(ma->mcr_cmdctxp), letoh16(ma->mcr_pktlen), in ubsec_dump_mcr()
2762 letoh16(ma->mcr_reserved)); in ubsec_dump_mcr()