Home
last modified time | relevance | path

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

/linux-4.1.27/net/bluetooth/
Dhci_sock.c45 #define hci_pi(sk) ((struct hci_pinfo *) sk) macro
58 set_bit(nr, &hci_pi(sk)->flags); in hci_sock_set_flag()
63 clear_bit(nr, &hci_pi(sk)->flags); in hci_sock_clear_flag()
68 return test_bit(nr, &hci_pi(sk)->flags); in hci_sock_test_flag()
73 return hci_pi(sk)->channel; in hci_sock_get_channel()
121 flt = &hci_pi(sk)->filter; in is_filtered_packet()
168 if (sk->sk_state != BT_BOUND || hci_pi(sk)->hdev != hdev) in hci_send_to_sock()
175 if (hci_pi(sk)->channel == HCI_CHANNEL_RAW) { in hci_send_to_sock()
178 } else if (hci_pi(sk)->channel == HCI_CHANNEL_USER) { in hci_send_to_sock()
237 if (hci_pi(sk)->channel != channel) in hci_send_to_channel()
[all …]