Home
last modified time | relevance | path

Searched refs:cpy_len (Results 1 – 1 of 1) sorted by relevance

/reactos/drivers/network/tcpip/lwip/src/apps/mqtt/
H A Dmqtt.c888 u16_t cpy_len, buffer_space; in mqtt_parse_incoming() local
893 cpy_len = (u16_t)LWIP_MIN((u16_t)(p->tot_len - in_offset), msg_rem_len); in mqtt_parse_incoming()
897 if (cpy_len > buffer_space) { in mqtt_parse_incoming()
898 cpy_len = buffer_space; in mqtt_parse_incoming()
902 if (cpy_len > (p->len - in_offset)) in mqtt_parse_incoming()
903 cpy_len = p->len - in_offset; in mqtt_parse_incoming()
906 buffer_space, cpy_len, in_offset); in mqtt_parse_incoming()
909 client->msg_idx += cpy_len; in mqtt_parse_incoming()
910 in_offset += cpy_len; in mqtt_parse_incoming()
911 msg_rem_len -= cpy_len; in mqtt_parse_incoming()
[all …]