Home
last modified time | relevance | path

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

/net-tools-3.7.0/libcoap/src/
Doption.c329 coap_opt_setheader(coap_opt_t *opt, size_t maxlen, in coap_opt_setheader() argument
335 if (maxlen == 0) /* need at least one byte */ in coap_opt_setheader()
341 if (maxlen < 2) { in coap_opt_setheader()
349 if (maxlen < 3) { in coap_opt_setheader()
362 if (maxlen < skip + 1) { in coap_opt_setheader()
370 if (maxlen < skip + 2) { in coap_opt_setheader()
384 coap_opt_encode(coap_opt_t *opt, size_t maxlen, unsigned short delta, in coap_opt_encode() argument
388 l = coap_opt_setheader(opt, maxlen, delta, length); in coap_opt_encode()
389 assert(l <= maxlen); in coap_opt_encode()
396 maxlen -= l; in coap_opt_encode()
[all …]
Ddebug.c112 strnlen(const char *s, size_t maxlen) { in strnlen() argument
114 while(*s++ && n < maxlen) in strnlen()
/net-tools-3.7.0/tinydtls-0.8.2/
Ddebug.c106 dtls_strnlen(const char *s, size_t maxlen) { in dtls_strnlen() argument
108 while(*s++ && n < maxlen) in dtls_strnlen()
/net-tools-3.7.0/libcoap/include/coap/
Doption.h332 size_t maxlen,