summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/util.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2010-11-17 19:43:24 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2010-11-17 19:43:24 +0000
commit0f9c9c60023aab3fd40e5b36c4be37c454ac35cb (patch)
treedaa8d82e95e67a8f9425d5671c6b03a11f3e751e /usr.sbin/bgpd/util.c
parentb2e9bf51edb3a10f468a8c0f0b5d2a46042292ca (diff)
make ifa_ifwithaddr use the RB tree for lookups instead of nested list
walking. make the function shorter, easier and faster with many addresses while still being at least as fast as the old one with a common "on real IP" setup. tested by many, ok claudio sthen dlg krw
Diffstat (limited to 'usr.sbin/bgpd/util.c')
0 files changed, 0 insertions, 0 deletions