l2cap_channel
struct l2cap_channel *sc_ctl; /* control channel */
struct l2cap_channel *sc_ctl_l; /* control listen */
struct l2cap_channel *sc_int; /* interrupt channel */
struct l2cap_channel *sc_int_l; /* interrupt listen */
struct l2cap_channel *sc_ctl;
struct l2cap_channel *sc_ctl_l;
struct l2cap_channel *sc_int;
struct l2cap_channel *sc_int_l;
struct l2cap_channel;
int hci_acl_send(struct mbuf *, struct hci_link *, struct l2cap_channel *);
struct l2cap_channel *chan;
struct l2cap_channel *chan;
struct l2cap_channel *chan, *next;
struct l2cap_channel *chan)
struct l2cap_channel *chan;
struct l2cap_channel *chan, *next;
LIST_HEAD(l2cap_channel_list, l2cap_channel);
LIST_ENTRY(l2cap_channel)lc_ncid; /* next channel (ascending CID) */
struct l2cap_channel *lr_chan; /* channel pointer */
struct l2cap_channel *lp_chan; /* PDU owner */
void l2cap_close(struct l2cap_channel *, int);
int l2cap_start(struct l2cap_channel *);
int l2cap_setmode(struct l2cap_channel *);
int l2cap_cid_alloc(struct l2cap_channel *);
struct l2cap_channel *l2cap_cid_lookup(uint16_t);
int l2cap_request_alloc(struct l2cap_channel *, uint8_t);
int l2cap_send_connect_req(struct l2cap_channel *);
int l2cap_send_config_req(struct l2cap_channel *);
int l2cap_send_disconnect_req(struct l2cap_channel *);
int l2cap_attach_pcb(struct l2cap_channel **, const struct btproto *, void *);
int l2cap_bind_pcb(struct l2cap_channel *, struct sockaddr_bt *);
int l2cap_sockaddr_pcb(struct l2cap_channel *, struct sockaddr_bt *);
int l2cap_connect_pcb(struct l2cap_channel *, struct sockaddr_bt *);
int l2cap_peeraddr_pcb(struct l2cap_channel *, struct sockaddr_bt *);
int l2cap_disconnect_pcb(struct l2cap_channel *, int);
void l2cap_detach_pcb(struct l2cap_channel **);
int l2cap_listen_pcb(struct l2cap_channel *);
int l2cap_send_pcb(struct l2cap_channel *, struct mbuf *);
int l2cap_setopt(struct l2cap_channel *, const struct sockopt *);
int l2cap_getopt(struct l2cap_channel *, struct sockopt *);
struct l2cap_channel *chan;
l2cap_start(struct l2cap_channel *chan)
l2cap_close(struct l2cap_channel *chan, int err)
l2cap_request_alloc(struct l2cap_channel *chan, uint8_t code)
struct l2cap_channel *chan;
l2cap_cid_alloc(struct l2cap_channel *chan)
struct l2cap_channel *used, *prev = NULL;
struct l2cap_channel *
struct l2cap_channel *chan;
l2cap_setmode(struct l2cap_channel *chan)
l2cap_send_connect_req(struct l2cap_channel *chan)
l2cap_send_config_req(struct l2cap_channel *chan)
l2cap_send_disconnect_req(struct l2cap_channel *chan)
struct l2cap_channel *chan;
struct l2cap_channel *chan, *new;
struct l2cap_channel *chan;
struct l2cap_channel *chan;
struct l2cap_channel *chan;
struct l2cap_channel *chan;
struct l2cap_channel *chan;
return l2cap_attach_pcb((struct l2cap_channel **)&so->so_pcb,
l2cap_detach_pcb((struct l2cap_channel **)&so->so_pcb);
struct l2cap_channel *pcb = so->so_pcb;
struct l2cap_channel *pcb = so->so_pcb;
struct l2cap_channel *pcb = so->so_pcb;
struct l2cap_channel *pcb = so->so_pcb;
struct l2cap_channel *pcb = so->so_pcb;
struct l2cap_channel *pcb = so->so_pcb;
struct l2cap_channel *pcb = so->so_pcb;
struct l2cap_channel *pcb = so->so_pcb;
struct l2cap_channel *pcb = so->so_pcb;
struct l2cap_channel *pcb = so->so_pcb;
l2cap_bind_pcb(struct l2cap_channel *chan, struct sockaddr_bt *addr)
l2cap_sockaddr_pcb(struct l2cap_channel *chan, struct sockaddr_bt *addr)
l2cap_connect_pcb(struct l2cap_channel *chan, struct sockaddr_bt *dest)
l2cap_peeraddr_pcb(struct l2cap_channel *chan, struct sockaddr_bt *addr)
l2cap_disconnect_pcb(struct l2cap_channel *chan, int linger)
l2cap_detach_pcb(struct l2cap_channel **handle)
struct l2cap_channel *chan;
l2cap_listen_pcb(struct l2cap_channel *chan)
struct l2cap_channel *used, *prev = NULL;
l2cap_send_pcb(struct l2cap_channel *chan, struct mbuf *m)
l2cap_setopt(struct l2cap_channel *chan, const struct sockopt *sopt)
l2cap_getopt(struct l2cap_channel *chan, struct sockopt *sopt)
l2cap_attach_pcb(struct l2cap_channel **handle,
struct l2cap_channel *chan;
chan = malloc(sizeof(struct l2cap_channel), M_BLUETOOTH,
struct l2cap_channel *rs_l2cap; /* L2CAP pointer */