Page MenuHomeFreeBSD

sockets: enable protocol specific socket buffers
ClosedPublic

Authored by glebius on May 23 2022, 9:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 18 2025, 9:31 PM
Unknown Object (File)
Dec 16 2024, 4:20 PM
Unknown Object (File)
Dec 13 2024, 7:07 AM
Unknown Object (File)
Dec 9 2024, 8:39 AM
Unknown Object (File)
Dec 6 2024, 3:26 AM
Unknown Object (File)
Nov 13 2024, 8:57 PM
Unknown Object (File)
Nov 12 2024, 3:13 AM
Unknown Object (File)
Oct 30 2024, 8:34 AM
Subscribers

Details

Summary

Split struct sockbuf into common shared fields and protocol specific
union, where protocols are free to implement whatever buffer they
want. Such protocols should mark themselves with PR_SOCKBUF and are
expected to initialize their buffers in their pr_attach and tear
them down in pr_detach.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Note: this patch is a step towards D35303.

markj added inline comments.
sys/sys/sockbuf.h
107
This revision is now accepted and ready to land.May 24 2022, 3:17 PM
This revision now requires review to proceed.May 27 2022, 3:28 PM
This revision is now accepted and ready to land.May 30 2022, 1:45 PM