The queuebuf module handles buffers that are queued.
|
file | queuebuf.c |
| Implementation of the Rime queue buffers
|
|
file | queuebuf.h |
| Header file for the Rime queue buffer management
|
|
#define QUEUEBUF_REF_NUM 2 |
References queuebuf_ref::hdr, queuebuf_ref::hdrlen, queuebuf_ref::len, memb_alloc(), NULL, packetbuf_copyto_hdr(), packetbuf_datalen(), packetbuf_reference_ptr(), PRINTF, rbuf, and queuebuf_ref::ref.
References queuebuf_data::addrs, queuebuf_data::attrs, buf, clock_time(), queuebuf_data::data, queuebuf_data::len, list_add(), memb_alloc(), memb_free(), NULL, packetbuf_attr_copyto(), packetbuf_copyto(), printf, PRINTF, queuebuf::ram_ptr, and RIMESTATS_ADD.
int queuebuf_datalen |
( |
struct queuebuf * |
b | ) |
|
void * queuebuf_dataptr |
( |
struct queuebuf * |
b | ) |
|
void queuebuf_debug_print |
( |
void |
| ) |
|
void queuebuf_free |
( |
struct queuebuf * |
buf | ) |
|
References list_remove(), memb_free(), memb_inmemb(), printf, and queuebuf::ram_ptr.
Referenced by free_packet(), new_route(), output(), packetqueue_dequeue(), remove_queued_packet(), send_packet(), and timedout().
void queuebuf_init |
( |
void |
| ) |
|
struct queuebuf* queuebuf_new_from_packetbuf |
( |
void |
| ) |
|
void queuebuf_to_packetbuf |
( |
struct queuebuf * |
b | ) |
|
References queuebuf_data::addrs, queuebuf_data::attrs, queuebuf_data::data, queuebuf_ref::hdr, queuebuf_ref::hdrlen, queuebuf_data::len, queuebuf_ref::len, memb_inmemb(), packetbuf_attr_copyfrom(), packetbuf_clear(), packetbuf_copyfrom(), packetbuf_hdralloc(), packetbuf_hdrptr(), queuebuf_load_to_ram(), and queuebuf_ref::ref.
Referenced by new_route(), output(), qsend_list(), send_list(), and send_packet().
void queuebuf_update_attr_from_packetbuf |
( |
struct queuebuf * |
buf | ) |
|
Referenced by arg_free(), base64decode(), csc_serv_init(), f_rename(), frame802154_create(), generate_firmware(), get_next_tx_buffer(), handle_transaction(), http_recv(), http_write(), if(), m2m_checksum(), main(), make_tcp_stats(), MQTTClient(), MQTTDeserialize_ack(), MQTTDeserialize_connack(), MQTTDeserialize_connect(), MQTTDeserialize_publish(), MQTTDeserialize_suback(), MQTTDeserialize_subscribe(), MQTTDeserialize_unsubscribe(), MQTTPacket_decodeBuf(), MQTTSerialize_ack(), MQTTSerialize_connack(), MQTTSerialize_connect(), MQTTSerialize_publish(), MQTTSerialize_suback(), MQTTSerialize_subscribe(), MQTTSerialize_unsuback(), MQTTSerialize_unsubscribe(), MQTTSerialize_zero(), parsing_http_response_data(), pds_compact_sector(), PROCESS_THREAD(), PT_THREAD(), sam_ba_putdata_term(), send_udp_packet(), split_array(), UDC_BSS(), udd_ep_run(), uhd_ep_run(), uhi_cdc_get_nb_received(), uhi_cdc_getc(), uhi_cdc_putc(), uhi_cdc_rx_received(), uhi_cdc_tx_send(), uhi_cdc_tx_update(), webserver_log_file(), and winc_flash_compare().
Initial value:{
Definition: queuebuf.c:79
Initial value:{
buf
Definition: queuebuf.c:336
Definition: queuebuf.c:60
Referenced by if().