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)
Wed, Oct 30, 8:34 AM
Unknown Object (File)
Oct 12 2024, 10:20 AM
Unknown Object (File)
Sep 24 2024, 12:24 AM
Unknown Object (File)
Sep 22 2024, 2:08 PM
Unknown Object (File)
Sep 18 2024, 8:34 PM
Unknown Object (File)
Sep 18 2024, 5:41 AM
Unknown Object (File)
Sep 17 2024, 4:23 PM
Unknown Object (File)
Sep 17 2024, 9:16 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45680
Build 42568: arc lint + arc unit

Event Timeline

Note: this patch is a step towards D35303.

markj added inline comments.
sys/sys/sockbuf.h
106
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