Lines Matching refs:coap_pdu_t
302 coap_pdu_t *coap_pdu_from_pbuf(struct pbuf *pbuf);
382 coap_pdu_t *coap_pdu_init(coap_pdu_type_t type, coap_pdu_code_t code,
395 coap_pdu_t *coap_new_pdu(coap_pdu_type_t type, coap_pdu_code_t code,
406 void coap_delete_pdu(coap_pdu_t *pdu);
421 coap_pdu_t *coap_pdu_duplicate(const coap_pdu_t *old_pdu,
444 coap_pdu_t *pdu);
460 int coap_add_token(coap_pdu_t *pdu,
485 size_t coap_add_option(coap_pdu_t *pdu,
501 int coap_add_data(coap_pdu_t *pdu,
517 uint8_t *coap_add_data_after(coap_pdu_t *pdu, size_t len);
531 int coap_get_data(const coap_pdu_t *pdu,
552 int coap_get_data_large(const coap_pdu_t *pdu,
565 coap_pdu_code_t coap_pdu_get_code(const coap_pdu_t *pdu);
573 void coap_pdu_set_code(coap_pdu_t *pdu, coap_pdu_code_t code);
582 coap_pdu_type_t coap_pdu_get_type(const coap_pdu_t *pdu);
590 void coap_pdu_set_type(coap_pdu_t *pdu, coap_pdu_type_t type);
599 coap_bin_const_t coap_pdu_get_token(const coap_pdu_t *pdu);
608 coap_mid_t coap_pdu_get_mid(const coap_pdu_t *pdu);
617 void coap_pdu_set_mid(coap_pdu_t *pdu, coap_mid_t mid);