mirror_frr/ldpd
Renato Westphal 28e8294caa ldpd: add synchronous IPC channels
By default all ldpd interprocess communication is asynchronous
(non-blocking socketpairs). Under some circumstances, however, we'll
need synchronous IPC as well. Examples:
* the lde child process requesting labels to zebra (through the parent
  process);
* apply an access-list on a given IP prefix (ACLs are only available in
  the parent process).

This patch only adds the necessary infrastructure to allow the child
processes to make synchronous requests to the parent process. Later
patches will make use of this new infrastructure.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2017-02-01 21:55:47 -02:00
..
.gitignore build/ldpd: auto-generate ldp_vty_cmds.c from ldp_vty.xml 2017-01-03 22:03:28 -02:00
accept.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
address.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
adjacency.c ldpd: use red-black trees to store 'adj' elements 2017-01-03 22:07:13 -02:00
control.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
control.h ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
hello.c ldpd: use red-black trees to store 'adj' elements 2017-01-03 22:07:13 -02:00
init.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
interface.c ldpd: use red-black trees to store 'adj' elements 2017-01-03 22:07:13 -02:00
keepalive.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
l2vpn.c ldpd: use red-black trees to store 'l2vpn_pw' elements 2017-01-03 22:07:13 -02:00
labelmapping.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
lde_lib.c ldpd: use red-black trees to store 'lde_map' elements 2017-01-03 22:07:13 -02:00
lde.c ldpd: add synchronous IPC channels 2017-02-01 21:55:47 -02:00
lde.h ldpd: use red-black trees to store 'lde_map' elements 2017-01-03 22:07:13 -02:00
ldp_debug.c ldpd: use red-black trees to store 'iface' elements 2017-01-03 22:07:13 -02:00
ldp_debug.h ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
ldp_vty_conf.c ldpd: use red-black trees to store 'l2vpn_pw' elements 2017-01-03 22:07:13 -02:00
ldp_vty_exec.c ldpd: reorganize json support and fix a few issues 2017-01-13 14:43:44 -02:00
ldp_vty.h ldpd: reorganize json support and fix a few issues 2017-01-13 14:43:44 -02:00
ldp_vty.xml Merge pull request #73 from opensourcerouting/ldpd-json 2017-01-18 14:37:06 -05:00
ldp_zebra.c ldpd: release all memory explicitly on exit 2017-02-01 12:48:06 -02:00
ldp.h ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
ldpd.c ldpd: add synchronous IPC channels 2017-02-01 21:55:47 -02:00
ldpd.conf.sample ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
ldpd.h ldpd: add synchronous IPC channels 2017-02-01 21:55:47 -02:00
ldpe.c ldpd: add synchronous IPC channels 2017-02-01 21:55:47 -02:00
ldpe.h ldpd: use red-black trees to store 'adj' elements 2017-01-03 22:07:13 -02:00
log.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
log.h ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
Makefile.am build: fix several ldpd XML-CLI build issues 2017-01-17 19:00:10 +01:00
neighbor.c ldpd: use red-black trees to store 'adj' elements 2017-01-03 22:07:13 -02:00
notification.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
packet.c ldpd: remove security check to allow operation on unnumbered interfaces 2016-12-14 13:21:08 -05:00
pfkey.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00
socket.c ldpd: add missing privilege dropping on error path 2017-01-03 22:03:28 -02:00
util.c ldpd: adapt the code for Quagga 2016-09-23 09:31:09 -04:00