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, Sep 30, 7:55 PM
Unknown Object (File)
Wed, Sep 30, 7:51 PM
Unknown Object (File)
Wed, Sep 30, 5:47 PM
Unknown Object (File)
Tue, Sep 22, 4:21 AM
Unknown Object (File)
Sat, Sep 19, 10:47 PM
Unknown Object (File)
Wed, Sep 16, 2:20 AM
Unknown Object (File)
Sun, Sep 6, 3:21 PM
Unknown Object (File)
Sun, Sep 6, 2:26 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