libipq packet size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody


sorry for the newbies question.


I use libipq to implement a udp tunnel. (since SCTP cannot go through :-)

so basically the packet i get from QUEUE has to be modified / increased in size.

i create a new buffer for this. Everything works fine exept that when i return the packet with ipq_verdict i obtain a packet with the modified data but WITH ORIGINAL SIZE. i cant make it having the correct increased size.. so i have a truncated version of wat i expect.
It's weird since in the return function, i specify the new size. (which is different from the original m->data_len)


anybody can help me ??

thanks a lot

Cyrille



_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr/worldwide.asp




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux