Go to the documentation of this file.
27 #define PCHAR(p) ((coap_opt_t *)(p))
65 #define COAP_OPT_SIZE(opt) coap_opt_size(opt)
80 #define options_next(opt) \
81 ((coap_opt_t *)((unsigned char *)(opt) + COAP_OPT_SIZE(opt)))
96 #define COAP_OPT_ALL NULL
173 unsigned int filtered:1;
252 unsigned short delta,
size_t length);
269 const unsigned char *val,
size_t length);
283 #define COAP_OPT_DELTA(opt) coap_opt_delta(opt)
286 #define COAP_OPT_SETDELTA(opt,val) \
287 coap_opt_encode((opt), COAP_MAX_PDU_SIZE, (val), NULL, 0)
305 #define COAP_OPT_LENGTH(opt) coap_opt_length(opt)
318 #define COAP_OPT_VALUE(opt) coap_opt_value((coap_opt_t *)opt)