| commit | 3eb8ef37bc463f88bfa36bd26fd43f7f6ad36c20 | [log] [tgz] |
|---|---|---|
| author | Avneesh Sachdev <avneesh@opensourcerouting.org> | Fri Aug 17 08:19:47 2012 -0700 |
| committer | David Lamparter <equinox@opensourcerouting.org> | Wed Sep 26 21:48:48 2012 +0200 |
| tree | 6238a10b945d98b5b06f5bf4620406579d687aa6 | |
| parent | ed6e297972318a0070ad4d973401fbc6e0def558 [diff] |
lib: bring some changes over from bgp_table to table
* lib/table.c
- Maintain table node count. Expose it via the route_table_count()
function (from revision cbdfbaa5).
- route_unlock_node(): Add assertion (from revision 228da428).
- route_table_free(): Make static and fix up cleanup code (from
revision 228da428).
- route_node_delete(): Change to be static.
- Add 'const' qualifier in a couple places.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>