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)
Wed, Dec 3, 12:53 PM
Unknown Object (File)
Mon, Dec 1, 7:26 PM
Unknown Object (File)
Sat, Nov 22, 6:25 AM
Unknown Object (File)
Tue, Nov 18, 12:19 PM
Unknown Object (File)
Mon, Nov 17, 4:44 AM
Unknown Object (File)
Sun, Nov 16, 10:01 PM
Unknown Object (File)
Nov 7 2025, 5:57 AM
Unknown Object (File)
Nov 6 2025, 10:19 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 Not Applicable
Unit
Tests Not Applicable