Home
last modified time | relevance | path

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

/linux-6.12.1/include/net/bluetooth/
Dl2cap.h512 struct l2cap_chan { struct
620 struct l2cap_chan *(*new_connection) (struct l2cap_chan *chan); argument
621 int (*recv) (struct l2cap_chan * chan,
623 void (*teardown) (struct l2cap_chan *chan, int err);
624 void (*close) (struct l2cap_chan *chan);
625 void (*state_change) (struct l2cap_chan *chan,
627 void (*ready) (struct l2cap_chan *chan);
628 void (*defer) (struct l2cap_chan *chan);
629 void (*resume) (struct l2cap_chan *chan);
630 void (*suspend) (struct l2cap_chan *chan);
[all …]
Dbluetooth.h436 struct l2cap_chan *chan;
/linux-6.12.1/net/bluetooth/
Dl2cap_core.c57 static int l2cap_build_conf_req(struct l2cap_chan *chan, void *data, size_t data_size);
58 static void l2cap_send_disconn_req(struct l2cap_chan *chan, int err);
60 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
90 static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in __l2cap_get_chan_by_dcid()
93 struct l2cap_chan *c; in __l2cap_get_chan_by_dcid()
102 static struct l2cap_chan *__l2cap_get_chan_by_scid(struct l2cap_conn *conn, in __l2cap_get_chan_by_scid()
105 struct l2cap_chan *c; 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()
120 struct l2cap_chan *c; in l2cap_get_chan_by_scid()
138 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()
275 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_listen()
390 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getname()
417 static int l2cap_get_mode(struct l2cap_chan *chan) in l2cap_get_mode()
439 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt_old()
559 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt()
709 static bool l2cap_valid_mtu(struct l2cap_chan *chan, u16 mtu) in l2cap_valid_mtu()
729 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_setsockopt_old()
839 static int l2cap_set_mode(struct l2cap_chan *chan, u8 mode) in l2cap_set_mode()
[all …]
Dsmp.c39 ((struct smp_dev *)((struct l2cap_chan *)((hdev)->smp_data))->data)
500 struct l2cap_chan *chan = hdev->smp_data; in smp_irk_matches()
518 struct l2cap_chan *chan = hdev->smp_data; in smp_generate_rpa()
540 struct l2cap_chan *chan = hdev->smp_data; in smp_generate_oob()
591 struct l2cap_chan *chan = conn->smp; in smp_send_cmd()
651 struct l2cap_chan *chan = conn->smp; in build_pairing_cmd()
725 struct l2cap_chan *chan = conn->smp; in check_enc_key_size()
744 struct l2cap_chan *chan = conn->smp; in smp_chan_destroy()
799 struct l2cap_chan *chan = conn->smp; in smp_failure()
854 struct l2cap_chan *chan = conn->smp; in tk_request()
[all …]
/linux-6.12.1/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.12.1/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()