Lines Matching refs:l2cap_chan
493 struct l2cap_chan { struct
606 struct l2cap_chan *(*new_connection) (struct l2cap_chan *chan); argument
607 int (*recv) (struct l2cap_chan * chan,
609 void (*teardown) (struct l2cap_chan *chan, int err);
610 void (*close) (struct l2cap_chan *chan);
611 void (*state_change) (struct l2cap_chan *chan,
613 void (*ready) (struct l2cap_chan *chan);
614 void (*defer) (struct l2cap_chan *chan);
615 void (*resume) (struct l2cap_chan *chan);
616 void (*suspend) (struct l2cap_chan *chan);
617 void (*set_shutdown) (struct l2cap_chan *chan);
618 long (*get_sndtimeo) (struct l2cap_chan *chan);
619 struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan,
622 int (*filter) (struct l2cap_chan * chan,
653 struct l2cap_chan *smp;
681 struct l2cap_chan *chan;
800 void l2cap_chan_hold(struct l2cap_chan *c);
801 struct l2cap_chan *l2cap_chan_hold_unless_zero(struct l2cap_chan *c);
802 void l2cap_chan_put(struct l2cap_chan *c);
804 static inline void l2cap_chan_lock(struct l2cap_chan *chan) in l2cap_chan_lock()
809 static inline void l2cap_chan_unlock(struct l2cap_chan *chan) in l2cap_chan_unlock()
814 static inline void l2cap_set_timer(struct l2cap_chan *chan, in l2cap_set_timer()
828 static inline bool l2cap_clear_timer(struct l2cap_chan *chan, in l2cap_clear_timer()
850 static inline int __seq_offset(struct l2cap_chan *chan, __u16 seq1, __u16 seq2) in __seq_offset()
858 static inline __u16 __next_seq(struct l2cap_chan *chan, __u16 seq) in __next_seq()
863 static inline struct l2cap_chan *l2cap_chan_no_new_connection(struct l2cap_chan *chan) in l2cap_chan_no_new_connection()
868 static inline int l2cap_chan_no_recv(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_chan_no_recv()
873 static inline struct sk_buff *l2cap_chan_no_alloc_skb(struct l2cap_chan *chan, in l2cap_chan_no_alloc_skb()
880 static inline void l2cap_chan_no_teardown(struct l2cap_chan *chan, int err) in l2cap_chan_no_teardown()
884 static inline void l2cap_chan_no_close(struct l2cap_chan *chan) in l2cap_chan_no_close()
888 static inline void l2cap_chan_no_ready(struct l2cap_chan *chan) in l2cap_chan_no_ready()
892 static inline void l2cap_chan_no_state_change(struct l2cap_chan *chan, in l2cap_chan_no_state_change()
897 static inline void l2cap_chan_no_defer(struct l2cap_chan *chan) in l2cap_chan_no_defer()
901 static inline void l2cap_chan_no_suspend(struct l2cap_chan *chan) in l2cap_chan_no_suspend()
905 static inline void l2cap_chan_no_resume(struct l2cap_chan *chan) in l2cap_chan_no_resume()
909 static inline void l2cap_chan_no_set_shutdown(struct l2cap_chan *chan) in l2cap_chan_no_set_shutdown()
913 static inline long l2cap_chan_no_get_sndtimeo(struct l2cap_chan *chan) in l2cap_chan_no_get_sndtimeo()
924 void __l2cap_le_connect_rsp_defer(struct l2cap_chan *chan);
925 void __l2cap_connect_rsp_defer(struct l2cap_chan *chan);
927 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm);
928 int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid);
930 struct l2cap_chan *l2cap_chan_create(void);
931 void l2cap_chan_close(struct l2cap_chan *chan, int reason);
932 int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
934 int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len);
935 void l2cap_chan_busy(struct l2cap_chan *chan, int busy);
936 int l2cap_chan_check_security(struct l2cap_chan *chan, bool initiator);
937 void l2cap_chan_set_defaults(struct l2cap_chan *chan);
938 int l2cap_ertm_init(struct l2cap_chan *chan);
939 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
940 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
941 void l2cap_chan_del(struct l2cap_chan *chan, int err);
942 void l2cap_send_conn_req(struct l2cap_chan *chan);
943 void l2cap_move_start(struct l2cap_chan *chan);
944 void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan,
946 void __l2cap_physical_cfm(struct l2cap_chan *chan, int result);