Lines Matching defs:event
191 } __attribute__ ((packed)) event;
225 memset(&event, 0, sizeof(event));
226 n = sizeof(event);
227 if (hci_recv(s, (char *) &event, &n) != OK)
230 if (n <= sizeof(event.hdr)) {
235 if (event.hdr.type != NG_HCI_EVENT_PKT) {
240 /* Parse event */
241 switch (event.hdr.event) {
245 if (event.ep.cc.opcode == 0x0000 ||
246 event.ep.cc.opcode != cmd.hdr.opcode)
249 rp = (ng_hci_read_stored_link_key_rp *)(event.ep.b +
250 sizeof(event.ep.cc));
267 event.ep.key.num_keys);
269 k = (struct _key *)(event.ep.b + sizeof(event.ep.key));
270 for (n = 0; n < event.ep.key.num_keys; n++) {
1742 "and the corresponding Connection Complete event). At connection setup, only\n"\
1753 "and the corresponding Connection Complete event). At connection setup, only\n"\
1764 "Connection Complete event). At connection setup, only the unit(s) with\n" \
1779 "and the corresponding Connection Complete event). At connection setup,\n" \