]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libalias: Restructure - Use AliasRange instead of PORT_BASE
authorLutz Donnerhacke <donner@FreeBSD.org>
Fri, 28 May 2021 17:17:40 +0000 (19:17 +0200)
committerLutz Donnerhacke <donner@FreeBSD.org>
Sat, 19 Jun 2021 19:40:09 +0000 (21:40 +0200)
commit9efcad61d8309ecad3c15392b277fd329a1e45e4
tree201eb45903db35c9413e698f5f97c9b1f83422ab
parent1178dda53d10b096e0b99e356d15b7c24390e099
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
sys/netinet/libalias/alias_db.c