Home
last modified time | relevance | path

Searched refs:ng_hci_cmd_pkt_t (Results 1 – 11 of 11) sorted by relevance

/freebsd/usr.sbin/bluetooth/hccontrol/
H A Dsend_recv.c50 ng_hci_cmd_pkt_t *c = (ng_hci_cmd_pkt_t *) buffer; in hci_request()
136 assert(size >= sizeof(ng_hci_cmd_pkt_t)); in hci_send()
137 assert(size <= sizeof(ng_hci_cmd_pkt_t) + NG_HCI_CMD_PKT_SIZE); in hci_send()
H A Dhost_controller_baseband.c179 ng_hci_cmd_pkt_t hdr; in hci_read_stored_link_key()
/freebsd/usr.sbin/bluetooth/hcsecd/
H A Dhcsecd.c270 ng_hci_cmd_pkt_t *cmd = NULL; in send_pin_code_reply()
274 cmd = (ng_hci_cmd_pkt_t *) buffer; in send_pin_code_reply()
329 ng_hci_cmd_pkt_t *cmd = NULL; in send_link_key_reply()
333 cmd = (ng_hci_cmd_pkt_t *) buffer; in send_link_key_reply()
/freebsd/sys/netgraph/bluetooth/hci/
H A Dng_hci_main.c1045 if (m->m_pkthdr.len < sizeof(ng_hci_cmd_pkt_t)) { in ng_hci_raw_rcvdata()
1054 NG_HCI_M_PULLUP(m, sizeof(ng_hci_cmd_pkt_t)); in ng_hci_raw_rcvdata()
1061 mtod(m, ng_hci_cmd_pkt_t *)->length + sizeof(ng_hci_cmd_pkt_t)) { in ng_hci_raw_rcvdata()
1065 mtod(m, ng_hci_cmd_pkt_t *)->length); in ng_hci_raw_rcvdata()
1071 if (mtod(m, ng_hci_cmd_pkt_t *)->opcode == 0) { in ng_hci_raw_rcvdata()
H A Dng_hci_ulpi.c125 ng_hci_cmd_pkt_t hdr; in ng_hci_lp_acl_con_req()
325 ng_hci_cmd_pkt_t hdr; in ng_hci_lp_sco_con_req()
489 ng_hci_cmd_pkt_t hdr; in ng_hci_lp_le_con_req()
667 ng_hci_cmd_pkt_t hdr; in ng_hci_lp_discon_req()
901 ng_hci_cmd_pkt_t hdr; in ng_hci_lp_con_rsp()
1153 ng_hci_cmd_pkt_t hdr; in ng_hci_lp_qos_req()
H A Dng_hci_cmds.c361 if (mtod(m, ng_hci_cmd_pkt_t *)->opcode != opcode) { in complete_command()
382 m_adj(*cp, sizeof(ng_hci_cmd_pkt_t)); in complete_command()
416 opcode = le16toh(mtod(m, ng_hci_cmd_pkt_t *)->opcode); in ng_hci_process_command_timeout()
H A Dng_hci_evnt.c755 ng_hci_cmd_pkt_t hdr; in con_compl()
/freebsd/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt_var.h134 sizeof(ng_hci_cmd_pkt_t) + NG_HCI_CMD_PKT_SIZE)
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_hci_raw.c685 opcode = le16toh(mtod(m, ng_hci_cmd_pkt_t *)->opcode); in ng_btsocket_hci_raw_filter()
1584 if (m->m_pkthdr.len < sizeof(ng_hci_cmd_pkt_t) || in ng_btsocket_hci_raw_send()
1585 m->m_pkthdr.len > sizeof(ng_hci_cmd_pkt_t) + NG_HCI_CMD_PKT_SIZE) { in ng_btsocket_hci_raw_send()
1590 if (m->m_len < sizeof(ng_hci_cmd_pkt_t)) { in ng_btsocket_hci_raw_send()
1591 if ((m = m_pullup(m, sizeof(ng_hci_cmd_pkt_t))) == NULL) { in ng_btsocket_hci_raw_send()
/freebsd/lib/libbluetooth/
H A Dhci.c100 ng_hci_cmd_pkt_t h; in bt_devsend()
180 ng_hci_cmd_pkt_t *h = (ng_hci_cmd_pkt_t *) buf; in bt_devrecv()
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_hci.h413 } __attribute__ ((packed)) ng_hci_cmd_pkt_t; typedef