diff options
Diffstat (limited to 'bgpd/bgp_table.h')
-rw-r--r-- | bgpd/bgp_table.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bgpd/bgp_table.h b/bgpd/bgp_table.h index 52eb6a49..f979ac6f 100644 --- a/bgpd/bgp_table.h +++ b/bgpd/bgp_table.h @@ -18,8 +18,19 @@ along with GNU Zebra; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +typedef enum +{ + BGP_TABLE_MAIN, + BGP_TABLE_RSCLIENT, +} bgp_table_t; + struct bgp_table { + bgp_table_t type; + + /* The owner of this 'bgp_table' structure. */ + void *owner; + struct bgp_node *top; }; |