]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripngd/ripngd.h
all: removed all DEFUN command stomps
[mirror_frr.git] / ripngd / ripngd.h
index f09c98add6890eebc88b615e45f94099af9afdee..031ca963d92ee0484831bf9081eb765ee7b0ccf0 100644 (file)
@@ -26,6 +26,8 @@
 #include <zclient.h>
 #include <vty.h>
 
+#include "ripng_memory.h"
+
 /* RIPng version and port number. */
 #define RIPNG_V1                         1
 #define RIPNG_PORT_DEFAULT             521
@@ -129,6 +131,9 @@ struct ripng
   struct thread *t_triggered_update;
   struct thread *t_triggered_interval;
 
+  /* RIPng ECMP flag */
+  unsigned int ecmp;
+
   /* For redistribute route map. */
   struct
   {
@@ -173,7 +178,7 @@ struct ripng_info
   struct in6_addr from;
 
   /* Which interface does this route come from. */
-  unsigned int ifindex;                
+  ifindex_t ifindex;
 
   /* Metric of this route.  */
   u_char metric;               
@@ -353,7 +358,6 @@ extern void ripng_route_map_reset (void);
 extern void ripng_terminate (void);
  /* zclient_init() is done by ripng_zebra.c:zebra_init() */
 extern void zebra_init(struct thread_master *);
-extern void ripng_zclient_start (void);
 extern void ripng_zclient_reset (void);
 extern void ripng_offset_init (void);
 
@@ -378,9 +382,9 @@ extern void ripng_info_free (struct ripng_info *rinfo);
 extern void ripng_event (enum ripng_event, int);
 extern int ripng_request (struct interface *ifp);
 extern void ripng_redistribute_add (int, int, struct prefix_ipv6 *,
-                                    unsigned int, struct in6_addr *);
+                                    ifindex_t, struct in6_addr *);
 extern void ripng_redistribute_delete (int, int, struct prefix_ipv6 *,
-                                       unsigned int);
+                                       ifindex_t);
 extern void ripng_redistribute_withdraw (int type);
 
 extern void ripng_distribute_update_interface (struct interface *);