ospf_snmp.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* OSPFv2 SNMP support
  2. * Copyright (C) 2000 IP Infusion Inc.
  3. *
  4. * Written by Kunihiro Ishiguro <kunihiro@zebra.org>
  5. *
  6. * This file is part of GNU Zebra.
  7. *
  8. * GNU Zebra is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2, or (at your option) any
  11. * later version.
  12. *
  13. * GNU Zebra is distributed in the hope that it will be useful, but
  14. * WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with GNU Zebra; see the file COPYING. If not, write to the Free
  20. * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  21. * 02111-1307, USA.
  22. */
  23. #ifndef _ZEBRA_OSPF_SNMP_H
  24. #define _ZEBRA_OSPF_SNMP_H
  25. extern void ospf_snmp_if_update (struct interface *);
  26. extern void ospf_snmp_if_delete (struct interface *);
  27. extern void ospf_snmp_vl_add (struct ospf_vl_data *);
  28. extern void ospf_snmp_vl_delete (struct ospf_vl_data *);
  29. extern void ospfTrapIfStateChange (struct ospf_interface *);
  30. extern void ospfTrapVirtIfStateChange (struct ospf_interface *);
  31. extern void ospfTrapNbrStateChange (struct ospf_neighbor *);
  32. extern void ospfTrapVirtNbrStateChange (struct ospf_neighbor *);
  33. #endif /* _ZEBRA_OSPF_SNMP_H */