-
Lutz Donnerhacke authored
Clean up the database handling in order to switch to more efficient data structures. The development of this patch was artificially split in to many small steps to ease reviewing. - Common search terms - Separate fully qualified search - Separate table for partial links - Cleanup _FindLinkIn - Factor out the outgoing search function - Factor out a common idiom to return found links - Reorder incoming links by grouping of common search terms - Remove LSNAT from outgoing search - Group internal structure semantically - Separate table for PPTP - Use AliasRange instead of PORT_BASE - Remove temporary state deleteAllLinks from global struct - Avoid uninitialized expiration Discussed with: Dimitry Luhtionov Differential Revision: https://reviews.freebsd.org/D30568 Differential Revision: https://reviews.freebsd.org/D30569 Differential Revision: https://reviews.freebsd.org/D30570 Differential Revision: https://reviews.freebsd.org/D30571 Differential Revision: https://reviews.freebsd.org/D30572 Differential Revision: https://reviews.freebsd.org/D30573 Differential Revision: https://reviews.freebsd.org/D30574 Differential Revision: https://reviews.freebsd.org/D30575 Differential Revision: https://reviews.freebsd.org/D30580 Differential Revision: https://reviews.freebsd.org/D30581 Differential Revision: https://reviews.freebsd.org/D30604 Differential Revision: https://reviews.freebsd.org/D30582 (cherry picked from commit d41044dd) (cherry picked from commit 32f9c2ce) (cherry picked from commit cac129e6) (cherry picked from commit 19dcc4f2) (cherry picked from commit d5419034) (cherry picked from commit d4ab07d2) (cherry picked from commit 492d3b71) (cherry picked from commit 7b44ff4c) (cherry picked from commit 1178dda5) (cherry picked from commit 9efcad61) (cherry picked from commit fe83900f) (cherry picked from commit d989935b) (cherry picked from commit b50a4dce) (cherry picked from commit f2845534)
78d515b2