summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2019-06-22 05:44:06 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2019-06-22 05:44:06 +0000
commit7308b541cea6b255aee99d39311a7f4c5dbb8024 (patch)
tree11dfb378be515a7d368135a915df1648330891b8 /sys
parent4af016f7f015404dcd8b932d62bbd09639ddef72 (diff)
Add a direct pointer from struct prefix to struct pt_entry.
This changes makes it possible to not use the struct rib_entry pointer which will be used to optimize the Adj-RIB-Out. Also adjust pt_ref() and pt_unref() so that the code can be written a bit more compact. Also prefix_cmp() no longer needs to go via rib_compare() and calls pt_prefix_cmp() directly. OK phessler@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions