Commit Graph
106 Commits
Author SHA1 Message Date
Davide Pesavento f8d9a531dd Eradicate all uses of std::bind()
Change-Id: I6e1ccf2d87b76142e6d519c1a288d03022e4d167
2021-07-30 20:35:06 -04:00
Davide Pesavento a0e6b60e8f Cleanup includes in common.hpp
Change-Id: I1bb08a44726de5c880e6bc2f016506e6083e919b
2021-01-21 19:47:04 -05:00
Davide Pesavento 6677762595 tests: sync common testing infrastructure with ndn-cxx and NFD
And upgrade waf to version 2.0.21

Change-Id: Id713e0f3035badd97ca7fc03f76e50085b9a266c
2020-11-24 15:18:18 -05:00
Davide Pesavento 352755871f tests: avoid deprecated Data::getSignature()
Change-Id: Ica204fe6cd60f070b49f9ec5b72c0f68a32065d6
2020-07-27 18:02:03 -04:00
Alexander Afanasyev 28181ee93a Adjust includes for the updated locations of ndn-cxx security headers
Change-Id: Ia4a82d7a4a56bfa88e62adab6a1e31bbe459e773
2020-06-06 17:53:32 -04:00
Davide Pesavento b07d7a96da build: align minimum build dependencies with ndn-cxx
* Recommend boost >= 1.65.1 and gcc >= 7.4.0
 * Require clang >= 4.0, or Xcode >= 9.0 on macOS
 * Silence an ABI-related diagnostic message from gcc on armv7

Refs: #5087, #5106
Change-Id: I88ef0e0f183736f19ac414a84baebb0e1073381b
2020-05-14 02:25:24 -04:00
Davide Pesavento 4ab5eed35d tests: fix ndndump unit tests with latest ndn-cxx
Change-Id: Ib2a149266644cb40780e1c34b9885c70d31829b2
2020-03-12 20:50:04 -04:00
Davide Pesavento a8600b0a6a tests: avoid deprecated boost headers; define BOOST_TEST_MODULE
Change-Id: Ie1e731e0943e635be36d65ea0dc02c348c17f05a
2019-12-22 18:52:36 -05:00
Klaus Schneider 4a2e89d88f catchunks: Improve CUBIC performance for lossy networks
Change-Id: I4baea5dcbc02d5c4a989330603e059daa55e767f
refs: #5036
2019-10-29 19:33:16 -07:00
Davide Pesavento 296b385c58 catchunks: add --no-version-discovery option
Refs: #5021
Change-Id: I37bb1f86c1a6d63ab28fbe116e75d1047c110217
2019-10-20 16:00:16 -04:00
Davide Pesavento 97a33b200d catchunks: simplify internal options handling
Change-Id: I537a281f6c996c2544c145ab9cc01a54272c8efa
2019-10-18 12:51:10 -04:00
Davide Pesavento 327fb4b0fd dump: update test cases for packet format v0.3
Refs: #4567, #4709
Change-Id: If14cfb8221182aa2c79add024108d5e3a21a189f
2019-10-14 19:01:27 -04:00
Davide Pesavento c214e073d8 peek: add --hop-limit option
Change-Id: I1d0179f498ce70166085e6934e015ff4c00b4858
2019-08-22 20:46:30 -04:00
Davide Pesavento 9602823383 peek: add --app-params and --app-params-file options
Change-Id: Ic1afb118d2e1a58d99d046e072a9df439e0020b3
2019-08-22 20:45:40 -04:00
Davide Pesavento 5e3773dd5a catchunks: switch to RttEstimatorWithStats
Refs: #4887
Change-Id: I8d49eff6ff4a7dc9ff49ffacc0744e50695128d2
2019-08-22 15:35:08 -04:00
Davide Pesavento 6a1396e2e0 poke: rename -f/--force option to -u/--unsolicited
The old name will still be accepted for some time,
but will print a deprecation warning if used.

This commit also improves --help output.

