Lines Matching refs:l2cap_chan
540 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);
664 void (*set_shutdown) (struct l2cap_chan *chan);
665 long (*get_sndtimeo) (struct l2cap_chan *chan);
666 struct pid *(*get_peer_pid) (struct l2cap_chan *chan);
667 struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan,
670 int (*filter) (struct l2cap_chan * chan,
701 struct l2cap_chan *smp;
729 struct l2cap_chan *chan;
849 void l2cap_chan_hold(struct l2cap_chan *c);
850 struct l2cap_chan *l2cap_chan_hold_unless_zero(struct l2cap_chan *c);
851 void l2cap_chan_put(struct l2cap_chan *c);
853 static inline void l2cap_chan_lock(struct l2cap_chan *chan) in l2cap_chan_lock()
858 static inline void l2cap_chan_unlock(struct l2cap_chan *chan) in l2cap_chan_unlock()
863 static inline void l2cap_set_timer(struct l2cap_chan *chan, in l2cap_set_timer()
877 static inline bool l2cap_clear_timer(struct l2cap_chan *chan, in l2cap_clear_timer()
899 static inline int __seq_offset(struct l2cap_chan *chan, __u16 seq1, __u16 seq2) in __seq_offset()
907 static inline __u16 __next_seq(struct l2cap_chan *chan, __u16 seq) in __next_seq()
912 static inline struct l2cap_chan *l2cap_chan_no_new_connection(struct l2cap_chan *chan) in l2cap_chan_no_new_connection()
917 static inline int l2cap_chan_no_recv(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_chan_no_recv()
922 static inline struct sk_buff *l2cap_chan_no_alloc_skb(struct l2cap_chan *chan, in l2cap_chan_no_alloc_skb()
929 static inline void l2cap_chan_no_teardown(struct l2cap_chan *chan, int err) in l2cap_chan_no_teardown()
933 static inline void l2cap_chan_no_close(struct l2cap_chan *chan) in l2cap_chan_no_close()
937 static inline void l2cap_chan_no_ready(struct l2cap_chan *chan) in l2cap_chan_no_ready()
941 static inline void l2cap_chan_no_state_change(struct l2cap_chan *chan, in l2cap_chan_no_state_change()
946 static inline void l2cap_chan_no_defer(struct l2cap_chan *chan) in l2cap_chan_no_defer()
950 static inline void l2cap_chan_no_suspend(struct l2cap_chan *chan) in l2cap_chan_no_suspend()
954 static inline void l2cap_chan_no_resume(struct l2cap_chan *chan) in l2cap_chan_no_resume()
958 static inline void l2cap_chan_no_set_shutdown(struct l2cap_chan *chan) in l2cap_chan_no_set_shutdown()
962 static inline long l2cap_chan_no_get_sndtimeo(struct l2cap_chan *chan) in l2cap_chan_no_get_sndtimeo()
974 void __l2cap_le_connect_rsp_defer(struct l2cap_chan *chan);
975 void __l2cap_ecred_conn_rsp_defer(struct l2cap_chan *chan);
976 void __l2cap_connect_rsp_defer(struct l2cap_chan *chan);
978 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm);
979 int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid);
981 struct l2cap_chan *l2cap_chan_create(void);
982 void l2cap_chan_close(struct l2cap_chan *chan, int reason);
983 int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
985 int l2cap_chan_reconfigure(struct l2cap_chan *chan, __u16 mtu);
986 int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len);
987 void l2cap_chan_busy(struct l2cap_chan *chan, int busy);
988 int l2cap_chan_check_security(struct l2cap_chan *chan, bool initiator);
989 void l2cap_chan_set_defaults(struct l2cap_chan *chan);
990 int l2cap_ertm_init(struct l2cap_chan *chan);
991 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
992 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
993 typedef void (*l2cap_chan_func_t)(struct l2cap_chan *chan, void *data);
996 void l2cap_chan_del(struct l2cap_chan *chan, int err);
997 void l2cap_send_conn_req(struct l2cap_chan *chan);
998 void l2cap_move_start(struct l2cap_chan *chan);
999 void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan,
1001 void __l2cap_physical_cfm(struct l2cap_chan *chan, int result);