Searched refs:packet_mask (Results 1 – 8 of 8) sorted by relevance
/freebsd/lib/libbluetooth/ |
H A D | hci.c | 349 memcpy(old->packet_mask, &f.packet_mask, in bt_devfilter() 350 MIN(sizeof(old->packet_mask), sizeof(f.packet_mask))); in bt_devfilter() 352 MIN(sizeof(old->event_mask), sizeof(f.packet_mask))); in bt_devfilter() 357 memcpy(&f.packet_mask, new->packet_mask, in bt_devfilter() 358 MIN(sizeof(f.packet_mask), sizeof(new->event_mask))); in bt_devfilter() 373 bit_set(filter->packet_mask, type - 1); in bt_devfilter_pkt_set() 379 bit_clear(filter->packet_mask, type - 1); in bt_devfilter_pkt_clr() 385 return (bit_test(filter->packet_mask, type - 1)); in bt_devfilter_pkt_tst() 672 di->packet_type_info = rp.r6.packet_mask; in bt_devinfo()
|
H A D | bluetooth.h | 153 bitstr_t bit_decl(packet_mask, 8);
|
/freebsd/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket.h | 72 bitstr_t bit_decl(packet_mask, 32); 174 ng_hci_node_packet_mask_ep packet_mask; member
|
/freebsd/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_hci_raw.c | 693 if (d && !bit_test(pcb->filter.packet_mask, NG_HCI_CMD_PKT - 1)) in ng_btsocket_hci_raw_filter() 700 !bit_test(pcb->filter.packet_mask, type - 1) || in ng_btsocket_hci_raw_filter() 1310 &p->packet_mask, sizeof(p->packet_mask)); in ng_btsocket_hci_raw_control() 1320 &p->packet_mask, in ng_btsocket_hci_raw_control() 1321 sizeof(p->packet_mask)); in ng_btsocket_hci_raw_control()
|
/freebsd/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_main.c | 134 unit->packet_mask = 0xffff; /* Enable all packet types */ in ng_hci_constructor() 590 NG_MKRESPONSE(rsp, msg, sizeof(unit->packet_mask), in ng_hci_default_rcvmsg() 598 unit->packet_mask; in ng_hci_default_rcvmsg() 609 unit->packet_mask = in ng_hci_default_rcvmsg()
|
H A D | ng_hci_var.h | 138 ng_hci_node_packet_mask_ep packet_mask; /* packet mask */ member
|
H A D | ng_hci_ulpi.c | 262 req->cp.pkt_type &= unit->packet_mask; in ng_hci_lp_acl_con_req() 455 req->cp.pkt_type &= unit->packet_mask; in ng_hci_lp_sco_con_req()
|
/freebsd/usr.sbin/bluetooth/hccontrol/ |
H A D | node.c | 385 fprintf(stdout, "Packet mask: %#04x\n", r.packet_mask); in hci_read_node_packet_mask() 404 r.packet_mask = (m & 0xffff); in hci_write_node_packet_mask() 574 "write_node_packet_mask <packet_mask>", 579 "\t<packet_mask> - xxxx; packet type mask\n" \
|