Lines Matching refs:l2cap_client_t
34 struct l2cap_client_t { struct
60 static void fragment_packet(l2cap_client_t* client, buffer_t* packet); argument
61 static void dispatch_fragments(l2cap_client_t* client);
62 static l2cap_client_t* find(uint16_t local_channel_id);
90 l2cap_client_t* l2cap_client_new(const l2cap_client_callbacks_t* callbacks, in l2cap_client_new()
107 l2cap_client_t* ret = (l2cap_client_t*)osi_calloc(sizeof(l2cap_client_t)); in l2cap_client_new()
120 void l2cap_client_free(l2cap_client_t* client) { in l2cap_client_free()
129 bool l2cap_client_connect(l2cap_client_t* client, in l2cap_client_connect()
150 void l2cap_client_disconnect(l2cap_client_t* client) { in l2cap_client_disconnect()
170 bool l2cap_client_is_connected(const l2cap_client_t* client) { in l2cap_client_is_connected()
177 bool l2cap_client_write(l2cap_client_t* client, buffer_t* packet) { in l2cap_client_write()
193 l2cap_client_t* client = find(local_channel_id); in connect_completed_cb()
219 l2cap_client_t* client = find(local_channel_id); in config_request_cb()
266 l2cap_client_t* client = find(local_channel_id); in config_completed_cb()
309 l2cap_client_t* client = find(local_channel_id); in disconnect_request_cb()
329 l2cap_client_t* client = find(local_channel_id); in disconnect_completed_cb()
345 l2cap_client_t* client = find(local_channel_id); in congestion_cb()
367 l2cap_client_t* client = find(local_channel_id); in read_ready_cb()
390 static void fragment_packet(l2cap_client_t* client, buffer_t* packet) { in fragment_packet()
425 static void dispatch_fragments(l2cap_client_t* client) { in dispatch_fragments()
452 static l2cap_client_t* find(uint16_t local_channel_id) { in find()
457 l2cap_client_t* client = (l2cap_client_t*)list_node(node); in find()