Lines Matching refs:coap_opt_t
37 coap_opt_parse(const coap_opt_t *opt, size_t length, coap_option_t *result) { in coap_opt_parse()
39 const coap_opt_t *opt_start = opt; /* store where parsing starts */ in coap_opt_parse()
150 coap_opt_t *
153 coap_opt_t *current_opt = NULL; in coap_option_next()
200 coap_opt_t *
214 coap_opt_length(const coap_opt_t *opt) { in coap_opt_length()
251 coap_opt_value(const coap_opt_t *opt) { in coap_opt_value()
286 coap_opt_size(const coap_opt_t *opt) { in coap_opt_size()
294 coap_opt_setheader(coap_opt_t *opt, size_t maxlen, in coap_opt_setheader()
304 opt[0] = (coap_opt_t)(delta << 4); in coap_opt_setheader()
313 opt[++skip] = (coap_opt_t)(delta - 13); in coap_opt_setheader()
336 opt[++skip] = (coap_opt_t)(length - 13); in coap_opt_setheader()
374 coap_opt_encode(coap_opt_t *opt, size_t maxlen, uint16_t delta, in coap_opt_encode()