using skbuff in kernel module

From: cranium2003 (cranium2003_at_yahoo.com)
Date: 11/23/04

  • Next message: Joakim Bentholm XQ (AS/EAB): "PROBLEM: Compatibility problem with C++, i386 & ia64 platform"
    Date:	Tue, 23 Nov 2004 04:50:20 -0800 (PST)
    To: netfilter devel <netfilter-devel@lists.samba.org>
    
    

    Hello,
             I want to add new header between IP and
    ETHERNET layer. I want to ask can it be done using
    netfilter hooks?
             Can skb functions (skb_reserve, skb_push
    ,skb_pull)be allowed to use in kernel module so that i
    can add at NF_IP_LOCAL_OUT and pull my own header at
    NF_IP_LOCAL_IN?

    regards,
    cranium

                    
    __________________________________
    Do you Yahoo!?
    Meet the all-new My Yahoo! - Try it today!
    http://my.yahoo.com
     

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Joakim Bentholm XQ (AS/EAB): "PROBLEM: Compatibility problem with C++, i386 & ia64 platform"

    Relevant Pages

    • finding process blocking on a system call
      ... if a semaphore key is not ... in the kernel module. ... Do you Yahoo!? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re : Re: Intercepting system calls in Linux kernel 2.6.x
      ... I want to do this from the kernel module. ... Do you Yahoo!? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • printk output to file
      ... kernel module to a file. ... Do You Yahoo!? ... Mail has the best spam protection around ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Compiling C++ kernel module + Makefile
      ... I am trying to port a C++ kernel module from 2.4 to ... I have got the Makefile to compile it but it ... Do you Yahoo!? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • how netfilter handles fragmented packets
      ... then fragmented packet has not gone through netfilter ... travel through netfilter hooks? ... The all-new My Yahoo! ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)