]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_nexthop.c
bgpd: Add various hash optimizations
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 3 Sep 2017 22:57:30 +0000 (18:57 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 5 Sep 2017 18:33:06 +0000 (14:33 -0400)
commit3f65c5b1f7db20c1ee3ab723483f294975ce2f94
tree298e5547fd5d36b177e2d3eb31a4ff88d76a158c
parent0f66d7d1e6ae5ef3f0679246f4eefbb42f9188f7
bgpd: Add various hash optimizations

1) Add hash names to all hash_create calls

2) Fix community_hash, ecommunity_hash and lcommunity_hash key
creation

3) Fix output of community and lcommunity iterators( why would
we want to see the memory location of the backet? ).

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_advertise.c
bgpd/bgp_aspath.c
bgpd/bgp_attr.c
bgpd/bgp_community.c
bgpd/bgp_ecommunity.c
bgpd/bgp_lcommunity.c
bgpd/bgp_nexthop.c
bgpd/bgp_updgrp.c
bgpd/bgp_vty.c
bgpd/bgpd.c