summaryrefslogtreecommitdiff
path: root/tests/.gitignore
diff options
context:
space:
mode:
authorAvneesh Sachdev <avneesh@opensourcerouting.org>2012-08-17 08:19:49 -0700
committerDavid Lamparter <equinox@opensourcerouting.org>2012-09-26 21:50:48 +0200
commit67174041d2d9d8908f8b2c915bc0d186d8442c68 (patch)
treeb57edeae37701055c3c21b79ce51fcbc5069e704 /tests/.gitignore
parentf9c1b7bb9b98342f1f3b0bfe3af01844f364dce9 (diff)
bgpd: make bgp_table a wrapper around table library
Make the BGP table code a thin wrapper around the table implementation in libzebra. * bgpd/bgp_table.[ch] - Use the ROUTE_NODE_FIELDS macro to embed the fields of a route_node in the bgp_node structure. - Add a route_table field to the bgp_table structure. Initialize the route_table with a delegate, such that the nodes in the table are bgp_node structures. - Add inline wrappers that call route_table functions underneath, and accept/return the correct BGP types. * bgpd/bgp_route.c Change some code to use inline wrappers instead of accessing fields of nodes/tables directly. The latter does not always work because the types of some fields need to be translated now. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/.gitignore')
0 files changed, 0 insertions, 0 deletions