Home > OS >  How to write a module to realize the eth0 on port receive packets sent to the port on eth1?
How to write a module to realize the eth0 on port receive packets sent to the port on eth1?

Time:10-16

Suppose I host has 2 ports and eth0 eth1, now need to write a module to implement will receive packets sent to the eth0 eth1,
Please expert guidance, through the way of hook can be achieved? Or other better ways, please feel free to comment, thank you very much!
  • Related