Searched refs:cbufhead (Results 1 – 3 of 3) sorted by relevance
/external/openthread/third_party/tcplp/lib/ |
D | cbuf.h | 43 struct cbufhead { struct 51 void cbuf_init(struct cbufhead* chdr, uint8_t* buf, size_t len); argument 65 size_t cbuf_write(struct cbufhead* chdr, const void* data, size_t data_offset, size_t data_len, cbu… 68 size_t cbuf_read(struct cbufhead* chdr, void* data, size_t data_offset, size_t numbytes, int pop, c… 71 size_t cbuf_read_offset(struct cbufhead* chdr, void* data, size_t data_offset, size_t numbytes, siz… 74 size_t cbuf_pop(struct cbufhead* chdr, size_t numbytes); 77 size_t cbuf_used_space(struct cbufhead* chdr); 80 size_t cbuf_free_space(struct cbufhead* chdr); 83 size_t cbuf_size(struct cbufhead* chdr); 86 bool cbuf_empty(struct cbufhead* chdr); [all …]
|
D | cbuf.c | 74 void cbuf_init(struct cbufhead* chdr, uint8_t* buf, size_t len) { in cbuf_init() 81 size_t cbuf_used_space(struct cbufhead* chdr) { in cbuf_used_space() 91 size_t cbuf_free_space(struct cbufhead* chdr) { in cbuf_free_space() 95 size_t cbuf_size(struct cbufhead* chdr) { in cbuf_size() 99 bool cbuf_empty(struct cbufhead* chdr) { in cbuf_empty() 103 size_t cbuf_write(struct cbufhead* chdr, const void* data, size_t data_offset, size_t data_len, cbu… in cbuf_write() 124 void cbuf_read_unsafe(struct cbufhead* chdr, void* data, size_t data_offset, size_t numbytes, int p… in cbuf_read_unsafe() 140 size_t cbuf_read(struct cbufhead* chdr, void* data, size_t data_offset, size_t numbytes, int pop, c… in cbuf_read() 149 size_t cbuf_read_offset(struct cbufhead* chdr, void* data, size_t data_offset, size_t numbytes, siz… in cbuf_read_offset() 164 size_t cbuf_pop(struct cbufhead* chdr, size_t numbytes) { in cbuf_pop() [all …]
|
/external/openthread/third_party/tcplp/bsdtcp/ |
D | tcp_var.h | 189 struct cbufhead recvbuf;
|