Home
last modified time | relevance | path

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

/Linux-v5.4/net/bluetooth/
Da2mp.h22 struct l2cap_conn *l2cap_conn; member
129 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn,
138 static inline struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
Dl2cap_core.c54 static struct sk_buff *l2cap_build_cmd(struct l2cap_conn *conn,
56 static void l2cap_send_cmd(struct l2cap_conn *conn, u8 ident, u8 code, u16 len,
88 static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in __l2cap_get_chan_by_dcid()
100 static struct l2cap_chan *__l2cap_get_chan_by_scid(struct l2cap_conn *conn, in __l2cap_get_chan_by_scid()
114 static struct l2cap_chan *l2cap_get_chan_by_scid(struct l2cap_conn *conn, in l2cap_get_chan_by_scid()
131 static struct l2cap_chan *l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in l2cap_get_chan_by_dcid()
145 static struct l2cap_chan *__l2cap_get_chan_by_ident(struct l2cap_conn *conn, in __l2cap_get_chan_by_ident()
157 static struct l2cap_chan *l2cap_get_chan_by_ident(struct l2cap_conn *conn, in l2cap_get_chan_by_ident()
249 static u16 l2cap_alloc_cid(struct l2cap_conn *conn) in l2cap_alloc_cid()
416 struct l2cap_conn *conn = chan->conn; in l2cap_chan_timeout()
[all …]
Dsmp.c97 struct l2cap_conn *conn;
599 static void smp_send_cmd(struct l2cap_conn *conn, u8 code, u16 len, void *data) in smp_send_cmd()
657 static void build_pairing_cmd(struct l2cap_conn *conn, in build_pairing_cmd()
733 static u8 check_enc_key_size(struct l2cap_conn *conn, __u8 max_key_size) in check_enc_key_size()
748 static void smp_chan_destroy(struct l2cap_conn *conn) in smp_chan_destroy()
802 static void smp_failure(struct l2cap_conn *conn, u8 reason) in smp_failure()
856 static int tk_request(struct l2cap_conn *conn, u8 remote_oob, u8 auth, in tk_request()
948 struct l2cap_conn *conn = smp->conn; in smp_confirm()
975 struct l2cap_conn *conn = smp->conn; in smp_random()
1033 static void smp_notify_keys(struct l2cap_conn *conn) in smp_notify_keys()
[all …]
Da2mp.c240 struct l2cap_conn *conn = mgr->l2cap_conn; in a2mp_discover_rsp()
567 &mgr->l2cap_conn->hcon->dst); in a2mp_discphyslink_req()
751 static struct l2cap_chan *a2mp_chan_open(struct l2cap_conn *conn, bool locked) in a2mp_chan_open()
834 static struct amp_mgr *amp_mgr_create(struct l2cap_conn *conn, bool locked) in amp_mgr_create()
845 mgr->l2cap_conn = conn; in amp_mgr_create()
871 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
1016 struct l2cap_conn *conn = chan->conn; in a2mp_discover_amp()
D6lowpan.c147 __peer_lookup_conn(struct lowpan_btle_dev *dev, struct l2cap_conn *conn) in __peer_lookup_conn()
226 static struct lowpan_peer *lookup_peer(struct l2cap_conn *conn) in lookup_peer()
244 static struct lowpan_btle_dev *lookup_dev(struct l2cap_conn *conn) in lookup_dev()
933 static int bt_6lowpan_disconnect(struct l2cap_conn *conn, u8 dst_type) in bt_6lowpan_disconnect()
982 struct l2cap_conn **conn) in get_l2cap_conn()
1008 *conn = (struct l2cap_conn *)hcon->l2cap_data; in get_l2cap_conn()
1118 struct l2cap_conn *conn = NULL; in lowpan_control_write()
Damp.c108 bdaddr_t *dst = &mgr->l2cap_conn->hcon->dst; in phylink_add()
449 if (phylink_gen_key(mgr->l2cap_conn->hcon, cp.key, &cp.key_len, in amp_create_phylink()
488 if (phylink_gen_key(mgr->l2cap_conn->hcon, cp.key, &cp.key_len, in amp_accept_phylink()
Dl2cap_sock.c750 struct l2cap_conn *conn; in l2cap_sock_setsockopt()
1110 struct l2cap_conn *conn; in l2cap_sock_shutdown()
Dhci_event.c4800 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; in hci_phy_link_complete_evt()
/Linux-v5.4/include/net/bluetooth/
Dl2cap.h498 struct l2cap_conn *conn;
628 struct l2cap_conn { struct
665 int (*probe) (struct l2cap_conn *conn, struct l2cap_user *user); argument
666 void (*remove) (struct l2cap_conn *conn, struct l2cap_user *user);
940 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
941 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
949 struct l2cap_conn *l2cap_conn_get(struct l2cap_conn *conn);
950 void l2cap_conn_put(struct l2cap_conn *conn);
952 int l2cap_register_user(struct l2cap_conn *conn, struct l2cap_user *user);
953 void l2cap_unregister_user(struct l2cap_conn *conn, struct l2cap_user *user);
/Linux-v5.4/net/bluetooth/hidp/
Dhidp.h150 struct l2cap_conn *conn;
Dcore.c65 static int hidp_session_probe(struct l2cap_conn *conn,
67 static void hidp_session_remove(struct l2cap_conn *conn,
915 struct l2cap_conn *conn) in hidp_session_new()
1098 static int hidp_session_probe(struct l2cap_conn *conn, in hidp_session_probe()
1159 static void hidp_session_remove(struct l2cap_conn *conn, in hidp_session_remove()
1353 struct l2cap_conn *conn; in hidp_connection_add()
/Linux-v5.4/net/bluetooth/bnep/
Dcore.c544 struct l2cap_conn *conn = l2cap_pi(session->sock->sk)->chan->conn; in bnep_get_device()
/Linux-v5.4/net/bluetooth/rfcomm/
Dsock.c763 struct l2cap_conn *conn; in rfcomm_sock_getsockopt_old()
Dcore.c215 struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn; in rfcomm_check_security()
1286 struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn; in rfcomm_dlc_accept()