]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_table.c
micro-op bgp_node_[get|lookup]() and route_node_[get|lookup]()
authorJorge Boncompte [DTI2] <jorge@dti2.net>
Mon, 7 May 2012 16:53:11 +0000 (16:53 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 22 May 2012 18:35:51 +0000 (20:35 +0200)
commit47d3b6078a6c885e03d28bae3397b71a827473f5
treeb3a6a1de537c9be50c839cf088be89ee91c6b38e
parentf018db83a0746f9336d04e50dd06f3bbf6565f1c
micro-op bgp_node_[get|lookup]() and route_node_[get|lookup]()

  Reduce indirection for values that doesn't change in the loop.

Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
[adjusted after dropping previous patch]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_table.c
lib/table.c