isis_network.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * IS-IS Rout(e)ing protocol - isis_network.h
  3. *
  4. * Copyright (C) 2001,2002 Sampo Saaristo
  5. * Tampere University of Technology
  6. * Institute of Communications Engineering
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public Licenseas published by the Free
  10. * Software Foundation; either version 2 of the License, or (at your option)
  11. * any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,but WITHOUT
  14. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  16. * more details.
  17. * You should have received a copy of the GNU General Public License along
  18. * with this program; if not, write to the Free Software Foundation, Inc.,
  19. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  20. */
  21. #ifndef _ZEBRA_ISIS_NETWORK_H
  22. #define _ZEBRA_ISIS_NETWORK_H
  23. extern u_char ALL_L1_ISYSTEMS[];
  24. extern u_char ALL_L2_ISYSTEMS[];
  25. int isis_sock_init (struct isis_circuit *circuit);
  26. int isis_recv_pdu_bcast (struct isis_circuit *circuit, u_char * ssnpa);
  27. int isis_recv_pdu_p2p (struct isis_circuit *circuit, u_char * ssnpa);
  28. int isis_send_pdu_bcast (struct isis_circuit *circuit, int level);
  29. int isis_send_pdu_p2p (struct isis_circuit *circuit, int level);
  30. #endif /* _ZEBRA_ISIS_NETWORK_H */