Searched refs:item_len (Results 1 – 2 of 2) sorted by relevance
210 uint8_t item_len; in net_buf_pull_call() local218 if (buf->len < sizeof(item_len) + min_item_len) { in net_buf_pull_call()223 item_len = net_buf_simple_pull_u8(buf); in net_buf_pull_call()224 uri_len = item_len - sizeof(call->call_info); in net_buf_pull_call()226 if (item_len > buf->len || item_len < min_item_len) { in net_buf_pull_call()227 LOG_DBG("Invalid current call item length %u", item_len); in net_buf_pull_call()
438 size_t item_len; in net_buf_put_current_calls_by_inst() local450 item_len = sizeof(call->index) + sizeof(call->state) + sizeof(call->flags) + in net_buf_put_current_calls_by_inst()453 __ASSERT_NO_MSG(item_len <= UINT8_MAX); in net_buf_put_current_calls_by_inst()455 if (buf->len + sizeof(uint8_t) + item_len > buf->size) { in net_buf_put_current_calls_by_inst()460 net_buf_simple_add_u8(buf, (uint8_t)item_len); in net_buf_put_current_calls_by_inst()