version 1.1.1.3, 2013/07/21 23:54:40
|
version 1.1.1.4, 2016/11/02 10:09:12
|
Line 39
|
Line 39
|
#include "privs.h" |
#include "privs.h" |
#include "sigevent.h" |
#include "sigevent.h" |
#include "zclient.h" |
#include "zclient.h" |
|
#include "vrf.h" |
|
|
#include "ospfd/ospfd.h" |
#include "ospfd/ospfd.h" |
#include "ospfd/ospf_interface.h" |
#include "ospfd/ospf_interface.h" |
Line 132 Report bugs to %s\n", progname, ZEBRA_BUG_ADDRESS);
|
Line 133 Report bugs to %s\n", progname, ZEBRA_BUG_ADDRESS);
|
} |
} |
exit (status); |
exit (status); |
} |
} |
| |
/* SIGHUP handler. */ |
/* SIGHUP handler. */ |
static void |
static void |
sighup (void) |
sighup (void) |
Line 174 struct quagga_signal_t ospf_signals[] =
|
Line 175 struct quagga_signal_t ospf_signals[] =
|
.handler = &sigint, |
.handler = &sigint, |
}, |
}, |
}; |
}; |
| |
/* OSPFd main routine. */ |
/* OSPFd main routine. */ |
int |
int |
main (int argc, char **argv) |
main (int argc, char **argv) |
Line 290 main (int argc, char **argv)
|
Line 291 main (int argc, char **argv)
|
debug_init (); |
debug_init (); |
vty_init (master); |
vty_init (master); |
memory_init (); |
memory_init (); |
|
vrf_init (); |
|
|
access_list_init (); |
access_list_init (); |
prefix_list_init (); |
prefix_list_init (); |
|
|
/* OSPFd inits. */ |
/* OSPFd inits. */ |
ospf_if_init (); |
ospf_if_init (); |
ospf_zebra_init (); | ospf_zebra_init (master); |
|
|
/* OSPF vty inits. */ |
/* OSPF vty inits. */ |
ospf_vty_init (); |
ospf_vty_init (); |
Line 306 main (int argc, char **argv)
|
Line 308 main (int argc, char **argv)
|
#ifdef HAVE_SNMP |
#ifdef HAVE_SNMP |
ospf_snmp_init (); |
ospf_snmp_init (); |
#endif /* HAVE_SNMP */ |
#endif /* HAVE_SNMP */ |
#ifdef HAVE_OPAQUE_LSA |
|
ospf_opaque_init (); |
ospf_opaque_init (); |
#endif /* HAVE_OPAQUE_LSA */ |
|
|
|
sort_node (); |
|
|
|
/* Get configuration file. */ |
/* Get configuration file. */ |
vty_read_config (config_file, config_default); |
vty_read_config (config_file, config_default); |
|
|