Lines Matching refs:cfg_len
469 uint8_t cfg_code, cfg_len; in process_l2cap_cmd() local
472 STREAM_TO_UINT8(cfg_len, p); in process_l2cap_cmd()
477 if (cfg_len != 2) { in process_l2cap_cmd()
481 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()
490 if (cfg_len != 2) { in process_l2cap_cmd()
494 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()
503 if (cfg_len != 2 + 5 * 4) { in process_l2cap_cmd()
507 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()
522 if (cfg_len != 3 + 3 * 2) { in process_l2cap_cmd()
526 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()
540 if (cfg_len != 1) { in process_l2cap_cmd()
544 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()
553 if (cfg_len != 2 + 2 + 3 * 4) { in process_l2cap_cmd()
557 if (p + cfg_len > p_next_cmd) { in process_l2cap_cmd()
571 if ((cfg_len + L2CAP_CFG_OPTION_OVERHEAD) <= cmd_len) { in process_l2cap_cmd()
572 if (p + cfg_len > p_next_cmd) return; in process_l2cap_cmd()
573 p += cfg_len; in process_l2cap_cmd()
575 cfg_rej_len += cfg_len + L2CAP_CFG_OPTION_OVERHEAD; in process_l2cap_cmd()
618 uint8_t cfg_code, cfg_len; in process_l2cap_cmd() local
621 STREAM_TO_UINT8(cfg_len, p); in process_l2cap_cmd()