overriding ARP protocol in module

Daniel P. Zepeda (dpz@pobox.com)
Sun, 26 Sep 1999 23:10:37 -0500


Hello,
I sent a message to this list a few weeks ago about creating a
module to modify the behaviour of the ARP protocol, as I'm helping to
experiment with different routing protocols in this manner. I got several
suggestions, one that I liked the best was to use dev_add_pack() to
register my module as the handler for that particular type of packet.

My new question is, when I insert my module and it registers to
handle ARP packets, doesn't the original ARP code get the packet as well?
Would it be better to hook my module in through
register_firewall() instead? As I understand it, this would then bypass the
original ARP code completely, is that correct?

--
Daniel P. Zepeda
dpz@pobox.com

"In complete darkness, we are all the same. Only our knowledge and wisdom
separates us there." -- J. Jackson

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