]> git.proxmox.com Git - mirror_frr.git/commit
lib: bring some changes over from bgp_table to table
authorAvneesh Sachdev <avneesh@opensourcerouting.org>
Fri, 17 Aug 2012 15:19:47 +0000 (08:19 -0700)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 26 Sep 2012 19:48:48 +0000 (21:48 +0200)
commit3eb8ef37bc463f88bfa36bd26fd43f7f6ad36c20
tree6238a10b945d98b5b06f5bf4620406579d687aa6
parented6e297972318a0070ad4d973401fbc6e0def558
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>
lib/table.c
lib/table.h