Commit Graph
16 Commits
Author SHA1 Message Date
Davide Pesavento 79482ec462 dissect: add signed Interest fields and more name component types
Change-Id: Id009dbf254e17e7fc497385ca6868ae085abb82f
2021-11-24 21:07:36 -05:00
Davide Pesavento a420e97fed dissect: no longer dissect Content element by default
Use the new -c/--content option to enable it

Change-Id: Id5692b53a0921918bb029ad653b9f5504ab5e4ab
2021-02-25 18:25:26 -05:00
Davide Pesavento 3f588caea2 dissect: do not try to dissect the TLV-VALUE of SignatureValue
Change-Id: Idd3fce801d7ca7f0bc8a8c8972ceea43c2735c18
2021-02-24 15:48:33 -05:00
Davide Pesavento 7ef5cf7f24 dissect: use Unicode characters to draw the TLV tree on the terminal
Change-Id: If92176528361cb57f5e5a0a31a9c501d7fff54e7
2021-01-29 00:20:24 -05:00
Davide Pesavento 9b1fd4b332 dissect: print offset of parsing error
Change-Id: I2209a16330e513b46abe2dfcc57ca780b3478b82
2021-01-26 22:16:02 -05:00
Davide Pesavento a0e6b60e8f Cleanup includes in common.hpp
Change-Id: I1bb08a44726de5c880e6bc2f016506e6083e919b
2021-01-21 19:47:04 -05:00
Davide Pesavento 105cd9e3a2 Parameters => ApplicationParameters
Refs: #4658
Change-Id: I8b69ab5e27612eecf068c6bf0ddb4b434cc29824
2019-04-08 19:00:01 -04:00
Davide Pesavento da85e25e59 Rename translation units containing main() to main.cpp
Also unify style of argv declaration

Change-Id: I1dcb8689b1cd38e042a0b1f05be7f98bd2d487ed
2019-03-18 18:24:20 -04:00
Davide Pesavento a2d4b1480b dissect: recognize CanBePrefix, HopLimit, Parameters
Change-Id: Iba04c0d569348e5d138891ee11815d220aefb1af
Refs: #4590
2018-04-23 11:30:51 -04:00
Alexander Afanasyev 20c85cb868 build: Cleanup and update of build scripts
Change-Id: I7fb5b8696d3b068249ae16b117bd27646d990dc3
2018-03-11 17:16:15 -04:00
Davide Pesavento c07027069f Fix compilation with Boost 1.65.0
Also sync default-compiler-flags.py with NFD

Change-Id: Ib39118567428e8fe2ac73f2b7cbd96fe1a9598b8
Refs: #4259, #4248
2017-08-25 23:43:02 -04:00
Junxiao Shi 3ebb9cb728 dissect: warn when specified file cannot be opened
refs #3539

Change-Id: Ife650100469e1123f0f6610a25422e98020f1f49
2016-11-23 14:58:55 +00:00
Davide Pesavento 89d9175e7c build: add waf-tool to simplify building with AddressSanitizer & friends
Change-Id: If36e52f5e49d94ad5846165c50504d06d7d3c4d0
Refs: #2589
2016-08-14 11:34:09 +02:00
Junxiao Shi b2ff573fc4 dissect: add README and manpage
refs #2931

Change-Id: Ia0418fbf50725f004ceb09bcff9a55fb6136a70c
2015-06-26 14:09:02 -07:00
Junxiao Shi 78c78cc91a dissect: improve dissect program
This commit improves ndn-dissect program as follows:

* Functions are organized into NdnDissect class.
* The class is placed into namespace ndn::dissect.
* The main function is moved to main.cpp.
* Indentation is provided by ndn::util::IndentedStream.
* Command line parsing uses Boost.Program_options.
* -h and -V command line options are supported.

refs #2848

Change-Id: Ib12584f455910128662ed3f59631d13db52a2cf8
2015-06-19 15:53:53 -07:00
Junxiao Shi e5adbfd316 dissect: import code from ndn-cxx repository
Code is copied from ndn-cxx:commit:6f7cfd02d250721567dbe88cf64f24867ba32262,
with minor changes for changing include paths.

refs #2848

Change-Id: I240346d351123ff1284598d95839a2cfa79254f6
2015-06-18 14:42:06 -07:00