#include <RouteEntry.h>
Used for the route table itself and for what is returned in get_matching().
Definition at line 128 of file RouteEntry.h.
Public Member Functions | |
void | sort_by_priority () |
Sort the entries in the vector in descending priority order, i.e. |
void dtn::RouteEntryVec::sort_by_priority | ( | ) |
Sort the entries in the vector in descending priority order, i.e.
the highest priority first. In case of a tie, select the link with fewer bytes in flight.
Definition at line 193 of file RouteEntry.cc.
References end.
Referenced by dtn::TableBasedRouter::fwd_to_matching().