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)
Sun, Sep 22, 2:08 PM
Unknown Object (File)
Wed, Sep 18, 8:34 PM
Unknown Object (File)
Wed, Sep 18, 5:41 AM
Unknown Object (File)
Tue, Sep 17, 4:23 PM
Unknown Object (File)
Tue, Sep 17, 9:16 AM
Unknown Object (File)
Mon, Sep 16, 7:45 PM
Unknown Object (File)
Mon, Sep 16, 4:21 PM
Unknown Object (File)
Wed, Sep 4, 11:36 PM
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 45745
Build 42633: 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