Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - allocating memory for mbuf: Page 1 of 3 (3 Items)
   
allocating memory for mbuf  
Hi ,
   1. Do we neet to just use malloc to allocate memory for mbuf?  In io-net there are inbuilt functions on io-net 
structure for allocation and free. 

2. Since io-net is not available now for 6.4.0 and above, we don't have to use iov which was part of io-net for porting 
to io-pkt right?

3. At the porting point where I am right now makes me feel, that  the _iopkt_self structure usage in io-pkt is very 
minimal compared to _io_net_self usage in io-net. Even though we are using_iopkt_self struct in the entry function, 
looks like most of the functionality is for the thread handling.  

4. I have around 512 bytes of data to read from stack and do my modification and then put back on stack to send it to 
other machine. From high level its very simple, but when I looking at the structure usage, its getting more entangled in
 other complex manipulations. Can any suggest simple steps to achive this using the io-pkt features and functionality.

Thanks
Vinod