Lines Matching defs:code
336 send_l2cap_command(HciConnection* conn, uint8 code, uint8 ident, net_buffer* command)
341 header->code = code;
361 uint8 code = 0;
362 net_buffer* buffer = make_l2cap_command_reject(code, reason, mtu, scid, dcid);
366 return send_l2cap_command(conn, code, ident, buffer);
374 uint8 code = 0;
375 net_buffer* buffer = make_l2cap_configuration_req(code, dcid, flags, mtu, flush_timeout, flow);
379 return send_l2cap_command(conn, code, ident, buffer);
386 uint8 code = 0;
387 net_buffer* buffer = make_l2cap_connection_req(code, psm, scid);
391 return send_l2cap_command(conn, code, ident, buffer);
399 uint8 code = 0;
400 net_buffer* buffer = make_l2cap_connection_rsp(code, dcid, scid, result, status);
404 return send_l2cap_command(conn, code, ident, buffer);
412 uint8 code = 0;
413 net_buffer* buffer = make_l2cap_configuration_rsp(code, scid, flags, result, opt);
417 return send_l2cap_command(conn, code, ident, buffer);
424 uint8 code = 0;
425 net_buffer* buffer = make_l2cap_disconnection_req(code, dcid, scid);
429 return send_l2cap_command(conn, code, ident, buffer);
436 uint8 code = 0;
437 net_buffer* buffer = make_l2cap_disconnection_rsp(code, dcid, scid);
441 return send_l2cap_command(conn, code, ident, buffer);
461 const uint8 code = commandHeader->code;
467 if (L2CAP_IS_SIGNAL_RSP(code)) {
474 ERROR("%s: invalid L2CAP signaling command packet, code=%#x, "
476 code, ident, length, buffer->size);
482 switch (code) {
531 "code=%#x\n", code);