Lines Matching refs:coap_packet_t
41 struct coap_packet_t { struct
346 static coap_packet_t *
348 coap_packet_t *packet; in coap_malloc_packet()
349 const size_t need = sizeof(coap_packet_t) + COAP_MAX_PDU_SIZE; in coap_malloc_packet()
351 packet = (coap_packet_t *)coap_malloc(need); in coap_malloc_packet()
359 coap_free_packet(coap_packet_t *packet) { in coap_free_packet()
364 static inline coap_packet_t *
366 return (coap_packet_t *)coap_malloc_type(COAP_PACKET, 0); in coap_malloc_packet()
370 coap_free_packet(coap_packet_t *packet) { in coap_free_packet()
376 coap_get_max_packetlength(const coap_packet_t *packet UNUSED_PARAM) { in coap_get_max_packetlength()
381 coap_packet_populate_endpoint(coap_packet_t *packet, coap_endpoint_t *target) in coap_packet_populate_endpoint()
389 coap_packet_copy_source(coap_packet_t *packet, coap_address_t *target) in coap_packet_copy_source()
394 coap_packet_get_memmapped(coap_packet_t *packet, unsigned char **address, size_t *length) in coap_packet_get_memmapped()
412 coap_network_read(coap_endpoint_t *ep, coap_packet_t **packet) { in coap_network_read()