[Click] expensive push in kernel mode

Giovanni Di Stasi gdstasi at yahoo.it
Mon Jul 9 10:31:29 EDT 2007


Hi again,
I'm having a problem with push_expensive. I'm
compiling Click as a kernel 
module and I've developed an element which adds an
extra header to packets.
In usermode, I managed to get rid of those expensive
push modifying the 
HEADROOM parameter of KernelTun. Now I'm using
FromDevice in kernel space. 
How can I do that? Do I have to modify somewhere in
the linux kernel?

Another question: how can I look up the Linux's Ip
routing table from Click in 
kernel mode? (LinuxIPLookup doesn't work in kernel
space)

Thanks.


      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html


More information about the click mailing list