#define RIPNG_INSTANCE "/frr-ripngd:ripngd/instance"
#define RIPNG_IFACE "/frr-interface:lib/interface/frr-ripngd:ripng"
-DECLARE_MGROUP(RIPNGD)
+DECLARE_MGROUP(RIPNGD);
/* RIPng structure. */
struct ripng {
/* RIPng threads. */
struct thread *t_read;
- struct thread *t_write;
struct thread *t_update;
- struct thread *t_garbage;
- struct thread *t_zebra;
/* Triggered update hack. */
int trigger;
struct agg_node *rp;
};
-#ifdef notyet
-#if 0
-/* RIPng tag structure. */
-struct ripng_tag
-{
- /* Tag value. */
- uint16_t tag;
-
- /* Port. */
- uint16_t port;
-
- /* Multicast group. */
- struct in6_addr maddr;
-
- /* Table number. */
- int table;
-
- /* Distance. */
- int distance;
-
- /* Split horizon. */
- uint8_t split_horizon;
-
- /* Poison reverse. */
- uint8_t poison_reverse;
-};
-#endif /* 0 */
-#endif /* not yet */
-
typedef enum {
RIPNG_NO_SPLIT_HORIZON = 0,
RIPNG_SPLIT_HORIZON,
/* Route-map. */
struct route_map *routemap[RIPNG_FILTER_MAX];
-#ifdef notyet
-#if 0
- /* RIPng tag configuration. */
- struct ripng_tag *rtag;
-#endif /* 0 */
-#endif /* notyet */
-
/* Default information originate. */
uint8_t default_originate;
/* RIPng timer on/off macro. */
#define RIPNG_TIMER_ON(T,F,V) thread_add_timer (master, (F), rinfo, (V), &(T))
-#define RIPNG_TIMER_OFF(T) thread_cancel(&(T))
-
#define RIPNG_OFFSET_LIST_IN 0
#define RIPNG_OFFSET_LIST_OUT 1
#define RIPNG_OFFSET_LIST_MAX 2