Home
last modified time | relevance | path

Searched refs:UNITBUFSIZE (Results 1 – 4 of 4) sorted by relevance

/mOS-networking-stack/core/src/
H A Dtcp_rb.c119 int id = off / UNITBUFSIZE; in buf_getbuf()
184 UNITBUFSIZE - (head % UNITBUFSIZE)); in buf_try_resize()
214 (UNITBUFSIZE - (loff2boff(rb, data) % UNITBUFSIZE)); in buf_try_resize()
270 assert((tail % UNITBUFSIZE) < (head % UNITBUFSIZE)); in buf_try_resize()
273 UNITBUFSIZE - (head % UNITBUFSIZE)); in buf_try_resize()
307 off = UNITBUFSIZE - (from % UNITBUFSIZE); \
313 off += UNITBUFSIZE; \
319 off += UNITBUFSIZE; \
325 off = UNITBUFSIZE - (from % UNITBUFSIZE); \
331 off += UNITBUFSIZE; \
[all …]
H A Dapi.c363 (((int)rb->metalen - 1) / UNITBUFSIZE + 1) * UNITBUFSIZE); in mtcp_setsockopt()
392 (((int)rb->metalen - 1) / UNITBUFSIZE + 1) * UNITBUFSIZE); in mtcp_setsockopt()
H A Dcore.c1117 ((g_config.mos->rmem_size - 1) / UNITBUFSIZE + 1), 0))) { in InitializeMTCPManager()
/mOS-networking-stack/core/src/include/
H A Dtcp_rb.h14 #define UNITBUFSIZE 1024 macro
15 #if UNITBUFSIZE < 2
16 #error UNITBUFSIZE cannot be smaller than 2
42 uint8_t buf[UNITBUFSIZE];