Commit Graph

3 Commits

Author SHA1 Message Date
Junxiao Shi d47cd63b1b rib: put PrefixAnnouncement in Route and RibEntry
refs #4650

Change-Id: I03a846cd6e013d52f080bd7b092cd392b0284f88
2018-09-11 03:10:00 +00:00
Junxiao Shi 3f21e58a58 rib: simplify Route class
Route::expires is changed to an optional, with nullopt representing
"never expires". This avoids an integer overflow.

RouteFlags accessors are now provided by ndn::nfd::RouteFlagsTraits.

Stream insertion operator is improved.

refs #3502

Change-Id: Ia912eab771fb00020385bf84d486955feae6aafa
2017-05-29 15:26:32 +00:00
Vince Lehman 76c751ce80 rib: Perform FIB updates before modifying RIB
refs: #1941

Change-Id: I1457f71ddd1c120daae48308d5cc02a7c0ecf93d
2015-03-13 19:57:39 -07:00