HomeFreeBSD

inpcb: Add a flags parameter to in_pcbbind()

Description

inpcb: Add a flags parameter to in_pcbbind()

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.

Reviewed by: glebius
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D48661

Details

Provenance
markjAuthored on Feb 6 2025, 2:14 PM
Reviewer
glebius
Differential Revision
D48661: inpcb: Add a flags parameter to in_pcbbind()
Parents
rG9a4131629bb3: inpcb: Imbue in(6)_pcblookup_local() with a FIB parameter
Branches
Unknown
Tags
Unknown