[ndnSIM] Default Interest packet size

Alex Afanasyev aa at cs.fiu.edu
Sun May 29 20:05:29 PDT 2022


There isn’t such thing. The size of Interest depends in what name you request and if you include other flags.  You can increase the size by simply requesting a longer name.

To get the actual size:
Interest i;
… add name and flafs
auto size = i.wireEncode().size();

---
Alex

> On May 29, 2022, at 9:16 PM, Sai Gautam Mandapati via ndnSIM <ndnsim at lists.cs.ucla.edu> wrote:
> 
> 
> Hi everyone,
> 
> I wanted to know the default size of one Interest packet in ndn, and is there any way I can change the packet size? Thanks.
> 
> -- 
> Sai Gautam
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim


More information about the ndnSIM mailing list