Does the UDP socket in FreeBSD actually use a send buffer to store packets like Linux?

dashuai wu <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
I noticed that FreeBSD does not have kernel parameters for adjusting the
send buffer size like Linux does.

The parameter kern.ipc.maxsockbuf does not seem to affect UDP sending
behavior in this
thread(https://forums.freebsd.org/threads/increase-buffer-with-maxsockbuf-for-udp-streaming.75981/).

While reading the source code, I found that the UDP socket seems to only
use the buffer size to determine if a single message is too large,
and it does not track the amount of buffer space already used.

So, does the UDP socket in FreeBSD actually have a send buffer like Linux?
If yes, where can I find the source code about it?

Thanks all for your time.

- Dashuai Wu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.