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
Unknown Object (File)
Fri, Feb 28, 5:31 PM
Unknown Object (File)
Thu, Feb 27, 6:28 AM
Unknown Object (File)
Feb 17 2025, 2:31 AM
Unknown Object (File)
Feb 8 2025, 2:13 AM
Unknown Object (File)
Feb 6 2025, 4:35 PM
Unknown Object (File)
Feb 6 2025, 4:00 PM
Unknown Object (File)
Feb 5 2025, 8:31 AM
Unknown Object (File)
Feb 4 2025, 10:09 PM
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 Not Applicable
Unit
Tests Not Applicable