Home
last modified time | relevance | path

Searched refs:packet_mask (Results 1 – 8 of 8) sorted by relevance

/freebsd/lib/libbluetooth/
H A Dhci.c349 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 Dbluetooth.h153 bitstr_t bit_decl(packet_mask, 8);
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_btsocket.h72 bitstr_t bit_decl(packet_mask, 32);
174 ng_hci_node_packet_mask_ep packet_mask; member
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_hci_raw.c693 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()
1311 &p->packet_mask, sizeof(p->packet_mask)); in ng_btsocket_hci_raw_control()
1321 &p->packet_mask, in ng_btsocket_hci_raw_control()
1322 sizeof(p->packet_mask)); in ng_btsocket_hci_raw_control()
/freebsd/sys/netgraph/bluetooth/hci/
H A Dng_hci_main.c134 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 Dng_hci_var.h138 ng_hci_node_packet_mask_ep packet_mask; /* packet mask */ member
H A Dng_hci_ulpi.c262 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 Dnode.c385 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()