HomeFreeBSD

sockets: enable protocol specific socket buffers

Description

sockets: enable protocol specific socket buffers

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.

Reviewed by: markj
Differential revision: https://reviews.freebsd.org/D35299

Details

Provenance
glebiusAuthored on Jun 24 2022, 4:09 PM
Reviewer
markj
Differential Revision
D35299: sockets: enable protocol specific socket buffers
Parents
rG315167c0de1a: unix: provide an option to return locked from unp_connectat()
Branches
Unknown
Tags
Unknown