Lines Matching refs:opt
47 size_t coap_opt_parse(const coap_opt_t *opt,
60 size_t coap_opt_size(const coap_opt_t *opt);
63 #define COAP_OPT_SIZE(opt) coap_opt_size(opt) argument
78 #define options_next(opt) \ argument
79 ((coap_opt_t *)((unsigned char *)(opt) + COAP_OPT_SIZE(opt)))
331 size_t coap_opt_setheader(coap_opt_t *opt,
351 size_t coap_opt_encode(coap_opt_t *opt,
367 unsigned short coap_opt_delta(const coap_opt_t *opt);
370 #define COAP_OPT_DELTA(opt) coap_opt_delta(opt) argument
373 #define COAP_OPT_SETDELTA(opt,val) \ argument
374 coap_opt_encode((opt), COAP_MAX_PDU_SIZE, (val), NULL, 0)
389 unsigned short coap_opt_length(const coap_opt_t *opt);
392 #define COAP_OPT_LENGTH(opt) coap_opt_length(opt) argument
403 unsigned char *coap_opt_value(coap_opt_t *opt);
406 #define COAP_OPT_VALUE(opt) coap_opt_value((coap_opt_t *)opt) argument