diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2015-05-31 23:25:33 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2015-06-08 02:24:08 +0200 |
commit | d217ba5111a80a629e408961b902d7759c4b46f5 (patch) | |
tree | 2cfb5bfcdaf6b959a9b1dbe08b4cf7ebc740a564 /nest/route.h | |
parent | ca34698ca62d979c281ed517f040619e31c3ada3 (diff) |
Moving of mulipath merging code from OSPF to nest
Diffstat (limited to 'nest/route.h')
-rw-r--r-- | nest/route.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h index 8f3c7c9a..e22f950b 100644 --- a/nest/route.h +++ b/nest/route.h @@ -482,6 +482,7 @@ void ea_format_bitfield(struct eattr *a, byte *buf, int bufsize, const char **na int mpnh__same(struct mpnh *x, struct mpnh *y); /* Compare multipath nexthops */ static inline int mpnh_same(struct mpnh *x, struct mpnh *y) { return (x == y) || mpnh__same(x, y); } +struct mpnh *mpnh_merge(struct mpnh *x, struct mpnh *y, int rx, int ry, int max, linpool *lp); void rta_init(void); rta *rta_lookup(rta *); /* Get rta equivalent to this one, uc++ */ |