bgp_vty.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* BGP VTY interface.
  2. Copyright (C) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro
  3. This file is part of GNU Zebra.
  4. GNU Zebra is free software; you can redistribute it and/or modify it
  5. under the terms of the GNU General Public License as published by the
  6. Free Software Foundation; either version 2, or (at your option) any
  7. later version.
  8. GNU Zebra is distributed in the hope that it will be useful, but
  9. WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GNU Zebra; see the file COPYING. If not, write to the Free
  14. Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  15. 02111-1307, USA. */
  16. #ifndef _QUAGGA_BGP_VTY_H
  17. #define _QUAGGA_BGP_VTY_H
  18. #define CMD_AS_RANGE "<1-4294967295>"
  19. extern void bgp_vty_init (void);
  20. extern const char *afi_safi_print (afi_t, safi_t);
  21. extern int
  22. bgp_parse_afi(const char *str, afi_t *afi);
  23. extern int
  24. bgp_parse_safi(const char *str, safi_t *safi);
  25. #endif /* _QUAGGA_BGP_VTY_H */