From 94f2b3923e9663d0355a829f22e4e31cf68ee7b8 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 28 Jun 2005 12:44:16 +0000 Subject: 2005-06-28 Paul Jakma * (global) The great bgpd extern and static'ification. * bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code (route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison warnings. * bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these used by various files which had their own private declarations, in the case of mplsvpn - incorrect. --- bgpd/bgp_table.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'bgpd/bgp_table.h') diff --git a/bgpd/bgp_table.h b/bgpd/bgp_table.h index 9033f98e..d7c8272b 100644 --- a/bgpd/bgp_table.h +++ b/bgpd/bgp_table.h @@ -63,21 +63,21 @@ struct bgp_node #define BGP_NODE_PROCESS_SCHEDULED (1 << 0) }; -struct bgp_table *bgp_table_init (void); -void bgp_table_finish (struct bgp_table *); -void bgp_unlock_node (struct bgp_node *node); -void bgp_node_delete (struct bgp_node *node); -struct bgp_node *bgp_table_top (struct bgp_table *); -struct bgp_node *bgp_route_next (struct bgp_node *); -struct bgp_node *bgp_route_next_until (struct bgp_node *, struct bgp_node *); -struct bgp_node *bgp_node_get (struct bgp_table *, struct prefix *); -struct bgp_node *bgp_node_lookup (struct bgp_table *, struct prefix *); -struct bgp_node *bgp_lock_node (struct bgp_node *node); -struct bgp_node *bgp_node_match (struct bgp_table *, struct prefix *); -struct bgp_node *bgp_node_match_ipv4 (struct bgp_table *, +extern struct bgp_table *bgp_table_init (void); +extern void bgp_table_finish (struct bgp_table *); +extern void bgp_unlock_node (struct bgp_node *node); +extern void bgp_node_delete (struct bgp_node *node); +extern struct bgp_node *bgp_table_top (struct bgp_table *); +extern struct bgp_node *bgp_route_next (struct bgp_node *); +extern struct bgp_node *bgp_route_next_until (struct bgp_node *, struct bgp_node *); +extern struct bgp_node *bgp_node_get (struct bgp_table *, struct prefix *); +extern struct bgp_node *bgp_node_lookup (struct bgp_table *, struct prefix *); +extern struct bgp_node *bgp_lock_node (struct bgp_node *node); +extern struct bgp_node *bgp_node_match (struct bgp_table *, struct prefix *); +extern struct bgp_node *bgp_node_match_ipv4 (struct bgp_table *, struct in_addr *); #ifdef HAVE_IPV6 -struct bgp_node *bgp_node_match_ipv6 (struct bgp_table *, +extern struct bgp_node *bgp_node_match_ipv6 (struct bgp_table *, struct in6_addr *); #endif /* HAVE_IPV6 */ -- cgit v1.2.1