Filter Module

Discussion in 'General Networking Discussion' started by augusto_met, Apr 7, 2011.

  1. augusto_met

    augusto_met

    Joined:
    Apr 7, 2011
    Messages:
    1
    Likes Received:
    0
    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
     
    augusto_met, Apr 7, 2011
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.