Searched refs:l2cap_pi (Results 1 – 4 of 4) sorted by relevance
203 if (l2cap_pi(sk)->psm == psm) { in __l2cap_get_sock_by_psm()283 struct l2cap_conn *conn = l2cap_pi(sk)->conn; in __l2cap_sock_close()289 req.dcid = __cpu_to_le16(l2cap_pi(sk)->dcid); in __l2cap_sock_close()290 req.scid = __cpu_to_le16(l2cap_pi(sk)->scid); in __l2cap_sock_close()320 struct l2cap_pinfo *pi = l2cap_pi(sk); in l2cap_sock_init()326 pi->imtu = l2cap_pi(parent)->imtu; in l2cap_sock_init()327 pi->omtu = l2cap_pi(parent)->omtu; in l2cap_sock_init()328 pi->link_mode = l2cap_pi(parent)->link_mode; in l2cap_sock_init()412 l2cap_pi(sk)->psm = la->l2_psm; in l2cap_sock_bind()440 BT_DBG("%s -> %s psm 0x%2.2x", batostr(src), batostr(dst), l2cap_pi(sk)->psm); in l2cap_do_connect()[all …]
227 #define l2cap_pi(sk) ((struct l2cap_pinfo *) &sk->tp_pinfo) macro
366 session->mtu = min_t(uint, l2cap_pi(sock->sk)->omtu, l2cap_pi(sock->sk)->imtu); in cmtp_add_connection()
1676 s->mtu = min(l2cap_pi(sk)->omtu, l2cap_pi(sk)->imtu) - 5; in rfcomm_check_connection()