diff options
author | Maria Matejka <mq@ucw.cz> | 2019-07-10 11:27:08 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2019-07-10 11:27:08 +0200 |
commit | b2a4feeb4c877ff56d9b2ebd8119225c53ea40db (patch) | |
tree | db22ae94ddf1208824e9ec70176dce63cb073174 /nest/route.h | |
parent | eac9250fd5b10809830361b94438339b3b31b270 (diff) | |
parent | 422a9334294dd9a5b13abd8563a3dc7233e64b13 (diff) |
Merge branch 'master' into mq-filter-stack
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 9959ea69..8d799454 100644 --- a/nest/route.h +++ b/nest/route.h @@ -631,6 +631,7 @@ int nexthop__same(struct nexthop *x, struct nexthop *y); /* Compare multipath ne static inline int nexthop_same(struct nexthop *x, struct nexthop *y) { return (x == y) || nexthop__same(x, y); } struct nexthop *nexthop_merge(struct nexthop *x, struct nexthop *y, int rx, int ry, int max, linpool *lp); +struct nexthop *nexthop_sort(struct nexthop *x); static inline void nexthop_link(struct rta *a, struct nexthop *from) { memcpy(&a->nh, from, nexthop_size(from)); } void nexthop_insert(struct nexthop **n, struct nexthop *y); |