mirror_frr/bgpd
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
..
rfapi bgpd: Use %pRD for prefix_rd2str() 2022-09-22 13:12:11 +03:00
rfp-example *: Properly use memset() when zeroing 2022-05-11 14:08:47 +03:00
.gitignore
bgp_addpath_types.h
bgp_addpath.c
bgp_addpath.h
bgp_advertise.c bgpd: Convert from bgp_clock() to monotime() 2022-08-24 08:23:40 -04:00
bgp_advertise.h bgpd: Rename baa_new/baa_free/etc functions to be human-readable 2022-07-25 16:45:06 +03:00
bgp_aspath.c bgpd: Do not check if the whole as-path has target ASN when using as-override 2022-07-29 20:43:22 +03:00
bgp_aspath.h bgpd: Do not check if the whole as-path has target ASN when using as-override 2022-07-29 20:43:22 +03:00
bgp_attr_evpn.c *: Properly use memset() when zeroing 2022-05-11 14:08:47 +03:00
bgp_attr_evpn.h bgpd: Fixing memcmp to avoid coverity issue 2022-01-31 21:50:50 -08:00
bgp_attr.c bgpd: Use route_map_result_t for route_map_apply() as return type 2022-09-20 10:45:02 +03:00
bgp_attr.h bgpd: save srv6_locator_chunk in vpn_policy 2022-10-07 18:26:48 +09:00
bgp_bfd.c bgpd: Replace zlog_info -> zlog_debug under BGP_DEBUG() 2022-06-21 11:59:52 +03:00
bgp_bfd.h
bgp_bmp.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
bgp_bmp.h bmp: add a interface source to bmp connect command 2022-06-16 12:51:11 +02:00
bgp_btoa.c bgpd: changes for code maintainability 2022-09-02 00:31:40 +05:30
bgp_clist.c Revert "bgpd: Drop internet community check from community_list_match()" 2022-08-24 08:46:56 +03:00
bgp_clist.h bgpd: Align bgp_clist.h to our standards 2022-05-12 10:20:28 -04:00
bgp_community_alias.c bgpd: Fix memory leak for community alias 2022-07-16 16:18:07 +03:00
bgp_community_alias.h bgpd: fix memory leaks in bgp_alias2community_str 2021-08-11 12:09:15 +03:00
bgp_community.c bgpd: Fix memory leak for community stuff 2022-07-16 16:41:31 +03:00
bgp_community.h bgpd: Implement ACCEPT_OWN extended community 2022-10-12 17:48:43 +03:00
bgp_conditional_adv.c bgpd: conditional advertisement code cleanup 2022-10-06 12:43:05 +05:30
bgp_conditional_adv.h bgpd: conditional advertisement code cleanup 2022-10-06 12:43:05 +05:30
bgp_damp.c bgpd: Convert from bgp_clock() to monotime() 2022-08-24 08:23:40 -04:00
bgp_damp.h bgpd: Align bgp_damp.h to our standards 2022-05-12 10:20:28 -04:00
bgp_debug.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
bgp_debug.h bgpd: optimal router reflection cli and fsm changes 2022-10-12 13:43:55 +05:30
bgp_dump.c Merge pull request #11894 from sri-mohan1/sri-bgp-dbg1 2022-09-02 13:21:34 +03:00
bgp_dump.h bgpd: Align bgp_dump.h to our standards 2022-05-12 10:20:28 -04:00
bgp_ecommunity.c bgpd: memory leak issue fix 2022-09-21 01:45:41 -07:00
bgp_ecommunity.h bgpd: Handle Origin Validation State extended community via route-map match 2022-09-04 21:54:47 +03:00
bgp_encap_tlv.c
bgp_encap_tlv.h
bgp_encap_types.h
bgp_errors.c bgpd: implement SendHoldTimer 2022-05-19 12:14:40 +02:00
bgp_errors.h bgpd: implement SendHoldTimer 2022-05-19 12:14:40 +02:00
bgp_evpn_mh.c bgpd: Use %pRD for prefix_rd2str() 2022-09-22 13:12:11 +03:00
bgp_evpn_mh.h bgpd: remove one unnecessary parameter for evpn-mh 2022-05-09 08:27:20 -04:00
bgp_evpn_private.h bgpd: evpn L3 RT auto config and wildcard implementation 2022-08-23 12:41:25 -04:00
bgp_evpn_vty.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
bgp_evpn_vty.h
bgp_evpn.c Merge pull request #8647 from sworleys/DVNI-Config-Changes 2022-10-18 14:17:04 +03:00
bgp_evpn.h bgpd: Convert bgp_addpath_encode_[tr]x() to bool from int 2022-02-01 13:31:16 +02:00
bgp_filter.c bgpd: Free memory for as-path filter if regexp is wrong 2022-07-22 17:43:45 +03:00
bgp_filter.h
bgp_flowspec_private.h
bgp_flowspec_util.c *: Properly use memset() when zeroing 2022-05-11 14:08:47 +03:00
bgp_flowspec_util.h
bgp_flowspec_vty.c bgpd: Use bgp_attr_[sg]et_ecommunity for struct ecommunity 2022-02-04 15:56:20 +02:00
bgp_flowspec.c *: Properly use memset() when zeroing 2022-05-11 14:08:47 +03:00
bgp_flowspec.h
bgp_fsm.c bgpd: optimal router reflection cli and fsm changes 2022-10-12 13:43:55 +05:30
bgp_fsm.h bgpd: optimal router reflection cli and fsm changes 2022-10-12 13:43:55 +05:30
bgp_io.c bgpd: avoid notify race between io and main pthreads 2022-09-08 16:14:36 -04:00
bgp_io.h
bgp_keepalives.c bgpd: release rcu lock in bgp keepalive pthread 2022-09-06 09:07:07 -04:00
bgp_keepalives.h
bgp_label.c bgpd: Drop label_ntop/label_pton functions 2022-06-01 16:45:22 +03:00
bgp_label.h bgpd: Drop label_ntop/label_pton functions 2022-06-01 16:45:22 +03:00
bgp_labelpool.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
bgp_labelpool.h bgpd: improve labelpool performance at scale 2022-08-31 08:21:27 -07:00
bgp_lcommunity.c *: Fix spelling of strucutre 2022-04-19 08:19:37 -04:00
bgp_lcommunity.h bgpd: Allow setting BGP [large]community in route-maps 2022-04-09 17:34:06 +03:00
bgp_mac.c
bgp_mac.h
bgp_main.c bgpd: add 'mpls bgp forwarding' to ease mpls vpn ebgp peering 2022-09-05 22:26:33 +02:00
bgp_memory.c bgpd: optimal router reflection cli and fsm changes 2022-10-12 13:43:55 +05:30
bgp_memory.h bgpd: optimal router reflection cli and fsm changes 2022-10-12 13:43:55 +05:30
bgp_mpath.c bgpd: Change single value bitfield to a bool 2022-05-12 10:20:28 -04:00
bgp_mpath.h bgpd: Align bgp_mpath.h to our standards 2022-05-12 10:20:28 -04:00
bgp_mplsvpn_snmp.c
bgp_mplsvpn_snmp.h
bgp_mplsvpn.c bgpd: Add no sid vpn per-vrf export command 2022-10-18 16:08:24 +02:00
bgp_mplsvpn.h bgpd: Add no sid vpn per-vrf export command 2022-10-18 16:08:24 +02:00
bgp_network.c bgpd: support TCP keepalive for BGP connection 2022-08-30 15:09:28 +02:00
bgp_network.h bmp: add a interface source to bmp connect command 2022-06-16 12:51:11 +02:00
bgp_nexthop.c bgpd: improve 'show bgp nexthop' command 2022-10-05 11:12:59 +02:00
bgp_nexthop.h bgpd: Drop bnc_str() function 2022-08-25 14:35:28 +03:00
bgp_nht.c bgpd: Implement ACCEPT_OWN extended community 2022-10-12 17:48:43 +03:00
bgp_nht.h
bgp_open.c bgpd: Ensure FRR has enough data to read 2 bytes in bgp_open_option_parse 2022-09-30 09:00:02 -04:00
bgp_open.h bgpd: Add RFC9234 implementation 2022-06-17 13:14:46 +03:00
bgp_orr.c bgpd: code review comments addressed 2022-10-12 13:48:23 +05:30
bgp_orr.h bgpd: code review comments addressed 2022-10-12 13:48:23 +05:30
bgp_packet.c bgpd: Cleanup memory leaks associated with t_deferral_timer 2022-09-23 00:14:12 -07:00
bgp_packet.h bgpd: avoid notify race between io and main pthreads 2022-09-08 16:14:36 -04:00
bgp_pbr.c *: Properly use memset() when zeroing 2022-05-11 14:08:47 +03:00
bgp_pbr.h
bgp_rd.c bgpd: Use %pRD for prefix_rd2str() 2022-09-22 13:12:11 +03:00
bgp_rd.h
bgp_regex.c
bgp_regex.h
bgp_route.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
bgp_route.h Merge pull request #12113 from donaldsharp/network_statement 2022-10-14 10:12:18 +03:00
bgp_routemap_nb_config.c Merge pull request #11899 from opensourcerouting/feature/route_validation_extended_community 2022-09-13 11:30:54 -04:00
bgp_routemap_nb.c Merge pull request #11899 from opensourcerouting/feature/route_validation_extended_community 2022-09-13 11:30:54 -04:00
bgp_routemap_nb.h Merge pull request #11899 from opensourcerouting/feature/route_validation_extended_community 2022-09-13 11:30:54 -04:00
bgp_routemap.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
bgp_rpki.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
bgp_rpki.h
bgp_script.c bgpd: Make sure we pop the table from the stack when decoding struct attr 2022-03-29 17:47:28 +03:00
bgp_script.h
bgp_snmp.c bgpd: Convert from bgp_clock() to monotime() 2022-08-24 08:23:40 -04:00
bgp_table.c *: use semicolon after printfrr_ext_autoreg_{p,d} 2022-01-14 13:33:57 +01:00
bgp_table.h bgpd: Implement ACCEPT_OWN extended community 2022-10-12 17:48:43 +03:00
bgp_trace.c
bgp_trace.h bgpd: lttng tracepoint for local events received from zebra 2021-10-15 10:37:02 -07:00
bgp_updgrp_adv.c bgpd: fix "bgp max-med on-startup" 2022-10-11 10:45:06 +00:00
bgp_updgrp_packet.c bgpd: Inconsistencies in SNT counters with default-originate 2022-07-06 05:38:35 +00:00
bgp_updgrp.c bgpd: Fix memory leak for conf_copy() - SoO ecommunity 2022-09-10 18:13:45 +03:00
bgp_updgrp.h bgpd: Send route update when modifying access/aspath/prefix lists 2022-08-05 15:06:00 +03:00
bgp_vnc_types.h
bgp_vpn.c bgpd: Convert vty_out to vty_json for JSON 2021-11-25 17:51:12 +02:00
bgp_vpn.h
bgp_vty.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
bgp_vty.h Merge pull request #11523 from pguibert6WIND/bgp_no_retain 2022-07-26 08:50:59 -04:00
bgp_zebra.c bgpd: add support for per-VRF SRv6 SID 2022-10-18 16:08:23 +02:00
bgp_zebra.h bgpd: add 'mpls bgp forwarding' to ease mpls vpn ebgp peering 2022-09-05 22:26:33 +02:00
bgpd.c bgpd: Implement ACCEPT_OWN extended community 2022-10-12 17:48:43 +03:00
bgpd.h bgpd: add support for per-VRF SRv6 SID 2022-10-18 16:08:23 +02:00
Makefile
subdir.am build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00