[ndnSIM] how to add new fields in Data packet

5 project project5.is.tus at gmail.com
Mon Nov 27 02:25:36 PST 2017


Thank you for the advice.

After adding tag, what should I write in the scenario file?

Thank you for reading.

2017-11-19 13:13 GMT+09:00 Spyridon (Spyros) Mastorakis <
mastorakis at cs.ucla.edu>:

> Hi,
>
> please take a look at these commits, where we add the hop count as a tag
> to the returned data packets:
>
> https://github.com/named-data-ndnSIM/ndnSIM/commit/
> 73df9f587e1c16c4f67a0053fe29b68f523ff138
> https://github.com/named-data-ndnSIM/NFD/commit/
> 9253fad76a7d90670d9822b7dca655e45c99b70e
> https://github.com/named-data-ndnSIM/ndn-cxx/commit/
> 9a738054b6bc23c5d1d19d53e7225b46c0693211
>
> Thanks,
>
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> Computer Science Department
> UCLA
>
> On Nov 17, 2017, at 8:38 AM, 5 project <project5.is.tus at gmail.com> wrote:
>
> Thank you for your reply.
>
> I saw these links before, but I could not understand it.
>
> For example,
> https://lo.calho.st/networks/adding-custom-packet-fields-
> to-packets-in-ndnsim-2-3-without-forking-the-entire-repository/
> They are doing from the tag definition, but what file should I define tags
> with?
>
> I look forward to your reply.
>
> Thank you for reading.
>
> 2017-11-16 10:34 GMT+09:00 Spyridon (Spyros) Mastorakis <
> mastorakis at cs.ucla.edu>:
>
>> Hi,
>>
>> this issue has been discussed a few times already on the list. Please
>> take a look at the following links:
>>
>> http://www.lists.cs.ucla.edu/pipermail/ndnsim/2015-July/002039.html
>> http://www.lists.cs.ucla.edu/pipermail/ndnsim/2014-December/001445.html
>> https://lo.calho.st/networks/adding-custom-packet-fields-to-
>> packets-in-ndnsim-2-3-without-forking-the-entire-repository/
>> http://www.lists.cs.ucla.edu/pipermail/ndnsim/2017-May/003739.html
>>
>> Thanks,
>>
>> Spyridon (Spyros) Mastorakis
>> Personal Website: http://cs.ucla.edu/~mastorakis/
>> Internet Research Laboratory
>> Computer Science Department
>> UCLA
>>
>> On Nov 15, 2017, at 1:18 AM, 5 project <project5.is.tus at gmail.com> wrote:
>>
>> Hello.
>>
>> I would like to add a new field to store the node that sent data to the
>> data packet.
>>
>> How do I extend a file to add a new field to a data packet?
>>
>> thank you for reading.
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171127/5b965f2a/attachment.html>


More information about the ndnSIM mailing list