Possible to use VpnService implementation to capture and send packets?
<p>I'm considering the possibility of using the new android (4.0) VpnService interface to implement simple packet capture and analysis. Does anyone know if it's possible to take the packets you receive in a VpnService implementation and simply write them out to the active/default network device? To receive data, I'd have to be able to read from the network device as well, of course. If it is possible, what APIs can be used to write to the network device(s)? </p>
