[ndnSIM] How to add vector type tag to Interest/Data?

Hussein AlOmaisi alomaisi2004 at yahoo.com
Wed Jan 6 00:54:06 PST 2021


Hi,
In ndnSIM 2.8, there is a TLV type of GeoTag(as vector3d) in NDN LP which is a vector which can be add to Interest and Data packet. You can use it for your purpose or create a new one following the same logic of GeoTag.See the following links:https://ndnsim.net/current/doxygen/classndn_1_1lp_1_1GeoTag.html
https://ndnsim.net/current/doxygen/tags_8hpp_source.html
https://ndnsim.net/current/doxygen/fields_8hpp_source.html

https://www.lists.cs.ucla.edu/pipermail/ndnsim/2018-August/004924.html
I hope it helps.Best regards,

Hussein 
 
  On Wed, 6 Jan 2021 at 4:00 am, ndnsim-request at lists.cs.ucla.edu<ndnsim-request at lists.cs.ucla.edu> wrote:   Send ndnSIM mailing list submissions to
    ndnsim at lists.cs.ucla.edu

To subscribe or unsubscribe via the World Wide Web, visit
    http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
or, via email, send a message with subject or body 'help' to
    ndnsim-request at lists.cs.ucla.edu

You can reach the person managing the list at
    ndnsim-owner at lists.cs.ucla.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ndnSIM digest..."


Today's Topics:

  1. How to add vector type tag to Interest/Data? (Zhongxiang Zhu)


----------------------------------------------------------------------

Message: 1
Date: Mon, 4 Jan 2021 20:02:10 +0000
From: Zhongxiang Zhu <zzxfisher at gmail.com>
To: ndnsim at lists.cs.ucla.edu
Subject: [ndnSIM] How to add vector type tag to Interest/Data?
Message-ID:
    <CAKtiKCEdM=f=19kgPAhzuJcRYVJJEorEKGjHgY+ftrBrGz1JLg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I have attached uint64_t and string types as tags to Interest/Data, but I'm
trying to add a vector type tag as well.
In field-decl.hpp, DecodeHelper and EncodeHelper don't know about vector
type and there's no method defined for vector in block-helpers too.
Please help that how can I define my own in order to attach a vector tag.

Many Thanks
Zhongxiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210104/9ddbd21f/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim


------------------------------

End of ndnSIM Digest, Vol 98, Issue 1
*************************************
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210106/8298de7d/attachment.html>


More information about the ndnSIM mailing list