Nest: Use bitmaps to keep track of exported routes
Use a hierarchical bitmap in a routing table to assign ids to routes, and then use bitmaps (indexed by route id) in channels to keep track whether routes were exported. This avoids unreliable and inefficient re-evaluation of filters for old routes in order to determine whether they were exported.
Showing
- lib/bitmap.c 7 additions, 0 deletionslib/bitmap.c
- lib/bitmap.h 1 addition, 0 deletionslib/bitmap.h
- nest/config.Y 2 additions, 1 deletionnest/config.Y
- nest/proto.c 23 additions, 4 deletionsnest/proto.c
- nest/protocol.h 2 additions, 0 deletionsnest/protocol.h
- nest/route.h 4 additions, 0 deletionsnest/route.h
- nest/rt-show.c 10 additions, 2 deletionsnest/rt-show.c
- nest/rt-table.c 201 additions, 313 deletionsnest/rt-table.c
- sysdep/unix/krt.c 2 additions, 5 deletionssysdep/unix/krt.c
Loading
Please register or sign in to comment