]> git.proxmox.com Git - mirror_frr.git/commit - watchfrr/watchfrr.c
*: add frr_init() infrastructure
authorDavid Lamparter <equinox@opensourcerouting.org>
Sun, 13 Nov 2016 07:02:23 +0000 (16:02 +0900)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 7 Mar 2017 22:07:20 +0000 (23:07 +0100)
commit4f04a76b717fc4881a547f582a02a4d06d356c47
tree90951be570b6de3889da7c5358b1fe2f998d4acd
parentae6ba9ba043652bde3b0000f5299eff31d351ee3
*: add frr_init() infrastructure

Start centralising startup & option parsing into the library.

FRR_DAEMON_INFO is a bit weird, but it will become useful later (e.g.
for killing the ZLOG_* enum, and having the daemon name available)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
30 files changed:
bgpd/bgp_main.c
bgpd/bgpd.c
bgpd/bgpd.h
isisd/isis_main.c
ldpd/ldpd.c
lib/Makefile.am
lib/command.c
lib/libfrr.c [new file with mode: 0644]
lib/libfrr.h [new file with mode: 0644]
lib/sockopt.c
lib/sockopt.h
nhrpd/nhrp_main.c
ospf6d/ospf6_main.c
ospfd/ospf_main.c
ospfd/ospfd.c
ospfd/ospfd.h
pimd/pim_main.c
pimd/pim_signals.c
pimd/pim_signals.h
pimd/pimd.c
ripd/rip_main.c
ripd/ripd.c
ripngd/ripng_main.c
ripngd/ripngd.c
tests/bgpd/test_aspath.c
tests/bgpd/test_capability.c
tests/bgpd/test_mp_attr.c
tests/bgpd/test_mpath.c
watchfrr/watchfrr.c
zebra/main.c