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 - Change packet size in the pfil hook: (1 Item)
   
Change packet size in the pfil hook  
Hi, does anybody knows is it possible to change tcp/udp packet size inside the packet filter hook?

I'm trying to add my data to the end of tcp payload, I use m_append function and as I see the mbuf is really contains my
 data after appending, but the server receives the original sized package without my data.

Also I tried to allocate a separate mbuf with my additional data and then to concatenate it with original buffer use 
m_cat, but it also didn't work.

Is it even possible?