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

(cherry picked from commit bbd0084baf7539c7042ce94f8c6770210f83f765)

Details

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