aboutsummaryrefslogtreecommitdiffstats
path: root/apps/iping/iPing_Common.c
AgeCommit message (Collapse)AuthorFilesLines
2018-02-26Removed old iPing application.Mauro Sardara1-63/+0
New apps added: iping-client: ping client that provides statistics regarding the rtt and the losses. It allows to configure the ping interval, the interest lifetime, the ttl and the name. iping-server: simple server replying to icnet-ping-client. It allows to configure the reply size and the name. Change-Id: I6b08333147acfaffd8becacb48f27f6c42dbeeb9 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2017-03-06This commit solves some little bugs in the iPing application.Mauro Sardara1-1/+1
1) The client sends to the server a name containing (among the other things) the size of the ContentObject the server has to reply to the client. The problem is that the Server is expecting to find this size always at the same position in the name inside the interest; if the client sends an interest with a name that matches the FIB but is not exactly the name the server is expecting (e.g. ccnx:/ping/a instead if ccnx:/ping), the server reads the wrong segment (not the one with the size) and sends out a content object with an undefined size. 2) The maximum payload size of a content object is 64000. This causes fragmented packets to not be processed by the forwarder itself if they are coming from a remote connection. A quick fix consists in setting the max payload size of a content object to 1400. So the max size of a content object should be 1400 and not 64000. Change-Id: Ib555b7beb3cfe9172904bd63b8e3a76fe3f71a50 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
2017-02-22Initial Commit: libicnetMauro Sardara1-0/+63
Change-Id: I10a72cb0d84b76553a85c168416b847f6a4ff5f6 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>