mirage/mirage-net — pull request #6 by djs55 (2012-09-20 20:29:33+00:00)
Title: Extend the promiscuous hook to capture in both directions on a running stack

We expose the function which performs the default input processing so that an app which has added a promiscuous hook can still call it, so the network stack behaves normally.

We call the promiscuous hook with outgoing traffic as well as incoming traffic for more complete logging potential.

(I've not tested this end-to-end yet)