Home
last modified time | relevance | path

Searched refs:l2cap_chan (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/include/net/bluetooth/ !
Dl2cap.h540 struct l2cap_chan { struct
653 struct l2cap_chan *(*new_connection) (struct l2cap_chan *chan); argument
654 int (*recv) (struct l2cap_chan * chan,
656 void (*teardown) (struct l2cap_chan *chan, int err);
657 void (*close) (struct l2cap_chan *chan);
658 void (*state_change) (struct l2cap_chan *chan,
660 void (*ready) (struct l2cap_chan *chan);
661 void (*defer) (struct l2cap_chan *chan);
662 void (*resume) (struct l2cap_chan *chan);
663 void (*suspend) (struct l2cap_chan *chan);
[all …]
Dbluetooth.h433 struct l2cap_chan *chan;
/linux-6.6.21/net/bluetooth/ !
Da2mp.h23 struct l2cap_chan *a2mp_chan;
24 struct l2cap_chan *bredr_chan;
129 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn,
131 void a2mp_discover_amp(struct l2cap_chan *chan);
138 static inline struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
144 static inline void a2mp_discover_amp(struct l2cap_chan *chan) in a2mp_discover_amp()
Dl2cap_core.c59 static int l2cap_build_conf_req(struct l2cap_chan *chan, void *data, size_t data_size);
60 static void l2cap_send_disconn_req(struct l2cap_chan *chan, int err);
62 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
92 static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in __l2cap_get_chan_by_dcid()
95 struct l2cap_chan *c; in __l2cap_get_chan_by_dcid()
104 static struct l2cap_chan *__l2cap_get_chan_by_scid(struct l2cap_conn *conn, in __l2cap_get_chan_by_scid()
107 struct l2cap_chan *c; in __l2cap_get_chan_by_scid()
119 static struct l2cap_chan *l2cap_get_chan_by_scid(struct l2cap_conn *conn, in l2cap_get_chan_by_scid()
122 struct l2cap_chan *c; in l2cap_get_chan_by_scid()
140 static struct l2cap_chan *l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in l2cap_get_chan_by_dcid()
[all …]
D6lowpan.c34 struct l2cap_chan *chan;
52 static struct l2cap_chan *listen_chan;
58 struct l2cap_chan *chan;
107 __peer_lookup_chan(struct lowpan_btle_dev *dev, struct l2cap_chan *chan) in __peer_lookup_chan()
344 static int chan_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb) in chan_recv_cb()
428 static int send_pkt(struct l2cap_chan *chan, struct sk_buff *skb, in send_pkt()
616 static struct l2cap_chan *chan_create(void) in chan_create()
618 struct l2cap_chan *chan; in chan_create()
633 static struct l2cap_chan *add_peer_chan(struct l2cap_chan *chan, in add_peer_chan()
662 static int setup_netdev(struct l2cap_chan *chan, struct lowpan_btle_dev **dev) in setup_netdev()
[all …]
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()
416 static int l2cap_get_mode(struct l2cap_chan *chan) in l2cap_get_mode()
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()
707 static bool l2cap_valid_mtu(struct l2cap_chan *chan, u16 mtu) in l2cap_valid_mtu()
727 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_setsockopt_old()
840 static int l2cap_set_mode(struct l2cap_chan *chan, u8 mode) in l2cap_set_mode()
[all …]
Damp.h41 void amp_create_logical_link(struct l2cap_chan *chan);
44 static inline void amp_create_logical_link(struct l2cap_chan *chan) in amp_create_logical_link()
56 void amp_create_logical_link(struct l2cap_chan *chan);
Dsmp.c40 ((struct smp_dev *)((struct l2cap_chan *)((hdev)->smp_data))->data)
501 struct l2cap_chan *chan = hdev->smp_data; in smp_irk_matches()
519 struct l2cap_chan *chan = hdev->smp_data; in smp_generate_rpa()
541 struct l2cap_chan *chan = hdev->smp_data; in smp_generate_oob()
592 struct l2cap_chan *chan = conn->smp; in smp_send_cmd()
652 struct l2cap_chan *chan = conn->smp; in build_pairing_cmd()
726 struct l2cap_chan *chan = conn->smp; in check_enc_key_size()
745 struct l2cap_chan *chan = conn->smp; in smp_chan_destroy()
800 struct l2cap_chan *chan = conn->smp; in smp_failure()
855 struct l2cap_chan *chan = conn->smp; in tk_request()
[all …]
Da2mp.c44 struct l2cap_chan *chan = mgr->a2mp_chan; in a2mp_send()
244 struct l2cap_chan *chan; in a2mp_discover_rsp()
609 static int a2mp_chan_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb) in a2mp_chan_recv_cb()
711 static void a2mp_chan_close_cb(struct l2cap_chan *chan) in a2mp_chan_close_cb()
716 static void a2mp_chan_state_change_cb(struct l2cap_chan *chan, int state, in a2mp_chan_state_change_cb()
736 static struct sk_buff *a2mp_chan_alloc_skb_cb(struct l2cap_chan *chan, in a2mp_chan_alloc_skb_cb()
766 static struct l2cap_chan *a2mp_chan_open(struct l2cap_conn *conn, bool locked) in a2mp_chan_open()
768 struct l2cap_chan *chan; in a2mp_chan_open()
852 struct l2cap_chan *chan; in amp_mgr_create()
886 struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, in a2mp_channel_create()
[all …]
Damp.c505 struct l2cap_chan *bredr_chan; in amp_physical_cfm()
529 void amp_create_logical_link(struct l2cap_chan *chan) in amp_create_logical_link()
Dhci_event.c5762 struct l2cap_chan *bredr_chan = mgr->bredr_chan; in hci_loglink_complete_evt()
/linux-6.6.21/net/bluetooth/hidp/ !
Dcore.c1314 struct l2cap_chan *ctrl_chan, *intr_chan; in hidp_verify_sockets()
1353 struct l2cap_chan *chan; in hidp_connection_add()
/linux-6.6.21/net/bluetooth/rfcomm/ !
Dcore.c733 struct l2cap_chan *chan; in rfcomm_session_get()
824 struct l2cap_chan *chan = l2cap_pi(s->sock->sk)->chan; in rfcomm_session_getaddr()
2193 struct l2cap_chan *chan = l2cap_pi(s->sock->sk)->chan; in rfcomm_dlc_debugfs_show()