X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/7d862d168f6e9784fb60998b6ffd7e3aabf2a6ca..1e722029bc405a555e81840c00708084128c5cdd:/bgp.h?ds=sidebyside diff --git a/bgp.h b/bgp.h index 44bad0d..8e636ab 100644 --- a/bgp.h +++ b/bgp.h @@ -1,5 +1,5 @@ /* BGPv4 (RFC1771) */ -/* $Id: bgp.h,v 1.5 2005/06/04 15:42:35 bodea Exp $ */ +/* $Id: bgp.h,v 1.5 2005-06-04 15:42:35 bodea Exp $ */ #ifndef __BGP_H__ #define __BGP_H__ @@ -271,9 +271,9 @@ int bgp_start(struct bgp_peer *peer, char *name, int as, int keepalive, void bgp_stop(struct bgp_peer *peer); void bgp_halt(struct bgp_peer *peer); int bgp_restart(struct bgp_peer *peer); -int bgp_add_route(in_addr_t ip, in_addr_t mask); +int bgp_add_route(in_addr_t ip, int prefixlen); int bgp_add_route6(struct in6_addr ip, int prefixlen); -int bgp_del_route(in_addr_t ip, in_addr_t mask); +int bgp_del_route(in_addr_t ip, int prefixlen); int bgp_del_route6(struct in6_addr ip, int prefixlen); void bgp_enable_routing(int enable); int bgp_set_poll(void); @@ -281,6 +281,4 @@ int bgp_process(uint32_t events[]); void bgp_process_peers_timers(); char const *bgp_state_str(enum bgp_state state); -extern char const *cvs_id_bgp; - #endif /* __BGP_H__ */