mirror_frr/zebra
Donald Sharp 149a38a313 zebra: Compare to the number of elements not size of array
When figuring out whom to call and if we actually can legally
call into the handler array actually use the number of elements
in the array instead of the size of the array.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-03-19 09:18:10 -04:00
..
.gitignore *: globally ignore clippy-generated source 2018-03-09 17:52:15 -05:00
client_main.c *: Make zapi route install Notifications optional 2017-11-27 09:09:35 -05:00
connected.c zebra: set vrf as loopback upon interface add 2018-03-08 12:44:19 -08:00
connected.h zebra: Refactor connected_down_ipv[4|6] 2017-08-31 13:47:26 -04:00
debug.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
debug.h zebra: add pseudowire manager 2017-08-09 12:35:15 +02:00
GNOME-PRODUCT-ZEBRA-MIB Initial revision 2002-12-13 20:15:29 +00:00
GNOME-SMI Initial revision 2002-12-13 20:15:29 +00:00
if_ioctl_solaris.c *: introduce new rb-tree to optimize interface lookup by ifindex 2017-10-10 09:05:02 -03:00
if_ioctl.c zebra: handle some ioctl operations for VRF 2018-02-27 11:11:24 +01:00
if_netlink.c zebra/if_netlink: compile under musl-libc 2018-03-09 15:20:14 -08:00
if_netlink.h *: reindent 2017-07-17 14:04:07 +02:00
if_sysctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
interface.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
interface.h *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
ioctl_solaris.c zebra: handle some ioctl operations for VRF 2018-02-27 11:11:24 +01:00
ioctl_solaris.h *: reindent 2017-07-17 14:04:07 +02:00
ioctl.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
ioctl.h zebra: handle some ioctl operations for VRF 2018-02-27 11:11:24 +01:00
ipforward_proc.c bgpd, zebra: Use sscanf return value 2017-12-04 21:28:19 -05:00
ipforward_solaris.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ipforward_sysctl.c configure, zebra: Kame is not responsible for on/off of v6 forwarding 2017-12-05 17:26:32 -05:00
ipforward.h *: reindent 2017-07-17 14:04:07 +02:00
irdp_interface.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
irdp_main.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
irdp_packet.c *: fix assorted issues detected by Coverity Scan 2017-08-24 21:49:39 -03:00
irdp.h zebra: Fix irdp so it doesn't crash when looked at 2017-09-26 19:57:27 -04:00
kernel_netlink.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
kernel_netlink.h *: reindent 2017-07-17 14:04:07 +02:00
kernel_socket.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
kernel_socket.h zebra: cleanup blackhole support 2017-08-28 05:07:51 +02:00
label_manager.c zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
label_manager.h *: reindent 2017-07-17 14:04:07 +02:00
main.c bgpd, lib, zebra: Switch to work_queue_free_and_null 2018-03-09 11:07:41 -05:00
Makefile build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
redistribute.c Merge branch 'master' into working/master/bgp-vpn-vrf-leaking 2018-03-14 13:31:58 -07:00
redistribute.h zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
rib.h Merge pull request #1819 from donaldsharp/static_stuff 2018-03-14 11:26:20 -03:00
router-id.c *: use clang's 'ForEachMacros' format style option 2017-09-15 14:53:46 -03:00
router-id.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rt_netlink.c lib: Isolate nexthop_group functions to nexthop_group.c 2018-03-09 11:07:41 -05:00
rt_netlink.h OSPFD: Update Segment Routing following reviews 2018-01-22 19:18:10 +01:00
rt_socket.c lib: Isolate nexthop_group functions to nexthop_group.c 2018-03-09 11:07:41 -05:00
rt.h *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
rtadv.c zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
rtadv.h zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
rtread_getmsg.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
rtread_netlink.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
rtread_sysctl.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
rule_netlink.c zebra: Make the ifp part of the rule structure 2018-03-09 11:07:41 -05:00
rule_netlink.h zebra: Cleanup a couple of api issues 2018-03-09 11:07:41 -05:00
rule_socket.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
subdir.am *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
testrib.conf zebra: Build the test client, can be useful, and add IPv6 to testrib.conf 2016-05-26 01:13:58 +00:00
zebra_fpm_dt.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm_netlink.c lib: Isolate nexthop_group functions to nexthop_group.c 2018-03-09 11:07:41 -05:00
zebra_fpm_private.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm_protobuf.c lib: Isolate nexthop_group functions to nexthop_group.c 2018-03-09 11:07:41 -05:00
zebra_fpm.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_l2_null.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_l2.c *: use the FOR_ALL_INTERFACES abstraction from babeld 2017-10-10 09:05:46 -03:00
zebra_l2.h *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_memory.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_memory.h zebra: Refactor 'struct rib' to be 'struct route_entry' 2017-06-01 08:00:05 -04:00
zebra_mpls_netlink.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_mpls_null.c zebra: Fix lsp add/del from kernel using SETFLAG 2017-11-29 13:01:00 -05:00
zebra_mpls_openbsd.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_mpls_vty.c *: Make code use a consisten definition of labels 2018-02-08 20:31:37 -05:00
zebra_mpls.c zebra: Apply label to all nexthops when needed 2018-03-16 10:46:28 -04:00
zebra_mpls.h lib, sharpd, zebra: Add new enum for lsp type and pass it through. 2018-02-08 20:35:14 -05:00
zebra_mroute.c zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
zebra_mroute.h zebra: standardize ZAPI message handler args 2018-03-12 14:57:05 -04:00
zebra_netns_id.c zebra: Fix leaked fd. 2018-03-19 09:09:15 -04:00
zebra_netns_id.h zebra: upon startup, a NSID is assigned to default netns 2018-02-27 11:11:24 +01:00
zebra_netns_notify.c zebra: upon associating netns with vrf, prileges are raised 2018-03-13 16:32:58 +01:00
zebra_netns_notify.h zebra: collect and get netnamespaces information 2018-02-27 11:11:24 +01:00
zebra_ns.c zebra: Keep track of rules written 2018-03-09 11:07:41 -05:00
zebra_ns.h zebra: Keep track of rules written 2018-03-09 11:07:41 -05:00
zebra_pbr.c lib, zebra: Add Rule insertion success/failure messages 2018-03-09 11:11:40 -05:00
zebra_pbr.h lib, zebra: Add Rule insertion success/failure messages 2018-03-09 11:11:40 -05:00
zebra_ptm_redistribute.c zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
zebra_ptm_redistribute.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm.c zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
zebra_ptm.h zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
zebra_pw.c lib: Isolate nexthop_group functions to nexthop_group.c 2018-03-09 11:07:41 -05:00
zebra_pw.h zebra: add support for static pseudowires 2017-08-09 13:03:36 +02:00
zebra_rib.c Merge pull request #1739 from LabNConsulting/working/master/bgp-vpn-vrf-leaking 2018-03-15 09:01:27 -04:00
zebra_rnh.c lib, zebra: Signal the existence of labels on a nexthop for nht 2018-03-16 12:27:22 -04:00
zebra_rnh.h *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_routemap.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_routemap.h zebra: Make zserv.h the true api for zapi northbound 2017-12-13 07:57:15 -05:00
zebra_snmp.c lib: Isolate nexthop_group functions to nexthop_group.c 2018-03-09 11:07:41 -05:00
zebra_static.c lib: Isolate nexthop_group functions to nexthop_group.c 2018-03-09 11:07:41 -05:00
zebra_static.h zebra: Add the zvrf pointer to the 'struct static_route' 2018-01-12 09:22:46 -05:00
zebra_vrf.c Merge pull request #1819 from donaldsharp/static_stuff 2018-03-14 11:26:20 -03:00
zebra_vrf.h zebra: adapt the vrf and logical router initialisation 2018-02-27 11:11:24 +01:00
zebra_vty.c zebra: Extend unknown vrf to vrf part of ip route 2018-03-16 18:45:29 -04:00
zebra_vxlan_null.c zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
zebra_vxlan_private.h *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_vxlan.c lib, zebra: use existing zapi header struct 2018-03-12 14:57:06 -04:00
zebra_vxlan.h zebra: reorganize zserv, batch i/o 2018-03-12 14:57:05 -04:00
zebra.conf.sample *: Remove cvs control points 2017-12-05 17:28:12 -05:00
zserv.c zebra: Compare to the number of elements not size of array 2018-03-19 09:18:10 -04:00
zserv.h lib, zebra: use existing zapi header struct 2018-03-12 14:57:06 -04:00