Greetings,
I need to build a module that is able to filter the incoming Ethernet packets, I have two ideas:
1. When loaded it would deregister the all the protocol related modules, it would register itself as the handler for those protocols, after processing the packet it would send it to the respective module.
2. It registers itself as a handler for a general protocol, one that would have precedence so that all the packets get sent to my module first, after processing the packet it would send it to the respective module.
Which of those ideas makes more sense? any tips would help!!
Tx!
Augusto
|