Lines Matching +full:unit +full:- +full:address
5 /*-
6 * SPDX-License-Identifier: BSD-2-Clause
46 #define NG_HCI_ALERT if (unit->debug >= NG_HCI_ALERT_LEVEL) printf
47 #define NG_HCI_ERR if (unit->debug >= NG_HCI_ERR_LEVEL) printf
48 #define NG_HCI_WARN if (unit->debug >= NG_HCI_WARN_LEVEL) printf
49 #define NG_HCI_INFO if (unit->debug >= NG_HCI_INFO_LEVEL) printf
54 if ((m)->m_len < (s)) \
57 NG_HCI_ALERT("%s: %s - m_pullup(%zd) failed\n", \
58 __func__, NG_NODE_NAME(unit->node), (s)); \
62 * Unit hardware buffer descriptor
84 #define NG_HCI_BUFF_CMD_USE(b, v) (b).cmd_free -= (v)
86 #define NG_HCI_BUFF_ACL_USE(b, v) (b).acl_free -= (v)
103 #define NG_HCI_BUFF_SCO_USE(b, v) (b).sco_free -= (v)
121 * Unit (Node private)
131 ng_hci_node_state_ep state; /* unit state */
133 bdaddr_t bdaddr; /* unit address */
164 LIST_HEAD(, ng_hci_neighbor) neighbors; /* unit neighbors */
169 * Unit connection descriptor
173 ng_hci_unit_p unit; /* pointer back */ member
181 bdaddr_t bdaddr; /* remote address */
199 * Unit's neighbor descriptor.
200 * Neighbor is a remote unit that responded to our inquiry.
206 bdaddr_t bdaddr; /* address */
209 u_int8_t addrtype; /*Address Type*/