commit | e5a8b5a276cfbda168cd07f87807a75e9acb65c5 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Mar 15 15:15:26 2013 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Mar 15 15:42:15 2013 -0700 |
tree | a5475bf54c5deb2b145d5ce82530eeb98aa6dbf9 | |
parent | 73f06f68e314310e5ebfacb78dee7b85e97127b9 [diff] [blame] |
model: Extending FIB and PIT interface to include Find call to search for exact match of FIB and PIT entry
diff --git a/model/fib/ndn-fib-impl.h b/model/fib/ndn-fib-impl.h index 0755b35..57d7d50 100644 --- a/model/fib/ndn-fib-impl.h +++ b/model/fib/ndn-fib-impl.h
@@ -87,6 +87,9 @@ virtual Ptr<Entry> LongestPrefixMatch (const Interest &interest); + + virtual Ptr<fib::Entry> + Find (const Name &prefix); virtual Ptr<Entry> Add (const Name &prefix, Ptr<Face> face, int32_t metric);