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

Adding a custom header



Hello,
I would like to add a new header between the IP
and MAC headers. I was wondering if any of you know
how you could do this and where is the best place to
add such a header??.
Could I do it at the NF_IP_POST_ROUTING hook??

I've already registered my new protocol ID and
receive function using
dev_add_pack(&pt_packet_type);

Thanks very much for your help,
Kevin



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/