Davide Pesavento
e422f9e1e9
Refactor and modernize namespace declarations
...
Move all unit tests to namespace nfd::tests
Delete unused header core/algorithm.hpp
Change-Id: I5591f0c5f3bb5db67f8b45fae95471f8a555ca68
2022-06-11 20:10:26 -04:00
Davide Pesavento
a3a7a4e330
Use more C++17 features
...
Mainly structured bindings, inline variables, and class template
argument deduction, plus many more smaller things.
Change-Id: I810d17e0adb470426e4e30c898e03b3140ad052f
2022-06-04 20:26:02 -04:00
Davide Pesavento
412c982a63
Reduce usage of std::bind()
...
C++14 lambdas are easier to read, easier to debug,
and can usually be better optimized by the compiler.
Change-Id: I294f275904f91942a8de946fe63e77078a7608a6
2021-07-02 00:21:05 -04:00
Teng Liang
f3bc3ae906
face: remove EndpointId from egress APIs
...
This commit partially reverts 075bb7dac4
refs: #4843 , #4973
Change-Id: Iab92addff2bd0fa1e24100d43f9f7076ee84a3f8
2020-06-08 22:06:23 -07:00
Eric Newberry
cb6551e96f
face: allow GenericLinkService to override MTU
...
refs #5056
Change-Id: I8eb2dd732b1431e0e809deb53792a14be1698ff1
2020-03-29 16:08:06 -07:00
Eric Newberry
32f7eac7cd
face: deduplicate received LpPackets with reliability
...
refs #5079
Change-Id: I19ad959ba736253a750997fa468d419c93425686
2020-02-20 15:23:25 -08:00
Eric Newberry
5ab4cf83d9
face: add logging to LpReliability
...
refs #5080
Change-Id: I2dce3f9d933273cb65603c7cd2177c5d142f4487
2020-02-09 22:06:58 -08:00
Eric Newberry
f3ee808927
face: support runtime MTU changes on Ethernet faces
...
refs #3257
Change-Id: I160fe444b889b8f7be19022a2bd52bbc9f7a21aa
2020-02-09 14:34:00 -08:00
Klaus Schneider
380668b6e2
face: Make congestion marking less aggressive
...
Implement something closer to the CoDel Algorithm (RFC 8289)
Refs: #5003
Change-Id: I909975e7ae1c50d08561a001b67cd9c2c2f150b1
2019-10-05 19:14:39 -07:00
Junxiao Shi
606d5ddc9e
face+fw: store and return PitToken from downstream
...
refs #4532
Change-Id: I97b95232a242186601459622f17983d1bef806d6
2019-09-23 12:47:44 -06:00
Davide Pesavento
b3a23ca711
face: eliminate Transport::Packet wrapper type
...
Refs: #4843
Change-Id: I5977be55e8bdac33c989e3b8523fea764f304c37
2019-05-07 00:32:57 -04:00
ashiqopu
075bb7dac4
face: add EndpointId in Face and LinkService
...
refs: #4843
Change-Id: If1249015392ef904a56a0d0d97946e2b3024d7d4
2019-05-02 06:04:43 +00:00
Davide Pesavento
a809858c53
tests: merge DummyFace::LinkService with DummyReceiveLinkService
...
Change-Id: I0b45d80055085278bbe028ef95898d68c6e3f824
2019-04-01 22:23:13 -04:00
Davide Pesavento
e4b2238b33
Improve and simplify code with modern C++ features
...
Change-Id: I83bf5513c2a1f90ba5a59e93c473306864b27d94
2018-06-11 20:26:47 -04:00
Davide Pesavento
a3148081ce
core: reimplement logging using ndn-cxx's facility
...
Change-Id: Ifc7c5d70a61ad405dc1f1adfa522a2c0ad1586ab
Refs: #4580
2018-05-05 23:04:22 -04:00
Teng Liang
fdcbb4d0ef
face: support NonDiscovery and PrefixAnnouncement in GenericLinkService
...
Change-Id: I2b9577203274d28b374ebfd6a8154b5398b8ec57
Refs: #4280 , #4355
2018-02-18 11:23:56 +00:00
Eric Newberry
b49313db62
face: congestion detection in TCP, UDP, and Unix socket transports
...
refs #4362
Change-Id: Idaa5d65e1f33663d95bad56de42640183b2cda6d
2018-01-14 17:50:01 -07:00
Eric Newberry
41aba10d3d
fw: add strategy notification for Interests dropped by LpReliability
...
add dropped Interest counter to faces
refs #3823
Change-Id: I9910b66932d74383203e8f3732bb45cade83b972
2017-11-20 18:10:52 -08:00
Eric Newberry
7b0071e6a9
face: Acks acknowledge TxSequence instead of Sequence
...
refs #3931
Change-Id: I83919fe815c2a43e47eb09d754f77166c051d013
2017-07-09 07:31:51 -07:00
Junxiao Shi
6eb0271fae
face: decode CachePolicy without requiring allowLocalFields
...
refs #3966
Change-Id: I9a0f3c72682a6bc66f8852f115789a450a168223
2017-05-27 22:48:02 +00:00
Eric Newberry
73bcad33b9
core: make SizeCounter use pointer instead of reference
...
Restore virtual inheritance of GenericLinkServiceCounters in
GenericLinkService
refs #3941
Change-Id: I368e4694fee7bc97173fddfc81d0c679da0d6eed
2017-04-27 18:53:34 -07:00
Eric Newberry
185ab29325
face: add best-effort link-layer reliability
...
refs #3931
Change-Id: I009fabe000f4dd4ceb62acab6b0c735c13112430
2017-03-28 06:45:39 +00:00
Eric Newberry
ee400b5235
face: GenericLinkService encodes and decodes CongestionMark field
...
refs #3797
Change-Id: Ia6b00a36f3e7ed9ec98e41dee7e2f97eaf235ddd
2016-11-24 14:12:48 +00:00
Junxiao Shi
cbc8e947bf
daemon+rib: add proper #include line for NDNLPv2 tags
...
refs #3755
Change-Id: I3ab279405aca7c7139e8d0e8e662eb3ea7200045
2016-09-06 03:17:45 +00:00
Junxiao Shi
0de23a29c5
face: use IncomingFaceId, NextHopFaceId, CachePolicy tags
...
This commit replaces all LocalControlHeader usages with these tags,
and deletes LocalFace.
This commit also does minor improvements in RIB test suites.
refs #3339
Change-Id: I14cbfc296a6723a5860bf8bd95d9804d3bac3da5
2015-12-03 20:07:02 +00:00
Eric Newberry
4c3e6b89a1
face: NDNLPv2 fragmentation and reassembly
...
refs #3171
Change-Id: If29035b697b904ee49cb86d9248be488657c6f9e
2015-11-13 15:47:59 -07:00
Eric Newberry
a1939ba993
face: GenericLinkService drops IDLE packets
...
refs #3249
Change-Id: I3d16bcf29f4858049d1040a3e421e1c7151b3fed
2015-10-09 21:28:19 -07:00
Eric Newberry
86d3187d9b
face: GenericLinkService encoding/decoding
...
refs #3104
Change-Id: I26e83cd1dd5dc87ebdc040105ab1bad4afdba5f7
2015-09-26 14:37:51 -07:00
Eric Newberry
a98bf93a25
face: Refactor Face as LinkService+Transport
...
LpFace: new Face implementation
LpFaceWrapper: allows new Face system to work with old Face system
Eventually, LpFace will be renamed to Face and LpFaceWrapper will be removed.
refs #3088 #3179
Change-Id: Ia4ad7c84631e65b444d4f24e1d7593392927c8db
2015-09-26 13:40:17 -07:00