Lines Matching refs:len
20 uint8_t len) in sol_rpl_status_rsp() argument
22 BT_MESH_MODEL_BUF_DEFINE(buf, OP_SOL_PDU_RPL_ITEM_STATUS, 2 + (len < 2 ? 0 : 1)); in sol_rpl_status_rsp()
28 if (len >= 2) { in sol_rpl_status_rsp()
29 net_buf_simple_add_u8(&buf, len); in sol_rpl_status_rsp()
41 uint8_t len = 0; in item_clear() local
45 if (buf->len > 3) { in item_clear()
52 LOG_DBG("Start address: 0x%02x, %d", primary, buf->len); in item_clear()
54 if (buf->len == 0) { in item_clear()
58 len = net_buf_simple_pull_u8(buf); in item_clear()
60 if (len < 2) { in item_clear()
65 if ((primary + len) > 0x8000 || primary == 0) { in item_clear()
70 for (int i = 0; i < len || i == 0; i++) { in item_clear()
75 sol_rpl_status_rsp(mod, ctx, range, len); in item_clear()