mirror_frr/ldpd
David Lamparter 89cb86aeb0 build, vtysh: extract vtysh commands from .xref
Rather than running selected source files through the preprocessor and a
bunch of perl regex'ing to get the list of all DEFUNs, use the data
collected in frr.xref.

This not only eliminates issues we've been having with preprocessor
failures due to nonexistent header files, but is also much faster.
Where extract.pl would take 5s, this now finishes in 0.2s.  And since
this is a non-parallelizable build step towards the end of the build
(dependent on a lot of other things being done already), the speedup is
actually noticeable.

Also files containing CLI no longer need to be listed in `vtysh_scan`
since the .xref data covers everything.  `#ifndef VTYSH_EXTRACT_PL`
checks are equally obsolete.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-26 17:12:34 +01:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
accept.c ldpd: Convert thread_cancel to THREAD_OFF 2022-07-21 08:30:50 -04:00
address.c ldpd: replace inet_ntoa 2020-10-22 15:49:56 -04:00
adjacency.c ldpd: Convert thread_cancel to THREAD_OFF 2022-07-21 08:30:50 -04:00
control.c ldpd: Convert thread_cancel to THREAD_OFF 2022-07-21 08:30:50 -04:00
control.h lib: standardize use of queue.h 2017-08-17 17:47:05 +02:00
hello.c *: use compiler.h MIN/MAX macros instead of everyone having one 2021-11-11 09:39:52 -05:00
init.c *: use compiler.h MIN/MAX macros instead of everyone having one 2021-11-11 09:39:52 -05:00
interface.c ldpd: Convert thread_cancel to THREAD_OFF 2022-07-21 08:30:50 -04:00
keepalive.c ldpd: replace inet_ntoa 2020-10-22 15:49:56 -04:00
l2vpn.c ldpd: process pw-status in received order 2020-07-20 09:08:15 -04:00
labelmapping.c *: Replace IPV4_MAX_PREFIXLEN to IPV4_MAX_BITLEN 2021-07-01 17:44:09 +03:00
lde_lib.c ldpd: Convert thread_cancel to THREAD_OFF 2022-07-21 08:30:50 -04:00
lde.c ldpd: Convert thread_cancel to THREAD_OFF 2022-07-21 08:30:50 -04:00
lde.h *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ldp_debug.c ldpd: Adding support for LDP IGP Synchronization 2020-09-09 10:45:41 -04:00
ldp_debug.h ldpd: Adding support for LDP IGP Synchronization 2020-09-09 10:45:41 -04:00
ldp_snmp.c *: fix for -Wstrict-prototypes 2021-09-02 13:00:35 +02:00
ldp_vty_cmds.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
ldp_vty_conf.c *: explicitly print "exit" at the end of every node config 2021-08-23 22:08:20 +03:00
ldp_vty_exec.c *: Add camelCase JSON keys in addition to PascalCase 2022-02-03 10:48:06 +02:00
ldp_vty.h ldpd: make allowing broken-lsps to be installed with pop operation configurable 2021-05-03 09:02:36 -04:00
ldp_zebra.c *: convert zclient callbacks to table 2021-10-20 13:28:46 +02:00
ldp.h ldpd: Adding support for LDP IGP Synchronization 2020-09-09 10:45:41 -04:00
ldpd.c ldpd: Convert thread_cancel to THREAD_OFF 2022-07-21 08:30:50 -04:00
ldpd.h *: use FRR interface name definition everywhere 2022-05-02 13:00:12 -03:00
ldpe.c ldpd: changes for code maintainability 2022-08-30 11:16:23 +05:30
ldpe.h *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
log.c ldpd: fix printfrr format specifiers in the child processes 2020-12-09 11:55:10 -03:00
log.h ldpd: split log.c into two files 2017-06-05 12:05:22 -03:00
logmsg.c ldpd: replace inet_ntoa 2020-10-22 15:49:56 -04:00
Makefile build: non-recursive ldpd 2017-08-04 19:09:11 +02:00
neighbor.c ldpd: Convert thread_cancel to THREAD_OFF 2022-07-21 08:30:50 -04:00
notification.c ldpd: Add support for the read-only snmp mib objects that are statistics 2021-03-16 10:23:34 -04:00
packet.c ldpd: Convert thread_cancel to THREAD_OFF 2022-07-21 08:30:50 -04:00
pfkey.c *: fix config.h/zebra.h include order 2018-09-08 21:30:42 +02:00
rlfa.c ldpd: add support for RLFA clients 2021-01-08 22:22:11 -03:00
rlfa.h ldpd: add support for RLFA clients 2021-01-08 22:22:11 -03:00
socket.c *: Do not cast to the same type 2020-04-08 17:15:06 +03:00
subdir.am build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
util.c *: Convert numeric 32 into IPV4_MAX_BITLEN for prefixlen 2021-07-01 23:50:39 +03:00