tailscale/tstest/natlab
David Anderson b3d65ba943 tstest/natlab: refactor, expose a Packet type.
HandlePacket and Inject now receive/take Packets. This is a handy
container for the packet, and the attached Trace method can be used
to print traces from custom packet handlers that integrate nicely
with natlab's internal traces.

Signed-off-by: David Anderson <danderson@tailscale.com>
2020-07-11 06:33:01 +00:00
..
firewall.go tstest/natlab: refactor, expose a Packet type. 2020-07-11 06:33:01 +00:00
natlab_test.go tstest/natlab: refactor, expose a Packet type. 2020-07-11 06:33:01 +00:00
natlab.go tstest/natlab: refactor, expose a Packet type. 2020-07-11 06:33:01 +00:00