Page MenuHomeFreeBSD

inpcb: Add a flags parameter to in_pcbbind()
ClosedPublic

Authored by markj on Jan 24 2025, 5:03 PM.
Tags
None
Referenced Files
F147727235: D48661.id150628.diff
Fri, Mar 13, 5:56 AM
Unknown Object (File)
Wed, Mar 11, 9:25 AM
Unknown Object (File)
Wed, Mar 11, 6:11 AM
Unknown Object (File)
Sat, Feb 28, 9:55 PM
Unknown Object (File)
Sat, Feb 28, 6:43 PM
Unknown Object (File)
Sat, Feb 28, 3:51 PM
Unknown Object (File)
Sat, Feb 28, 11:27 AM
Unknown Object (File)
Thu, Feb 19, 4:36 AM
Subscribers

Details

Summary

Add a flag, INPBIND_FIB, which means that the inpcb is local to its FIB
number. When this flag is specified, duplicate bindings are permitted,
so long as each FIB contains at most one inpcb bound to the same
address/port. If an inpcb is bound with this flag, it'll have the
INP_BOUNDFIB flag set.

No functional change intended.

Sponsored by: Klara, Inc.
Sponsored by: Stormshield

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62003
Build 58887: arc lint + arc unit