[dev] Reindent issues

Bingen Eguzkitza bingen at voltanet.io
Tue Aug 22 10:06:25 EDT 2017


Hi,

I was trying to apply instructions here (rebase case):

https://github.com/FRRouting/frr/wiki/Reindenting

but for stable/3.0, and maybe I'm missing something, but it's not working
as I would expect. To make it easy to reproduce, and to discard causes
related to my branch, what I'm doing is:

$ git checkout reindent-3.0-before
$ git checkout -b test_reindent
$ git cherry-pick reindent-3.0-before

Now I have a new branch identical to reindent-3.0-after, can be checked
with:

$ git diff test_reindent reindent-3.0-after

I do this so the script treats it as a new non-rebased branch. Then:

$ python git-reindent-branch.py test_reindent

I would expect that reindented branch is still identical to
reindent-3.0-after, but it's not:

$ git diff --stat reindented-branch reindent-3.0-after

(...) <- see attached for details

 598 files changed, 269745 insertions(+), 244747 deletions(-)

How was the reindentation for stable-3.0 done? Was this script used?

Thanks,

   ßingen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/dev/attachments/20170822/c4984993/attachment-0001.html>
-------------- next part --------------
 bgpd/bgp_advertise.c                    |   336 +-
 bgpd/bgp_advertise.h                    |   170 +-
 bgpd/bgp_aspath.c                       |  3039 +++---
 bgpd/bgp_aspath.h                       |    40 +-
 bgpd/bgp_attr.c                         |  5736 +++++-----
 bgpd/bgp_attr.h                         |   249 +-
 bgpd/bgp_attr_evpn.c                    |   167 +-
 bgpd/bgp_attr_evpn.h                    |    14 +-
 bgpd/bgp_bfd.c                          |   882 +-
 bgpd/bgp_bfd.h                          |     4 +-
 bgpd/bgp_btoa.c                         |   483 +-
 bgpd/bgp_clist.c                        |  1903 ++--
 bgpd/bgp_clist.h                        |   110 +-
 bgpd/bgp_community.c                    |   967 +-
 bgpd/bgp_community.h                    |    26 +-
 bgpd/bgp_damp.c                         |  1107 +-
 bgpd/bgp_damp.h                         |   124 +-
 bgpd/bgp_debug.c                        |  2872 ++---
 bgpd/bgp_debug.h                        |    28 +-
 bgpd/bgp_dump.c                         |  1339 +--
 bgpd/bgp_ecommunity.c                   |  1273 +--
 bgpd/bgp_ecommunity.h                   |    28 +-
 bgpd/bgp_encap_tlv.c                    |  1539 +--
 bgpd/bgp_encap_tlv.h                    |    78 +-
 bgpd/bgp_encap_types.h                  |   184 +-
 bgpd/bgp_evpn.c                         |   362 +-
 bgpd/bgp_evpn.h                         |     6 +-
 bgpd/bgp_evpn_vty.c                     |   963 +-
 bgpd/bgp_filter.c                       |   904 +-
 bgpd/bgp_fsm.c                          |  2974 ++---
 bgpd/bgp_fsm.h                          |    72 +-
 bgpd/bgp_lcommunity.c                   |   785 +-
 bgpd/bgp_lcommunity.h                   |    22 +-
 bgpd/bgp_main.c                         |   548 +-
 bgpd/bgp_mpath.c                        |  1062 +-
 bgpd/bgp_mpath.h                        |    28 +-
 bgpd/bgp_mplsvpn.c                      |  1773 +--
 bgpd/bgp_mplsvpn.h                      |    68 +-
 bgpd/bgp_network.c                      |  1178 +-
 bgpd/bgp_nexthop.c                      |   768 +-
 bgpd/bgp_nexthop.h                      |    41 +-
 bgpd/bgp_nht.c                          |  1175 +-
 bgpd/bgp_nht.h                          |     2 +-
 bgpd/bgp_open.c                         |  2608 ++---
 bgpd/bgp_open.h                         |    36 +-
 bgpd/bgp_packet.c                       |  4107 +++----
 bgpd/bgp_packet.h                       |     8 +-
 bgpd/bgp_regex.c                        |    96 +-
 bgpd/bgp_route.c                        | 17464 ++++++++++++++++--------------
 bgpd/bgp_route.h                        |   327 +-
 bgpd/bgp_routemap.c                     |  5116 +++++----
 bgpd/bgp_snmp.c                         |  1397 +--
 bgpd/bgp_table.c                        |    99 +-
 bgpd/bgp_table.h                        |   190 +-
 bgpd/bgp_updgrp.c                       |  2778 ++---
 bgpd/bgp_updgrp.h                       |   480 +-
 bgpd/bgp_updgrp_adv.c                   |  1328 +--
 bgpd/bgp_updgrp_packet.c                |  1955 ++--
 bgpd/bgp_vnc_types.h                    |     8 +-
 bgpd/bgp_vpn.c                          |   374 +-
 bgpd/bgp_vpn.h                          |     4 +-
 bgpd/bgp_vty.c                          | 16026 ++++++++++++++-------------
 bgpd/bgp_vty.h                          |    18 +-
 bgpd/bgp_zebra.c                        |  3440 +++---
 bgpd/bgp_zebra.h                        |    14 +-
 bgpd/bgpd.c                             | 12588 +++++++++++----------
 bgpd/bgpd.h                             |  1315 +--
 bgpd/rfapi/bgp_rfapi_cfg.c              |  7307 +++++++------
 bgpd/rfapi/bgp_rfapi_cfg.h              |   377 +-
 bgpd/rfapi/rfapi.c                      |  6298 +++++------
 bgpd/rfapi/rfapi.h                      |   267 +-
 bgpd/rfapi/rfapi_ap.c                   |   835 +-
 bgpd/rfapi/rfapi_ap.h                   |    41 +-
 bgpd/rfapi/rfapi_backend.h              |    19 +-
 bgpd/rfapi/rfapi_descriptor_rfp_utils.c |   108 +-
 bgpd/rfapi/rfapi_descriptor_rfp_utils.h |     3 +-
 bgpd/rfapi/rfapi_encap_tlv.c            |  1217 ++-
 bgpd/rfapi/rfapi_encap_tlv.h            |     7 +-
 bgpd/rfapi/rfapi_import.c               |  8034 +++++++-------
 bgpd/rfapi/rfapi_import.h               |   142 +-
 bgpd/rfapi/rfapi_monitor.c              |  2481 +++--
 bgpd/rfapi/rfapi_monitor.h              |   132 +-
 bgpd/rfapi/rfapi_nve_addr.c             |   160 +-
 bgpd/rfapi/rfapi_nve_addr.h             |     8 +-
 bgpd/rfapi/rfapi_private.h              |   427 +-
 bgpd/rfapi/rfapi_rib.c                  |  3948 +++----
 bgpd/rfapi/rfapi_rib.h                  |   107 +-
 bgpd/rfapi/rfapi_vty.c                  |  7096 ++++++------
 bgpd/rfapi/rfapi_vty.h                  |    59 +-
 bgpd/rfapi/vnc_debug.c                  |   171 +-
 bgpd/rfapi/vnc_export_bgp.c             |  3565 +++---
 bgpd/rfapi/vnc_export_bgp.h             |     5 +-
 bgpd/rfapi/vnc_export_bgp_p.h           |    38 +-
 bgpd/rfapi/vnc_export_table.c           |   268 +-
 bgpd/rfapi/vnc_export_table.h           |    29 +-
 bgpd/rfapi/vnc_import_bgp.c             |  5196 ++++-----
 bgpd/rfapi/vnc_import_bgp.h             |    37 +-
 bgpd/rfapi/vnc_import_bgp_p.h           |    18 +-
 bgpd/rfapi/vnc_zebra.c                  |  1668 +--
 bgpd/rfapi/vnc_zebra.h                  |    16 +-
 bgpd/rfp-example/librfp/rfp_example.c   |   172 +-
 bgpd/rfp-example/librfp/rfp_internal.h  |     2 +-
 bgpd/rfp-example/rfptest/rfptest.c      |    10 +-
 cumulus/start-stop-daemon.c             |  1626 +--
 fpm/fpm.h                               |   150 +-
 fpm/fpm_pb.h                            |    33 +-
 isisd/dict.c                            |  2182 ++--
 isisd/dict.h                            |    32 +-
 isisd/isis_adjacency.c                  |   832 +-
 isisd/isis_adjacency.h                  |    96 +-
 isisd/isis_bpf.c                        |   468 +-
 isisd/isis_circuit.c                    |  2182 ++--
 isisd/isis_circuit.h                    |   209 +-
 isisd/isis_common.h                     |    20 +-
 isisd/isis_constants.h                  |     4 +-
 isisd/isis_csm.c                        |   306 +-
 isisd/isis_dlpi.c                       |   987 +-
 isisd/isis_dr.c                         |   535 +-
 isisd/isis_dr.h                         |     8 +-
 isisd/isis_dynhn.c                      |   184 +-
 isisd/isis_dynhn.h                      |     8 +-
 isisd/isis_events.c                     |   331 +-
 isisd/isis_events.h                     |     6 +-
 isisd/isis_flags.c                      |    68 +-
 isisd/isis_flags.h                      |    20 +-
 isisd/isis_lsp.c                        |  4828 +++++----
 isisd/isis_lsp.h                        |    68 +-
 isisd/isis_main.c                       |   222 +-
 isisd/isis_misc.c                       |   832 +-
 isisd/isis_misc.h                       |     9 +-
 isisd/isis_network.h                    |     1 +
 isisd/isis_pdu.c                        |  5270 ++++-----
 isisd/isis_pdu.h                        |    78 +-
 isisd/isis_pfpacket.c                   |   637 +-
 isisd/isis_redist.c                     |  1225 ++-
 isisd/isis_redist.h                     |    20 +-
 isisd/isis_route.c                      |   965 +-
 isisd/isis_route.h                      |    34 +-
 isisd/isis_routemap.c                   |   242 +-
 isisd/isis_spf.c                        |  2498 +++--
 isisd/isis_spf.h                        |    54 +-
 isisd/isis_te.c                         |  1996 ++--
 isisd/isis_te.h                         |   186 +-
 isisd/isis_tlv.c                        |  1982 ++--
 isisd/isis_tlv.h                        |   126 +-
 isisd/isis_vty.c                        |  2098 ++--
 isisd/isis_zebra.c                      |  1068 +-
 isisd/isis_zebra.h                      |     2 +-
 isisd/isisd.c                           |  2962 ++---
 isisd/isisd.h                           |   206 +-
 isisd/iso_checksum.c                    |    49 +-
 lib/agentx.c                            |   453 +-
 lib/bfd.c                               |   676 +-
 lib/bfd.h                               |    50 +-
 lib/bitfield.h                          |    86 +-
 lib/buffer.c                            |   662 +-
 lib/buffer.h                            |    30 +-
 lib/checksum.c                          |   191 +-
 lib/checksum.h                          |     2 +-
 lib/command.c                           |  3566 +++---
 lib/command.h                           |   377 +-
 lib/command_match.c                     |  1349 +--
 lib/command_match.h                     |    29 +-
 lib/csv.c                               |  1138 +-
 lib/csv.h                               |     4 +-
 lib/distribute.c                        |   710 +-
 lib/distribute.h                        |    30 +-
 lib/event_counter.c                     |    37 +-
 lib/event_counter.h                     |     4 +-
 lib/fifo.h                              |    38 +-
 lib/filter.c                            |  2262 ++--
 lib/filter.h                            |    16 +-
 lib/getopt.c                            |  1187 +-
 lib/getopt.h                            |    23 +-
 lib/getopt1.c                           |   160 +-
 lib/grammar_sandbox.c                   |   957 +-
 lib/grammar_sandbox_main.c              |    46 +-
 lib/graph.c                             |   175 +-
 lib/graph.h                             |    14 +-
 lib/hash.c                              |   367 +-
 lib/hash.h                              |    44 +-
 lib/hook.c                              |    40 +-
 lib/hook.h                              |   106 +-
 lib/if.c                                |  1412 +--
 lib/if.h                                |   406 +-
 lib/if_rmap.c                           |   379 +-
 lib/if_rmap.h                           |     6 +-
 lib/imsg-buffer.c                       |   394 +-
 lib/imsg.c                              |   456 +-
 lib/imsg.h                              |    63 +-
 lib/jhash.c                             |   245 +-
 lib/jhash.h                             |     4 +-
 lib/json.c                              |    61 +-
 lib/json.h                              |    12 +-
 lib/keychain.c                          |  1277 +--
 lib/keychain.h                          |    22 +-
 lib/libfrr.c                            |   622 +-
 lib/libfrr.h                            |    79 +-
 lib/linklist.c                          |   392 +-
 lib/linklist.h                          |    99 +-
 lib/log.c                               |  1590 +--
 lib/log.h                               |    89 +-
 lib/log_int.h                           |    26 +-
 lib/md5.c                               |   667 +-
 lib/md5.h                               |    30 +-
 lib/memory.c                            |   140 +-
 lib/memory.h                            |   127 +-
 lib/memory_vty.c                        |   229 +-
 lib/module.c                            |   175 +-
 lib/module.h                            |    52 +-
 lib/monotime.h                          |    63 +-
 lib/mpls.h                              |   114 +-
 lib/network.c                           |   147 +-
 lib/network.h                           |     2 +-
 lib/nexthop.c                           |   280 +-
 lib/nexthop.h                           |    83 +-
 lib/ns.c                                |   518 +-
 lib/ns.h                                |    24 +-
 lib/openbsd-queue.h                     |   554 +-
 lib/openbsd-tree.h                      |  1172 +-
 lib/pid_output.c                        |    81 +-
 lib/plist.c                             |  3716 ++++---
 lib/plist.h                             |    16 +-
 lib/plist_int.h                         |    46 +-
 lib/pqueue.c                            |   206 +-
 lib/pqueue.h                            |    10 +-
 lib/prefix.c                            |  2074 ++--
 lib/prefix.h                            |   177 +-
 lib/privs.c                             |  1358 +--
 lib/privs.h                             |    67 +-
 lib/ptm_lib.c                           |   788 +-
 lib/ptm_lib.h                           |    22 +-
 lib/pw.h                                |    16 +-
 lib/qobj.c                              |    71 +-
 lib/qobj.h                              |    49 +-
 lib/queue.h                             |   701 +-
 lib/routemap.c                          |  3664 ++++---
 lib/routemap.h                          |   343 +-
 lib/sigevent.c                          |   371 +-
 lib/sigevent.h                          |     8 +-
 lib/skiplist.c                          |   843 +-
 lib/skiplist.h                          |    79 +-
 lib/smux.c                              |  2254 ++--
 lib/smux.h                              |    32 +-
 lib/snmp.c                              |   133 +-
 lib/sockopt.c                           |   803 +-
 lib/sockopt.h                           |    10 +-
 lib/sockunion.c                         |   986 +-
 lib/sockunion.h                         |    24 +-
 lib/spf_backoff.c                       |   400 +-
 lib/spf_backoff.h                       |     8 +-
 lib/srcdest_table.c                     |   387 +-
 lib/srcdest_table.h                     |    42 +-
 lib/stream.c                            |  1316 +--
 lib/stream.h                            |    36 +-
 lib/strlcat.c                           |    45 +-
 lib/strlcpy.c                           |    39 +-
 lib/systemd.c                           |   107 +-
 lib/table.c                             |  1101 +-
 lib/table.h                             |   187 +-
 lib/thread.c                            |  1742 +--
 lib/thread.h                            |   187 +-
 lib/vector.c                            |   198 +-
 lib/vector.h                            |     6 +-
 lib/vrf.c                               |   581 +-
 lib/vrf.h                               |    53 +-
 lib/vty.c                               |  4402 ++++----
 lib/vty.h                               |   346 +-
 lib/wheel.c                             |   166 +-
 lib/wheel.h                             |    30 +-
 lib/workqueue.c                         |   503 +-
 lib/workqueue.h                         |   124 +-
 lib/zassert.h                           |    10 +-
 lib/zclient.c                           |  3041 +++---
 lib/zclient.h                           |   395 +-
 lib/zebra.h                             |   174 +-
 ospf6d/ospf6_abr.c                      |  1905 ++--
 ospf6d/ospf6_abr.h                      |    24 +-
 ospf6d/ospf6_area.c                     |  1295 +--
 ospf6d/ospf6_area.h                     |    96 +-
 ospf6d/ospf6_asbr.c                     |  1879 ++--
 ospf6d/ospf6_asbr.h                     |    42 +-
 ospf6d/ospf6_bfd.c                      |   504 +-
 ospf6d/ospf6_bfd.h                      |     6 +-
 ospf6d/ospf6_flood.c                    |  1673 +--
 ospf6d/ospf6_flood.h                    |    10 +-
 ospf6d/ospf6_interface.c                |  2636 ++---
 ospf6d/ospf6_interface.h                |   120 +-
 ospf6d/ospf6_intra.c                    |  3043 +++---
 ospf6d/ospf6_intra.h                    |   211 +-
 ospf6d/ospf6_lsa.c                      |  1318 +--
 ospf6d/ospf6_lsa.h                      |   160 +-
 ospf6d/ospf6_lsdb.c                     |   834 +-
 ospf6d/ospf6_lsdb.h                     |    50 +-
 ospf6d/ospf6_main.c                     |   234 +-
 ospf6d/ospf6_message.c                  |  4331 ++++----
 ospf6d/ospf6_message.h                  |    64 +-
 ospf6d/ospf6_neighbor.c                 |  1447 +--
 ospf6d/ospf6_neighbor.h                 |   120 +-
 ospf6d/ospf6_network.c                  |   352 +-
 ospf6d/ospf6_network.h                  |     4 +-
 ospf6d/ospf6_proto.c                    |    75 +-
 ospf6d/ospf6_proto.h                    |    30 +-
 ospf6d/ospf6_route.c                    |  2504 +++--
 ospf6d/ospf6_route.h                    |   226 +-
 ospf6d/ospf6_snmp.c                     |  2204 ++--
 ospf6d/ospf6_spf.c                      |  1371 +--
 ospf6d/ospf6_spf.h                      |   135 +-
 ospf6d/ospf6_top.c                      |  1171 +-
 ospf6d/ospf6_top.h                      |    97 +-
 ospf6d/ospf6_zebra.c                    |  1314 +--
 ospf6d/ospf6_zebra.h                    |    14 +-
 ospf6d/ospf6d.c                         |  1628 +--
 ospf6d/ospf6d.h                         |    50 +-
 ospfclient/ospf_apiclient.c             |   969 +-
 ospfclient/ospf_apiclient.h             |    78 +-
 ospfclient/ospfclient.c                 |   390 +-
 ospfd/ospf_abr.c                        |  3073 +++---
 ospfd/ospf_abr.h                        |    48 +-
 ospfd/ospf_api.c                        |   900 +-
 ospfd/ospf_api.h                        |   206 +-
 ospfd/ospf_apiserver.c                  |  3863 +++----
 ospfd/ospf_apiserver.h                  |   102 +-
 ospfd/ospf_asbr.c                       |   438 +-
 ospfd/ospf_asbr.h                       |    42 +-
 ospfd/ospf_ase.c                        |  1298 +--
 ospfd/ospf_ase.h                        |     2 +-
 ospfd/ospf_bfd.c                        |   533 +-
 ospfd/ospf_bfd.h                        |    14 +-
 ospfd/ospf_dump.c                       |  2505 ++---
 ospfd/ospf_dump.h                       |    34 +-
 ospfd/ospf_dump_api.c                   |   169 +-
 ospfd/ospf_flood.c                      |  1593 +--
 ospfd/ospf_flood.h                      |    18 +-
 ospfd/ospf_ia.c                         |  1213 ++-
 ospfd/ospf_ia.h                         |    20 +-
 ospfd/ospf_interface.c                  |  1728 +--
 ospfd/ospf_interface.h                  |   282 +-
 ospfd/ospf_ism.c                        |   905 +-
 ospfd/ospf_ism.h                        |    70 +-
 ospfd/ospf_lsa.c                        |  5970 +++++-----
 ospfd/ospf_lsa.h                        |   172 +-
 ospfd/ospf_lsdb.c                       |   433 +-
 ospfd/ospf_lsdb.h                       |    32 +-
 ospfd/ospf_main.c                       |   261 +-
 ospfd/ospf_neighbor.c                   |   722 +-
 ospfd/ospf_neighbor.h                   |   134 +-
 ospfd/ospf_network.c                    |   308 +-
 ospfd/ospf_network.h                    |     2 +-
 ospfd/ospf_nsm.c                        |  1358 +--
 ospfd/ospf_nsm.h                        |    28 +-
 ospfd/ospf_opaque.c                     |  3259 +++---
 ospfd/ospf_opaque.h                     |    48 +-
 ospfd/ospf_packet.c                     |  6751 ++++++------
 ospfd/ospf_packet.h                     |    88 +-
 ospfd/ospf_ri.c                         |  2187 ++--
 ospfd/ospf_ri.h                         |    56 +-
 ospfd/ospf_route.c                      |  1619 +--
 ospfd/ospf_route.h                      |   100 +-
 ospfd/ospf_routemap.c                   |   705 +-
 ospfd/ospf_snmp.c                       |  4392 ++++----
 ospfd/ospf_spf.c                        |  2381 ++--
 ospfd/ospf_spf.h                        |    43 +-
 ospfd/ospf_te.c                         |  4079 +++----
 ospfd/ospf_te.h                         |   302 +-
 ospfd/ospf_vty.c                        | 12561 +++++++++++----------
 ospfd/ospf_vty.h                        |    43 +-
 ospfd/ospf_zebra.c                      |  2393 ++--
 ospfd/ospf_zebra.h                      |    19 +-
 ospfd/ospfd.c                           |  2612 ++---
 ospfd/ospfd.h                           |   545 +-
 pimd/pim_assert.c                       |  1110 +-
 pimd/pim_assert.h                       |    20 +-
 pimd/pim_br.c                           |   107 +-
 pimd/pim_cmd.c                          | 10211 +++++++++--------
 pimd/pim_hello.c                        |   864 +-
 pimd/pim_hello.h                        |    12 +-
 pimd/pim_iface.c                        |  2496 +++--
 pimd/pim_iface.h                        |   137 +-
 pimd/pim_ifchannel.c                    |  2296 ++--
 pimd/pim_ifchannel.h                    |   104 +-
 pimd/pim_igmp.c                         |  1880 ++--
 pimd/pim_igmp.h                         |   151 +-
 pimd/pim_igmp_join.h                    |    46 +-
 pimd/pim_igmpv2.c                       |   288 +-
 pimd/pim_igmpv2.h                       |    10 +-
 pimd/pim_igmpv3.c                       |  3530 +++---
 pimd/pim_igmpv3.h                       |    44 +-
 pimd/pim_int.c                          |    30 +-
 pimd/pim_join.c                         |   868 +-
 pimd/pim_join.h                         |     4 +-
 pimd/pim_jp_agg.c                       |   476 +-
 pimd/pim_jp_agg.h                       |    14 +-
 pimd/pim_macro.c                        |   398 +-
 pimd/pim_macro.h                        |     4 +-
 pimd/pim_main.c                         |   147 +-
 pimd/pim_mroute.c                       |  1650 +--
 pimd/pim_mroute.h                       |    62 +-
 pimd/pim_msdp.c                         |  2384 ++--
 pimd/pim_msdp.h                         |   246 +-
 pimd/pim_msdp_packet.c                  |  1139 +-
 pimd/pim_msdp_packet.h                  |     2 +-
 pimd/pim_msdp_socket.c                  |   364 +-
 pimd/pim_msg.c                          |   348 +-
 pimd/pim_msg.h                          |    61 +-
 pimd/pim_neighbor.c                     |  1268 +--
 pimd/pim_neighbor.h                     |    45 +-
 pimd/pim_nht.c                          |  1863 ++--
 pimd/pim_nht.h                          |    48 +-
 pimd/pim_oil.c                          |   821 +-
 pimd/pim_oil.h                          |    42 +-
 pimd/pim_pim.c                          |  1429 +--
 pimd/pim_pim.h                          |    20 +-
 pimd/pim_register.c                     |   613 +-
 pimd/pim_register.h                     |    10 +-
 pimd/pim_routemap.c                     |    60 +-
 pimd/pim_rp.c                           |  1625 +--
 pimd/pim_rp.h                           |    20 +-
 pimd/pim_rpf.c                          |   639 +-
 pimd/pim_rpf.h                          |    24 +-
 pimd/pim_signals.c                      |    62 +-
 pimd/pim_sock.c                         |   673 +-
 pimd/pim_sock.h                         |    12 +-
 pimd/pim_ssm.c                          |   184 +-
 pimd/pim_ssm.h                          |    10 +-
 pimd/pim_ssmpingd.c                     |   721 +-
 pimd/pim_ssmpingd.h                     |    10 +-
 pimd/pim_static.c                       |   598 +-
 pimd/pim_static.h                       |    20 +-
 pimd/pim_str.c                          |    89 +-
 pimd/pim_str.h                          |     8 +-
 pimd/pim_time.c                         |   174 +-
 pimd/pim_time.h                         |     2 +-
 pimd/pim_tlv.c                          |  1129 +-
 pimd/pim_tlv.h                          |    48 +-
 pimd/pim_upstream.c                     |  2568 ++---
 pimd/pim_upstream.h                     |   114 +-
 pimd/pim_util.c                         |   121 +-
 pimd/pim_vty.c                          |   552 +-
 pimd/pim_zebra.c                        |  2093 ++--
 pimd/pim_zebra.h                        |     4 +-
 pimd/pim_zlookup.c                      |   871 +-
 pimd/pim_zlookup.h                      |    12 +-
 pimd/pimd.c                             |   357 +-
 pimd/pimd.h                             |    34 +-
 pimd/test_igmpv3_join.c                 |   210 +-
 qpb/linear_allocator.h                  |   174 +-
 qpb/qpb.h                               |   407 +-
 qpb/qpb_allocator.c                     |    19 +-
 qpb/qpb_allocator.h                     |    41 +-
 ripd/rip_debug.c                        |   244 +-
 ripd/rip_interface.c                    |  2325 ++--
 ripd/rip_interface.h                    |     4 +-
 ripd/rip_main.c                         |   185 +-
 ripd/rip_offset.c                       |   534 +-
 ripd/rip_peer.c                         |   208 +-
 ripd/rip_routemap.c                     |   707 +-
 ripd/rip_snmp.c                         |   802 +-
 ripd/rip_zebra.c                        |   940 +-
 ripd/ripd.c                             |  6445 +++++------
 ripd/ripd.h                             |   327 +-
 ripngd/ripng_debug.c                    |   246 +-
 ripngd/ripng_interface.c                |  1544 +--
 ripngd/ripng_main.c                     |   178 +-
 ripngd/ripng_nexthop.c                  |   276 +-
 ripngd/ripng_nexthop.h                  |    35 +-
 ripngd/ripng_offset.c                   |   546 +-
 ripngd/ripng_peer.c                     |   212 +-
 ripngd/ripng_route.c                    |   228 +-
 ripngd/ripng_route.h                    |    32 +-
 ripngd/ripng_routemap.c                 |   446 +-
 ripngd/ripng_zebra.c                    |   741 +-
 ripngd/ripngd.c                         |  4631 ++++----
 ripngd/ripngd.h                         |   302 +-
 tests/bgpd/test_aspath.c                |  2406 ++--
 tests/bgpd/test_capability.c            |  1642 +--
 tests/bgpd/test_ecommunity.c            |   185 +-
 tests/bgpd/test_mp_attr.c               |  2067 ++--
 tests/bgpd/test_mpath.c                 |   634 +-
 tests/helpers/c/main.c                  |   247 +-
 tests/helpers/c/prng.c                  |   135 +-
 tests/helpers/c/prng.h                  |     2 +-
 tests/lib/cli/common_cli.c              |    87 +-
 tests/lib/cli/common_cli.h              |    19 +-
 tests/lib/cli/test_cli.c                |    47 +-
 tests/lib/cli/test_commands.c           |   466 +-
 tests/lib/test_buffer.c                 |    52 +-
 tests/lib/test_checksum.c               |   653 +-
 tests/lib/test_heavy.c                  |    87 +-
 tests/lib/test_heavy_thread.c           |   136 +-
 tests/lib/test_heavy_wq.c               |   171 +-
 tests/lib/test_memory.c                 |   130 +-
 tests/lib/test_nexthop_iter.c           |   348 +-
 tests/lib/test_privs.c                  |   159 +-
 tests/lib/test_segv.c                   |    33 +-
 tests/lib/test_sig.c                    |    60 +-
 tests/lib/test_srcdest_table.c          |   608 +-
 tests/lib/test_stream.c                 |    56 +-
 tests/lib/test_table.c                  |   666 +-
 tests/lib/test_timer_correctness.c      |   241 +-
 tests/lib/test_timer_performance.c      |    95 +-
 tests/test_lblmgr.c                     |   139 +-
 tools/cocci.h                           |    35 +-
 tools/permutations.c                    |   102 +-
 vtysh/vtysh.c                           |  4100 +++----
 vtysh/vtysh.h                           |     6 +-
 vtysh/vtysh_config.c                    |   636 +-
 vtysh/vtysh_main.c                      |  1017 +-
 vtysh/vtysh_user.c                      |   193 +-
 watchfrr/watchfrr.c                     |  2062 ++--
 watchfrr/watchfrr_vty.c                 |   190 +-
 zebra/client_main.c                     |   265 +-
 zebra/connected.c                       |   862 +-
 zebra/connected.h                       |    18 +-
 zebra/debug.c                           |   453 +-
 zebra/debug.h                           |     6 +-
 zebra/if_ioctl.c                        |   464 +-
 zebra/if_ioctl_solaris.c                |   553 +-
 zebra/if_netlink.c                      |  1433 +--
 zebra/if_netlink.h                      |     4 +-
 zebra/if_null.c                         |     7 +-
 zebra/if_sysctl.c                       |   190 +-
 zebra/interface.c                       |  3954 +++----
 zebra/interface.h                       |   266 +-
 zebra/ioctl.c                           |   705 +-
 zebra/ioctl.h                           |     3 +-
 zebra/ioctl_null.c                      |    59 +-
 zebra/ioctl_solaris.c                   |   521 +-
 zebra/ipforward_proc.c                  |   198 +-
 zebra/ipforward_solaris.c               |   172 +-
 zebra/ipforward_sysctl.c                |   192 +-
 zebra/irdp.h                            |    25 +-
 zebra/irdp_interface.c                  |   770 +-
 zebra/irdp_main.c                       |   443 +-
 zebra/irdp_packet.c                     |   542 +-
 zebra/kernel_netlink.c                  |  1186 +-
 zebra/kernel_netlink.h                  |    22 +-
 zebra/kernel_null.c                     |    67 +-
 zebra/kernel_socket.c                   |  1991 ++--
 zebra/kernel_socket.h                   |     4 +-
 zebra/label_manager.c                   |   459 +-
 zebra/label_manager.h                   |    18 +-
 zebra/main.c                            |   444 +-
 zebra/misc_null.c                       |    24 +-
 zebra/redistribute.c                    |  1166 +-
 zebra/redistribute.h                    |    26 +-
 zebra/redistribute_null.c               |   108 +-
 zebra/rib.h                             |   305 +-
 zebra/router-id.c                       |   341 +-
 zebra/rt.h                              |     6 +-
 zebra/rt_netlink.c                      |  2671 ++---
 zebra/rt_netlink.h                      |     2 +-
 zebra/rt_socket.c                       |   535 +-
 zebra/rtadv.c                           |  2373 ++--
 zebra/rtadv.h                           |    52 +-
 zebra/rtadv_null.c                      |    17 +-
 zebra/rtread_getmsg.c                   |   306 +-
 zebra/rtread_netlink.c                  |     7 +-
 zebra/rtread_sysctl.c                   |    69 +-
 zebra/test_main.c                       |   445 +-
 zebra/zebra_fpm.c                       |  2149 ++--
 zebra/zebra_fpm_dt.c                    |   333 +-
 zebra/zebra_fpm_netlink.c               |   583 +-
 zebra/zebra_fpm_private.h               |    26 +-
 zebra/zebra_fpm_protobuf.c              |   454 +-
 zebra/zebra_mpls.c                      |  2705 ++---
 zebra/zebra_mpls.h                      |   215 +-
 zebra/zebra_mpls_netlink.c              |    90 +-
 zebra/zebra_mpls_null.c                 |    22 +-
 zebra/zebra_mpls_openbsd.c              |   751 +-
 zebra/zebra_mpls_vty.c                  |   551 +-
 zebra/zebra_mroute.c                    |    57 +-
 zebra/zebra_mroute.h                    |     8 +-
 zebra/zebra_ns.c                        |    54 +-
 zebra/zebra_ns.h                        |    26 +-
 zebra/zebra_ptm.c                       |  1706 +--
 zebra/zebra_ptm.h                       |    30 +-
 zebra/zebra_ptm_null.c                  |    15 +-
 zebra/zebra_ptm_redistribute.c          |   168 +-
 zebra/zebra_ptm_redistribute.h          |     3 +-
 zebra/zebra_pw.c                        |   726 +-
 zebra/zebra_pw.h                        |    40 +-
 zebra/zebra_pw_null.c                   |    10 +-
 zebra/zebra_rib.c                       |  4912 +++++----
 zebra/zebra_rnh.c                       |  1741 +--
 zebra/zebra_rnh.h                       |    48 +-
 zebra/zebra_rnh_null.c                  |    30 +-
 zebra/zebra_routemap.c                  |  1795 +--
 zebra/zebra_routemap.h                  |    17 +-
 zebra/zebra_snmp.c                      |   896 +-
 zebra/zebra_static.c                    |   996 +-
 zebra/zebra_static.h                    |   134 +-
 zebra/zebra_vrf.c                       |   703 +-
 zebra/zebra_vrf.h                       |    96 +-
 zebra/zebra_vty.c                       |  5358 ++++-----
 zebra/zserv.c                           |  4590 ++++----
 zebra/zserv.h                           |   184 +-
 zebra/zserv_null.c                      |    19 +-
 598 files changed, 269745 insertions(+), 244747 deletions(-)


More information about the dev mailing list