Home
last modified time | relevance | path

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

/Linux-v4.19/net/bluetooth/
Da2mp.h29 struct l2cap_conn *l2cap_conn; member
136 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn,
145 static inline struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
Dl2cap_core.c57 static struct sk_buff *l2cap_build_cmd(struct l2cap_conn *conn,
59 static void l2cap_send_cmd(struct l2cap_conn *conn, u8 ident, u8 code, u16 len,
91 static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in __l2cap_get_chan_by_dcid()
103 static struct l2cap_chan *__l2cap_get_chan_by_scid(struct l2cap_conn *conn, in __l2cap_get_chan_by_scid()
117 static struct l2cap_chan *l2cap_get_chan_by_scid(struct l2cap_conn *conn, in l2cap_get_chan_by_scid()
134 static struct l2cap_chan *l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in l2cap_get_chan_by_dcid()
148 static struct l2cap_chan *__l2cap_get_chan_by_ident(struct l2cap_conn *conn, in __l2cap_get_chan_by_ident()
160 static struct l2cap_chan *l2cap_get_chan_by_ident(struct l2cap_conn *conn, in l2cap_get_chan_by_ident()
244 static u16 l2cap_alloc_cid(struct l2cap_conn *conn) in l2cap_alloc_cid()
411 struct l2cap_conn *conn = chan->conn; in l2cap_chan_timeout()
[all …]
Dsmp.c100 struct l2cap_conn *conn;
608 static void smp_send_cmd(struct l2cap_conn *conn, u8 code, u16 len, void *data) in smp_send_cmd()
666 static void build_pairing_cmd(struct l2cap_conn *conn, in build_pairing_cmd()
742 static u8 check_enc_key_size(struct l2cap_conn *conn, __u8 max_key_size) in check_enc_key_size()
757 static void smp_chan_destroy(struct l2cap_conn *conn) in smp_chan_destroy()
812 static void smp_failure(struct l2cap_conn *conn, u8 reason) in smp_failure()
866 static int tk_request(struct l2cap_conn *conn, u8 remote_oob, u8 auth, in tk_request()
958 struct l2cap_conn *conn = smp->conn; in smp_confirm()
985 struct l2cap_conn *conn = smp->conn; in smp_random()
1046 static void smp_notify_keys(struct l2cap_conn *conn) in smp_notify_keys()
[all …]
Da2mp.c247 struct l2cap_conn *conn = mgr->l2cap_conn; in a2mp_discover_rsp()
574 &mgr->l2cap_conn->hcon->dst); in a2mp_discphyslink_req()
758 static struct l2cap_chan *a2mp_chan_open(struct l2cap_conn *conn, bool locked) in a2mp_chan_open()
841 static struct amp_mgr *amp_mgr_create(struct l2cap_conn *conn, bool locked) in amp_mgr_create()
852 mgr->l2cap_conn = conn; in amp_mgr_create()
878 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
1023 struct l2cap_conn *conn = chan->conn; in a2mp_discover_amp()
D6lowpan.c154 __peer_lookup_conn(struct lowpan_btle_dev *dev, struct l2cap_conn *conn) in __peer_lookup_conn()
224 static struct lowpan_peer *lookup_peer(struct l2cap_conn *conn) in lookup_peer()
242 static struct lowpan_btle_dev *lookup_dev(struct l2cap_conn *conn) in lookup_dev()
939 static int bt_6lowpan_disconnect(struct l2cap_conn *conn, u8 dst_type) in bt_6lowpan_disconnect()
988 struct l2cap_conn **conn) in get_l2cap_conn()
1014 *conn = (struct l2cap_conn *)hcon->l2cap_data; in get_l2cap_conn()
1124 struct l2cap_conn *conn = NULL; in lowpan_control_write()
Damp.c115 bdaddr_t *dst = &mgr->l2cap_conn->hcon->dst; in phylink_add()
457 if (phylink_gen_key(mgr->l2cap_conn->hcon, cp.key, &cp.key_len, in amp_create_phylink()
496 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()
1107 struct l2cap_conn *conn; in l2cap_sock_shutdown()
Dhci_event.c4669 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; in hci_phy_link_complete_evt()
/Linux-v4.19/include/net/bluetooth/
Dl2cap.h494 struct l2cap_conn *conn;
624 struct l2cap_conn { struct
661 int (*probe) (struct l2cap_conn *conn, struct l2cap_user *user); argument
662 void (*remove) (struct l2cap_conn *conn, struct l2cap_user *user);
936 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
937 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
945 struct l2cap_conn *l2cap_conn_get(struct l2cap_conn *conn);
946 void l2cap_conn_put(struct l2cap_conn *conn);
948 int l2cap_register_user(struct l2cap_conn *conn, struct l2cap_user *user);
949 void l2cap_unregister_user(struct l2cap_conn *conn, struct l2cap_user *user);
/Linux-v4.19/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,
910 struct l2cap_conn *conn) in hidp_session_new()
1089 static int hidp_session_probe(struct l2cap_conn *conn, in hidp_session_probe()
1150 static void hidp_session_remove(struct l2cap_conn *conn, in hidp_session_remove()
1345 struct l2cap_conn *conn; in hidp_connection_add()
/Linux-v4.19/net/bluetooth/bnep/
Dcore.c543 struct l2cap_conn *conn = l2cap_pi(session->sock->sk)->chan->conn; in bnep_get_device()
/Linux-v4.19/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()
1285 struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn; in rfcomm_dlc_accept()