I have written 2 modules which are netfilter hook based and work at the IP layer.
However I wan to now capture packets at the switch layer. Are there any hooks to capture at the switching layer.
Any references to code snippets would be appreciated.
Edit: What kind of Software does a managed switch like DELL switch run on. Isn't it Linux, then how does that software deal with Layer 2 Packets.
Thanks