Home
last modified time | relevance | path

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

/Linux-v5.15/net/bluetooth/
Dhci_sock.c55 __u8 cmsg_mask; member
1418 __u8 mask = hci_pi(sk)->cmsg_mask; in hci_sock_cmsg()
1887 hci_pi(sk)->cmsg_mask |= HCI_CMSG_DIR; in hci_sock_setsockopt()
1889 hci_pi(sk)->cmsg_mask &= ~HCI_CMSG_DIR; in hci_sock_setsockopt()
1899 hci_pi(sk)->cmsg_mask |= HCI_CMSG_TSTAMP; in hci_sock_setsockopt()
1901 hci_pi(sk)->cmsg_mask &= ~HCI_CMSG_TSTAMP; in hci_sock_setsockopt()
1970 if (hci_pi(sk)->cmsg_mask & HCI_CMSG_DIR) in hci_sock_getsockopt()
1980 if (hci_pi(sk)->cmsg_mask & HCI_CMSG_TSTAMP) in hci_sock_getsockopt()
Dsco.c71 __u8 cmsg_mask; member
461 if (sco_pi(sk)->cmsg_mask & SCO_CMSG_PKT_STATUS) in sco_skb_put_cmsg()
884 sco_pi(sk)->cmsg_mask |= SCO_CMSG_PKT_STATUS; in sco_sock_setsockopt()
886 sco_pi(sk)->cmsg_mask &= SCO_CMSG_PKT_STATUS; in sco_sock_setsockopt()
1014 pkt_status = (sco_pi(sk)->cmsg_mask & SCO_CMSG_PKT_STATUS); in sco_sock_getsockopt()