Re: Protocol handler using dev_add_pack

2012-07-12 Thread Jerry Yu
from skbuff.h in 3.2.0-26. I may have to create similar functions by myself. Thanks again, Jerry On Wed, Jul 11, 2012 at 11:17 AM, Eric Dumazet wrote: > On Wed, 2012-07-11 at 10:38 -0300, Jerry Yu wrote: >> I am working on a kernel module to monitor all TCP packets. I created a &g

Re: Protocol handler using dev_add_pack

2012-07-12 Thread Jerry Yu
from skbuff.h in 3.2.0-26. I may have to create similar functions by myself. Thanks again, Jerry On Wed, Jul 11, 2012 at 11:17 AM, Eric Dumazet eric.duma...@gmail.com wrote: On Wed, 2012-07-11 at 10:38 -0300, Jerry Yu wrote: I am working on a kernel module to monitor all TCP packets. I created

Protocol handler using dev_add_pack

2012-07-11 Thread Jerry Yu
I am working on a kernel module to monitor all TCP packets. I created a protocol handler with protocol code ETH_P_ALL to handle all incoming and outgoing TCP packets. The code worked fine on 2.6.14 kernel, but in current 3.2.0-26 kernel, I am no longer able to get the TCP payload for outgoing

Protocol handler using dev_add_pack

2012-07-11 Thread Jerry Yu
I am working on a kernel module to monitor all TCP packets. I created a protocol handler with protocol code ETH_P_ALL to handle all incoming and outgoing TCP packets. The code worked fine on 2.6.14 kernel, but in current 3.2.0-26 kernel, I am no longer able to get the TCP payload for outgoing