mirror_frr/zebra
Renato Westphal 744899219f *: use zapi_route to send/receive redistributed routes as well
Some differences compared to the old API:
* Now the redistributed routes are sent using address-family
  independent messages (ZEBRA_REDISTRIBUTE_ROUTE_ADD and
  ZEBRA_REDISTRIBUTE_ROUTE_DEL). This allows us to unify the ipv4/ipv6
  zclient callbacks in the client daemons and thus remove a lot of
  duplicate code;

* Now zebra sends all nexthops of the redistributed routes to the client
  daemons, not only the first one. This shouldn't have any noticeable
  performance implications and will allow us to remove an ugly exception
  we had for ldpd (which needs to know all nexthops of the redistributed
  routes). The other client daemons can simply ignore the nexthops if
  they want or consult just the first one (e.g. ospfd/ospf6d/ripd/ripngd).

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2017-08-23 20:25:45 -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 *: use zapi_route to send/receive redistributed routes as well 2017-08-23 20:25:45 -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 zapi: add support for routes with multiple labels 2017-08-23 18:58:35 -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 *: use zapi_route to send/receive redistributed routes as well 2017-08-23 20:25:45 -03:00
zserv.h zebra: add pseudowire manager 2017-08-09 12:35:15 +02:00