Lines Matching defs:hdr
216 hci_cmd_hdr_t *hdr = (hci_cmd_hdr_t *)arg1;
223 if (hdr->type != HCI_CMD_PKT)
227 if (hdr->opcode == hci_cmds[i].opcode
228 && hdr->length == hci_cmds[i].length
599 hci_cmd_hdr_t hdr;
626 if (m->m_pkthdr.len < sizeof(hdr)) {
630 m_copydata(m, 0, sizeof(hdr), &hdr);
631 hdr.opcode = le16toh(hdr.opcode);
634 if (hdr.type != HCI_CMD_PKT) {
640 if (m->m_pkthdr.len != sizeof(hdr) + hdr.length) {
656 unit, &hdr, NULL, NULL) != 0) {
671 HCI_OGF(hdr.opcode), HCI_OCF(hdr.opcode));