Lines Matching refs:coap_pdu_t
29 coap_pdu_clear(coap_pdu_t *pdu, size_t size) { in coap_pdu_clear()
49 coap_pdu_t *
57 coap_pdu_t *result = coap_malloc_type(COAP_PDU, sizeof(coap_pdu_t)); in coap_pdu_from_pbuf()
63 memset(result, 0, sizeof(coap_pdu_t)); in coap_pdu_from_pbuf()
74 coap_pdu_t *
77 coap_pdu_t *pdu; in coap_pdu_init()
89 pdu = coap_malloc_type(COAP_PDU, sizeof(coap_pdu_t)); in coap_pdu_init()
98 pdu = (coap_pdu_t*)coap_malloc_type(COAP_PDU, sizeof(coap_pdu_t)); in coap_pdu_init()
118 coap_pdu_t *
120 coap_pdu_t *pdu; in coap_new_pdu()
136 coap_delete_pdu(coap_pdu_t *pdu) { in coap_delete_pdu()
153 coap_add_token(coap_pdu_t *pdu, size_t len, const unsigned char *data) { in coap_add_token()
171 coap_add_option(coap_pdu_t *pdu, unsigned short type, unsigned int len, const unsigned char *data) { in coap_add_option()
203 coap_add_option_later(coap_pdu_t *pdu, unsigned short type, unsigned int len) { in coap_add_option_later()
234 coap_add_data(coap_pdu_t *pdu, unsigned int len, const unsigned char *data) { in coap_add_data()
257 coap_get_data(coap_pdu_t *pdu, size_t *len, unsigned char **data) { in coap_get_data()
341 coap_pdu_parse(unsigned char *data, size_t length, coap_pdu_t *pdu) { in coap_pdu_parse()