Change-Id: I2ebac82423a5276109f4b40b382312bd852419de
2019-07-26 19:05:45 -04:00
Davide Pesavento c5243b40f4 poke: don't respond if the Interest cannot be satisfied
Change-Id: I616e974ff041a4a2c9fd738e98c83c28a21a47de
2019-07-26 13:30:16 -04:00
Davide Pesavento 94dff006fc poke: exit with status 3 on timeout
Change-Id: Idb021fe1fa1c3d40dbcfc87d4b1dadbea6cb28f6
2019-07-25 19:20:22 -04:00
Davide Pesavento 87434bef4b poke: exit with status 5 if prefix registration fails
Change-Id: I2147570c37146011c9a4e8c024b74bcafdf18e4e
2019-07-25 19:04:23 -04:00
Davide Pesavento e75861eddb poke: code modernization and cleanup
Change-Id: Ia0d5f0b1bc495636f8fac127bec735cc35af66a7
2019-07-25 17:41:09 -04:00
Davide Pesavento ba56066683 catchunks: adapt to recent RttEstimator API changes
Refs: #4887
Change-Id: Ie39a1c5f7ad8b225397f41bb0f3c4d7c2a9cdb2a
2019-06-26 22:48:14 -04:00
Davide Pesavento 65d115569e peek: code modernization and cleanup
Change-Id: I42d706aa02ab03557d708c729f65716c1c2d3494
2019-06-24 20:46:35 -04:00
Davide Pesavento 70576403fe catchunks: use ndn-cxx's RttEstimator
Refs: #4887
Change-Id: If24bea40a22909bf0fd9e49ec7b18330dbe336f2
2019-06-07 16:42:21 -04:00
Junxiao Shi 9619295e9e tests: add FreshnessPeriod where MustBeFresh is used
refs #4913

Change-Id: I72366c3d84072bae61716b0cc229470124a2a0d5
2019-05-22 15:45:12 +00:00
Davide Pesavento 84d8477ae6 catchunks: get rid of the last few remaining uses of Selectors
Refs: #4556
Change-Id: Ibe0e909c21b57aaa47c325bdef5852cb5e38482b
2019-04-08 19:00:25 -04:00
Davide Pesavento 105cd9e3a2 Parameters => ApplicationParameters
Refs: #4658
Change-Id: I8b69ab5e27612eecf068c6bf0ddb4b434cc29824
2019-04-08 19:00:01 -04:00
Chavoosh Ghasemi bb2d280580 catchunks: remove modular version discovery
refs: #4832, #4556
Change-Id: I99b4f42d1457c74321c9b6ae84f793a93c4c1436
2019-03-29 08:54:24 -07:00
Klaus Schneider 9e5122bafc catchunks: Implement CUBIC window adaptation
Also increase the RTT estimator multiplier k to 8.

Change-Id: I68c5096ac0da854f071bab5f7519b1c144f20ca1
refs: #4861
2019-03-21 20:03:34 -07:00
Davide Pesavento e4687a1d57 Remove abandoned ndn-pib tool
It has been broken and unmaintained for more than two years

Refs: #4205
Change-Id: I221c2b7f58a46ecd929241aff63199e059afd754
2019-03-18 18:23:42 -04:00
schneiderklaus d8197df500 catchunks: refactor in preparation for CUBIC pipeline.
Rename AIMD pipeline to "Adaptive Pipeline".
Remove "aimd-" from command line options.

Change-Id: Ie5689cf3c0b90bedb322fd42dbf289f8a04e56d2
refs: #4861
2019-03-17 22:50:57 -07:00
schneiderklaus 8ff3abde93 catchunks: increase retx limit and improve statistics
Increased the retx limit from 3 to 15 (default in Linux TCP).
Added statistics about skipped retransmission.
Cleaned up statistic output.

