diff options
author | paul <paul> | 2005-06-28 12:44:16 +0000 |
---|---|---|
committer | paul <paul> | 2005-06-28 12:44:16 +0000 |
commit | 94f2b3923e9663d0355a829f22e4e31cf68ee7b8 (patch) | |
tree | 59c0291a76b1c97fbb089abb479307f19cdfd4c1 /bgpd/bgp_packet.h | |
parent | 7cad40007b9714dba65065916ea68577f9d3d6dd (diff) | |
download | quagga-94f2b3923e9663d0355a829f22e4e31cf68ee7b8.tar.bz2 quagga-94f2b3923e9663d0355a829f22e4e31cf68ee7b8.tar.xz |
2005-06-28 Paul Jakma <paul.jakma@sun.com>
* (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.
Diffstat (limited to 'bgpd/bgp_packet.h')
-rw-r--r-- | bgpd/bgp_packet.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bgpd/bgp_packet.h b/bgpd/bgp_packet.h index 6576a565..85d64072 100644 --- a/bgpd/bgp_packet.h +++ b/bgpd/bgp_packet.h @@ -38,18 +38,18 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #define ORF_COMMON_PART_DENY 0x20 /* Packet send and receive function prototypes. */ -int bgp_read (struct thread *); -int bgp_write (struct thread *); +extern int bgp_read (struct thread *); +extern int bgp_write (struct thread *); -void bgp_keepalive_send (struct peer *); -void bgp_open_send (struct peer *); -void bgp_notify_send (struct peer *, u_int8_t, u_int8_t); -void bgp_notify_send_with_data (struct peer *, u_int8_t, u_int8_t, +extern void bgp_keepalive_send (struct peer *); +extern void bgp_open_send (struct peer *); +extern void bgp_notify_send (struct peer *, u_int8_t, u_int8_t); +extern void bgp_notify_send_with_data (struct peer *, u_int8_t, u_int8_t, u_int8_t *, size_t); -void bgp_route_refresh_send (struct peer *, afi_t, safi_t, u_char, u_char, int); -void bgp_capability_send (struct peer *, afi_t, safi_t, int, int); -void bgp_default_update_send (struct peer *, struct attr *, +extern void bgp_route_refresh_send (struct peer *, afi_t, safi_t, u_char, u_char, int); +extern void bgp_capability_send (struct peer *, afi_t, safi_t, int, int); +extern void bgp_default_update_send (struct peer *, struct attr *, afi_t, safi_t, struct peer *); -void bgp_default_withdraw_send (struct peer *, afi_t, safi_t); +extern void bgp_default_withdraw_send (struct peer *, afi_t, safi_t); #endif /* _QUAGGA_BGP_PACKET_H */ |