mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
3a7369d0cf
This is an automatically generated commit, made with: find src -name '*.dox' | \ xargs perl -i -ne 'print unless (m#^\s*/?\*\*/?\s*$#);'
14 lines
501 B
Plaintext
14 lines
501 B
Plaintext
@dir /lib/buf
|
|
@brief lib/buf: An efficient byte queue.
|
|
|
|
This module defines the buf_t type, which is used throughout our networking
|
|
code. The implementation is a singly-linked queue of buffer chunks, similar
|
|
to the BSD kernel's
|
|
["mbuf"](https://www.freebsd.org/cgi/man.cgi?query=mbuf&sektion=9) structure.
|
|
|
|
The buf_t type is also reasonable for use in constructing long strings.
|
|
|
|
See \refdir{lib/net} for networking code that uses buf_t, and
|
|
\refdir{lib/tls} for cryptographic code that uses buf_t.
|
|
|