I want to write my own virtual network card driver/plugin that can be configured for virtual machines within VirtualBox to intercept the incomming and outgoing packets.
I found the documentation of VirtualBox's SDK at http://download.virtualbox.org/virtualbox/SDKRef.pdf but unfortunately it only describes how to use the remote API to control a VM but not how to write custom drivers or plugins for the VM itself.
Do you know of any documentation or tutorials to this topic?
Any pointers are highly apreciated.
Update:
I've browsed in VirtualBox's sources and found the following: https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Network/DrvNetSniffer.cpp
Is there no documented interface for writing such functionality in a pluggable way?