Change-Id: I66ce9ac9fa08f7492f84bec48b7464ddb1228ab1
refs: #4861 #4603
2019-03-15 19:45:37 -07:00
Chavoosh Ghasemi 0c6fcb58ba catchunks: remove iterative version discovery method
refs: #4556
Change-Id: I22f35ea3c96a9eea32d478b13a52f9b3fba8442f
2019-03-06 08:40:48 -08:00
Chavoosh Ghasemi d8f9af2689 catchunks: add metadata-based version discovery
refs: #4556
Change-Id: I1100d1a4f14da8e66d190a7909185d67f7aa92a7
2019-03-01 12:45:17 -08:00
Chavoosh Ghasemi 5cb67014d3 catchunks: pass versioned name to onDiscoverySuccess signal
refs: #4556
Change-Id: I599bafcf70647bd806236f87f24d7a22f73a3505
2019-02-26 16:06:27 -08:00
Davide Pesavento 7b9837bbda dump: fix compilation on CentOS 7
Refs: #4852
Change-Id: I2550d26f709f645ee3d6b2e0f63a6698525e1a76
2019-02-26 02:00:14 -05:00
Davide Pesavento ae37cf3eab build: do not look for unneeded libraries
Also a few cleanups in wscripts

Change-Id: Ia5b470d4adcf5697d8c0a31ba1204e5355951308
2019-02-20 18:19:22 -05:00
Davide Pesavento 252b70708d dissect-wireshark: update Interest Parameters TLV type
Refs: #4780
Change-Id: I4c1d2f50cd7355b273e5d63b7acc1af15b87344d
2019-02-10 20:02:14 -05:00
Chavoosh Ghasemi 79991a0660 putchunks: respond to RDR discovery Interests
Change-Id: Id1039246304a3069f158aecf21724568db434958
refs: #4556
2019-02-02 21:41:19 -08:00
Ryan Wickman 2c9933c94f chunks: fix impossible RTT values
Change-Id: Ia7386c6186362be5c50ea291a949fd40ec0224b4
Refs: #4604
2018-10-14 18:26:34 -04:00
Junxiao Shi 20d5a0b9fd ping: set CanBePrefix=false
This commit also sets CanBePrefix in ndndump and ndnpoke tests.

refs #4581

Change-Id: Ie91839426acc02f1879495312ad7ef131e8dac57
2018-08-14 09:26:11 -06:00
Davide Pesavento 2bdda1d185 pingserver: add --quiet option
Change-Id: I7e61383e587044fd65a50e4dee58a020d3b292ad
Refs: #4673
2018-08-09 19:35:49 -04:00
Davide Pesavento 5923bf814b pingserver: code cleanup
Change-Id: Ifdb75174f54aa26619594d4f1b919396a1012998
2018-08-09 18:53:45 -04:00
Davide Pesavento 0ca7e69023 dump: add IPv6 support
Change-Id: Id9d10cf1080d2d7f98e9a48216c6564c6bbf8607
Refs: #3861
2018-08-05 02:21:06 -04:00
Davide Pesavento f912653a7b dump: stricter parsing of IP/TCP/UDP headers
Also make the tool output more compact

Change-Id: Ia29806596f6da16e65c6ee1087bac3c7177fe971
2018-08-04 18:31:06 -04:00
Davide Pesavento b6b176c7b9 dump: refactor packet parsing code into per-protocol functions
Change-Id: I96af9cb6397e34dde401ba38964601fb50ce4960
2018-08-02 21:51:08 -04:00
Alexander Afanasyev 4fb67ea932 dissect-wireshark: Add support for dissecting PPP frames
This commit also fixes Info column output: before this change, the
column was showing KeyLocator name for data packets, instead of name of
the data packet.

Change-Id: I742d943662916072b1f08ff6050564ff34a698b4
2018-08-02 08:18:28 -06:00
Davide Pesavento d1b1bf6666 dump: handle exceptions thrown by lp::Packet::wireDecode()
Change-Id: Ia3bd8a4f57c70313a589c197ee453f517664ec43
Refs: #3943
2018-07-26 18:27:16 -04:00
Davide Pesavento b5b8f95024 dump: add -t option to suppress printing per-packet timestamp
Change-Id: I4e0e44c62451629428d2d065692a0cb497a9203a
2018-07-26 18:25:47 -04:00
Davide Pesavento ecd44803c7 dump: code cleanup
Change-Id: Ib0978d590dd033ee3e747f5987aa3f63af3d0faf
2018-07-25 03:05:37 -04:00
Eric Newberry 468dbdf326 poke: use unsetInterestFilter on Face instead of shutdown
refs #4642

Change-Id: I7b73c7bcde0763226a15d465046db2f4b7bb9b05
2018-06-23 23:36:09 -07:00