diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-12-09 16:02:57 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-12-09 16:25:53 -0500 |
| commit | e1f3a8eb193267da195088cc515b598ae5a92a12 (patch) | |
| tree | e6d37c76f9b31d8eb37afb2ea43496dc999010e3 /lib/agg_table.c | |
| parent | 1c30d64bb63aedd0104aa3525815d3ff16c45522 (diff) | |
lib,zebra: add api to enforce nexthop sort order when copying
Add an api that creates a copy of a list of nexthops and
enforces the canonical sort ordering; consolidate some nhg
code to avoid copy-and-paste. The zebra dplane uses
that api when a plugin sets up a list of nexthops, ensuring
that the plugin's list is ordered when it's processed in
zebra.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/agg_table.c')
0 files changed, 0 insertions, 0 deletions
