Home
last modified time | relevance | path

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

/linux-6.6.21/net/bluetooth/
Dl2cap_sock.c86 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_bind()
185 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_connect()
274 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_listen()
389 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getname()
438 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt_old()
557 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt()
727 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_setsockopt_old()
883 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_setsockopt()
1132 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_sendmsg()
1164 struct l2cap_pinfo *pi = l2cap_pi(sk); in l2cap_sock_recvmsg()
[all …]
/linux-6.6.21/net/bluetooth/cmtp/
Dcore.c350 s = __cmtp_get_session(&l2cap_pi(sock->sk)->chan->dst); in cmtp_add_connection()
356 bacpy(&session->bdaddr, &l2cap_pi(sock->sk)->chan->dst); in cmtp_add_connection()
358 session->mtu = min_t(uint, l2cap_pi(sock->sk)->chan->omtu, in cmtp_add_connection()
359 l2cap_pi(sock->sk)->chan->imtu); in cmtp_add_connection()
/linux-6.6.21/net/bluetooth/hidp/
Dcore.c785 &l2cap_pi(session->ctrl_sock->sk)->chan->src); in hidp_setup_hid()
791 &l2cap_pi(session->ctrl_sock->sk)->chan->dst); in hidp_setup_hid()
943 session->ctrl_mtu = min_t(uint, l2cap_pi(ctrl)->chan->omtu, in hidp_session_new()
944 l2cap_pi(ctrl)->chan->imtu); in hidp_session_new()
945 session->intr_mtu = min_t(uint, l2cap_pi(intr)->chan->omtu, in hidp_session_new()
946 l2cap_pi(intr)->chan->imtu); in hidp_session_new()
1321 ctrl_chan = l2cap_pi(ctrl_sock->sk)->chan; in hidp_verify_sockets()
1322 intr_chan = l2cap_pi(intr_sock->sk)->chan; in hidp_verify_sockets()
1363 chan = l2cap_pi(ctrl_sock->sk)->chan; in hidp_connection_add()
/linux-6.6.21/net/bluetooth/rfcomm/
Dcore.c215 struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn; in rfcomm_check_security()
735 chan = l2cap_pi(s->sock->sk)->chan; in rfcomm_session_get()
792 l2cap_pi(sk)->chan->imtu = 0; in rfcomm_session_create()
793 l2cap_pi(sk)->chan->sec_level = sec_level; in rfcomm_session_create()
795 l2cap_pi(sk)->chan->mode = L2CAP_MODE_ERTM; in rfcomm_session_create()
824 struct l2cap_chan *chan = l2cap_pi(s->sock->sk)->chan; in rfcomm_session_getaddr()
1323 struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn; in rfcomm_dlc_accept()
1983 s->mtu = min(l2cap_pi(nsock->sk)->chan->omtu, in rfcomm_accept_connection()
1984 l2cap_pi(nsock->sk)->chan->imtu) - 5; in rfcomm_accept_connection()
2003 s->mtu = min(l2cap_pi(sk)->chan->omtu, l2cap_pi(sk)->chan->imtu) - 5; in rfcomm_check_connection()
[all …]
Dsock.c784 conn = l2cap_pi(l2cap_sk)->chan->conn; in rfcomm_sock_getsockopt_old()
/linux-6.6.21/net/bluetooth/bnep/
Dcore.c544 struct l2cap_conn *conn = l2cap_pi(session->sock->sk)->chan->conn; in bnep_get_device()
572 baswap((void *) dst, &l2cap_pi(sock->sk)->chan->dst); in bnep_add_connection()
573 baswap((void *) src, &l2cap_pi(sock->sk)->chan->src); in bnep_add_connection()
/linux-6.6.21/include/net/bluetooth/
Dl2cap.h725 #define l2cap_pi(sk) ((struct l2cap_pinfo *) sk) macro