mirror_frr/zebra
Renato Westphal d51b9e4509 zserv: simplify handling of route delete requests
Route attributes like tag, distance and metric are irrelevant when we
want to delete a route from a client daemon. The same can be said about
the nexthops of the route. Only the IP prefix and client protocol are
enough to identify the route we want to remove, considering that zebra
maintains at most one route from each client daemon for each prefix. Once
rib_delete() is called, it deletes the selected route with all of its
nexthops.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2017-08-23 17:45:17 -03:00
..
.gitignore build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
client_main.c *: remove --enable-tcp-zebra, rework ZAPI path 2017-08-08 11:14:05 +02:00
connected.c zebra: Pay attention to metric from kernel 2017-08-09 09:17:20 -04:00
connected.h *: reindent 2017-07-17 14:04:07 +02:00
debug.c *: Add 'show debugging' command from vtysh 2017-08-21 07:23:59 -04: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 build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
if_ioctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
if_netlink.c zebra: Guard debugs in interface speed check 2017-08-08 10:28:54 -04: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 zebra: start detangling rtadv & irdp 2017-08-15 13:25:44 +02:00
interface.h zebra: start detangling rtadv & irdp 2017-08-15 13:25:44 +02:00
ioctl_solaris.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ioctl_solaris.h *: reindent 2017-07-17 14:04:07 +02:00
ioctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ioctl.h *: reindent 2017-07-17 14:04:07 +02:00
ipforward_proc.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ipforward_solaris.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ipforward_sysctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ipforward.h *: reindent 2017-07-17 14:04:07 +02:00
irdp_interface.c zebra: irdp: convert into module 2017-08-15 13:26:55 +02:00
irdp_main.c zebra: irdp: convert into module 2017-08-15 13:26:55 +02:00
irdp_packet.c zebra: irdp: convert into module 2017-08-15 13:26:55 +02:00
irdp.h zebra: irdp: convert into module 2017-08-15 13:26:55 +02:00
kernel_netlink.c zebra: hide netlink warning message 2017-08-04 10:19:36 +02:00
kernel_netlink.h *: reindent 2017-07-17 14:04:07 +02:00
kernel_socket.c zebra: Pay attention to metric from kernel 2017-08-09 09:17:20 -04:00
kernel_socket.h *: reindent 2017-07-17 14:04:07 +02:00
label_manager.c *: remove --enable-tcp-zebra, rework ZAPI path 2017-08-08 11:14:05 +02:00
label_manager.h *: reindent 2017-07-17 14:04:07 +02:00
main.c zebra: irdp: convert into module 2017-08-15 13:26:55 +02:00
Makefile build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
redistribute.c zebra: redistribute srcdest routes to the client daemons 2017-08-22 10:57:55 -03:00
redistribute.h *: reindent 2017-07-17 14:04:07 +02:00
rib.h zebra: Pay attention to metric from kernel 2017-08-09 09:17:20 -04:00
router-id.c *: reindent 2017-07-17 14:04:07 +02:00
router-id.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rt_netlink.c zebra: Pay attention to metric from kernel 2017-08-09 09:17:20 -04:00
rt_netlink.h *: reindent 2017-07-17 14:04:07 +02:00
rt_socket.c zebra: increase maximum label stack depth 2017-08-22 17:37:58 -03:00
rt.h lib, pimd, zebra: Allow pim to set pimregX into appropriate vrf 2017-07-24 13:51:39 -04:00
rtadv.c zebra: start detangling rtadv & irdp 2017-08-15 13:25:44 +02:00
rtadv.h zebra: start detangling rtadv & irdp 2017-08-15 13:25:44 +02:00
rtread_getmsg.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
rtread_netlink.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
rtread_sysctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
subdir.am zebra: irdp: convert into module 2017-08-15 13:26:55 +02: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 build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
zebra_fpm_private.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm_protobuf.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_l2_null.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_l2.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_l2.h Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02: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 build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
zebra_mpls_null.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
zebra_mpls_openbsd.c zebra: increase maximum label stack depth 2017-08-22 17:37:58 -03:00
zebra_mpls_vty.c zebra: remove redundant DEFUNs for labeled static routes 2017-07-27 21:47:23 -03:00
zebra_mpls.c zebra: increase maximum label stack depth 2017-08-22 17:37:58 -03:00
zebra_mpls.h zebra: increase maximum label stack depth 2017-08-22 17:37:58 -03:00
zebra_mroute.c zebra: Allow S,G lookup to use RTNL_FAMILY_IPMR 2017-07-24 13:51:39 -04:00
zebra_mroute.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ns.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_ns.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm_redistribute.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm_redistribute.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm.c Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
zebra_ptm.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_pw.c zebra: put pseudowire show cmd under mpls 2017-08-21 14:33:24 +02:00
zebra_pw.h zebra: add support for static pseudowires 2017-08-09 13:03:36 +02:00
zebra_rib.c lib: optimize IPV4_ADDR_[SAME|COPY]() 2017-08-17 17:58:35 +02:00
zebra_rnh.c zebra: add new flag to detect nexthop label updates 2017-08-09 12:35:15 +02:00
zebra_rnh.h zebra: add nexthop tracking for pseudowires 2017-08-09 12:35:15 +02:00
zebra_routemap.c zebra: add missing protocols names to source-protocol route-map match 2017-08-04 10:19:36 +02:00
zebra_routemap.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_snmp.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_static.c lib: optimize IPV4_ADDR_[SAME|COPY]() 2017-08-17 17:58:35 +02:00
zebra_static.h zebra: increase maximum label stack depth 2017-08-22 17:37:58 -03:00
zebra_vrf.c zebra: add pseudowire manager 2017-08-09 12:35:15 +02:00
zebra_vrf.h Merge branch 'frr/pull/822' ("EVPN fixes") 2017-08-09 21:34:10 +02:00
zebra_vty.c zebra: fix display of static routes pointing to nonexistent interfaces 2017-08-22 10:52:07 -03:00
zebra_vxlan_null.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_vxlan_private.h zebra: Provide neigh-mac tie-in in zebra 2017-08-08 10:28:51 -04:00
zebra_vxlan.c zebra: zebra should not try and advertise gateway macip if EVPN is disabled 2017-08-08 10:28:54 -04:00
zebra_vxlan.h zebra: Enable JSON for EVPN show cmds 2017-08-08 10:28:50 -04:00
zebra.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
zserv.c zserv: simplify handling of route delete requests 2017-08-23 17:45:17 -03:00
zserv.h zebra: add pseudowire manager 2017-08-09 12:35:15 +02:00