HomeFreeBSD

libalias: Restructure - Use AliasRange instead of PORT_BASE

Description

libalias: Restructure - Use AliasRange instead of PORT_BASE

Get rid of PORT_BASE, replace by AliasRange. Simplify code.
Factor out the search for a new port. Improves the perfomance a bit.

Discussed with: Dimitry Luhtionov
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30581

Details

Provenance
donnerAuthored on May 28 2021, 5:17 PM
Differential Revision
D30581: libalias: Restructure - Use AliasRange instead of PORT_BASE
Parents
rG1178dda53d10: libalias: Restructure - Table for PPTP
Branches
Unknown
Tags
Unknown