In the paper which i am implementing,they have inserted a module at MAC layer and an agent at IP layer. Are agent and module one and the same??? How to insert the module at MAC layer and agent at IP layer?