[ndnSIM] Question about How to Modify Packet Format and Producer Processing for the Packet

Xinyu Ma bitmxy at gmail.com
Sun Sep 1 22:59:57 PDT 2019

Hello, Ookuma san,

> On Sep 1, 2019, at 10:48 PM, 大熊 浩也 <okuma at stu.kobe-u.ac.jp> wrote:
> Hello everyone.
> I have some problems that I have to solve quickly.
> Could you give me some advice?
> (Let me apologize for my poor English and Technical capabilities)
> ・How to Modify Interest Packet Format and Producer Processing for the Packet
> I am studying the combination of ICN and coding network.
> I'm thinking consumers send a single Interest packet that contains a request file name and file names that can be decrypted by using the contents of consumers own content store.
> (Since the producer will only return one of the requested files, it may be difficult for the producer to process if the consumer sends multiple Interest packets?)
> So I want to store multiple request packet names in Interest packets.

I’m sorry I don’t quite understand this. If you want multiple files, why not just send out multiple packets?
I don’t think merging Interests is a good idea because it will make the Content Store useless.

> I would appreciate it if you could tell me about the modification of the process that the producer does.
If you still want to put multiple file names into a single Interest, one thing you can do is pack them all into a GenericNameComponent.
You need to write Consumer/Producer app yourself to do so. Please refer to /ndnSIM/apps/ndn-consumer.cpp & ndn-producer.cpp.

> I would appreciate it very much if you could advise me anything.
Please let us know if you have further questions.

Best wishes,
Xinyu Ma.

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

More information about the ndnSIM mailing list