Thanks for your reply. First thing is that I do not want to modify the
existing cifs driver.
I have my own virtual Ethernet driver, where the skb buffer is available to
parse. Now,
I want to extract the cifs header from this skb buffer, and based on the
cifs header contents
( mainly I am looking for return status), I have to redirect the packet to
different destination.

Thanks,
Ramana.


On Mon, May 26, 2014 at 12:34 PM, <[email protected]> wrote:

> On Mon, 26 May 2014 12:21:12 +0530, Ramana Reddy said:
>
> > I would like to know how to extract the cifs protocol header from skb
> > buffer in the linux
> > kernel. I want to parse the cifs header and do some stuff based on the
> > content of the header.
>
> Depending what you are trying to do, it may be best to add your code
> to the CIFS driver at the points where the driver is examining the
> header fields in question.
>
> What "do some stuff" are you trying to achieve?
>
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to