Searched refs:L2CAP_HEADER_SIZE (Results 1 – 2 of 2) sorted by relevance
43 #define L2CAP_HEADER_SIZE 4 macro153 if (acl_length < L2CAP_HEADER_SIZE) { in reassemble_and_dispatch()154 …AG, "%s L2CAP packet too small (%d < %d). Dropping it.", __func__, packet->len, L2CAP_HEADER_SIZE); in reassemble_and_dispatch()159 uint16_t full_length = l2cap_length + L2CAP_HEADER_SIZE + HCI_ACL_PREAMBLE_SIZE; in reassemble_and_dispatch()163 if (check_uint16_overflow(l2cap_length, (L2CAP_HEADER_SIZE + HCI_ACL_PREAMBLE_SIZE)) || in reassemble_and_dispatch()
77 static const size_t L2CAP_HEADER_SIZE = 4; in btsnoop_calculate_packet_length() local98 size_t len_hci_acl = HCI_ACL_HEADER_SIZE + L2CAP_HEADER_SIZE; in btsnoop_calculate_packet_length()