Introduce two more RB_TREEs so that we can look up peers by their peer
id (already present) or vpn4 or vpn6 address.
This removes the last linear scan of the peer list.
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential D37605
if_ovpn: allow peer lookup by vpn4/vpn6 address kp on Dec 5 2022, 4:31 PM. Authored by Tags None Referenced Files
Details
Introduce two more RB_TREEs so that we can look up peers by their peer Sponsored by: Rubicon Communications, LLC ("Netgate")
Diff Detail
Event Timeline
|