bgp_network.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. /* BGP network related header
  2. Copyright (C) 1999 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_NETWORK_H
  17. #define _QUAGGA_BGP_NETWORK_H
  18. #define BGP_SOCKET_SNDBUF_SIZE 65536
  19. extern int bgp_socket (unsigned short, const char *);
  20. extern void bgp_close (void);
  21. extern int bgp_connect (struct peer *);
  22. extern void bgp_getsockname (struct peer *);
  23. extern void bgp_set_socket_ttl (struct peer *peer, int bgp_sock);
  24. extern int bgp_md5_set (struct peer *);
  25. #endif /* _QUAGGA_BGP_NETWORK_H */