diff options
Diffstat (limited to 'testnet/TestEthernetTap.hpp')
-rw-r--r-- | testnet/TestEthernetTap.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testnet/TestEthernetTap.hpp b/testnet/TestEthernetTap.hpp index 93eb4c5b..8b7a5e87 100644 --- a/testnet/TestEthernetTap.hpp +++ b/testnet/TestEthernetTap.hpp @@ -48,6 +48,14 @@ namespace ZeroTier { class TestEthernetTapFactory; +/** + * Dummy Ethernet tap + * + * This tap device prints the contents of packets it receives on stdout + * and also prints outgoing packets when they are injected. It does not + * connect to any real tap or other interface. It's useful for running + * test networks. + */ class TestEthernetTap : public EthernetTap { friend class SharedPtr<TestEthernetTap>; |