Page MenuHomeFreeBSD

inpcb: Add a flags parameter to in_pcbbind()
Needs ReviewPublic

Authored by markj on Fri, Jan 24, 5:03 PM.

Details

Reviewers
glebius
Group Reviewers
network
transport
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 62003
Build 58887: arc lint + arc unit