tailscale/tstest/natlab/vnet
Brad Fitzpatrick 3d9e3a17fa tstest/natlab/vnet: move some boilerplate to mkPacket helper
No need to make callers specify the redundant IP version or
TTL/HopLimit or EthernetType in the common case. The mkPacket helper
can set those when unset.

And use the mkIPLayer in another place, simplifying some code.

And rename mkPacketErr to just mkPacket, then move mkPacket to
test-only code, as mustPacket.

Updates #13038

Change-Id: Ic216e44dda760c69ab9bfc509370040874a47d30
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-30 20:23:30 -07:00
..
conf_test.go tstest/natlab/vnet: standardize on 1-based naming of nodes, networks, MACs 2024-08-13 08:50:03 -07:00
conf.go tstest/natlab/vnet: add syslog tests 2024-08-30 14:22:01 -07:00
easyaf.go tstest/natlab/vnet: add easyAF 2024-08-09 09:06:54 -07:00
nat.go tstest/natlab/vnet: add easyAF 2024-08-09 09:06:54 -07:00
pcap.go tstest/natlab/vnet: flush and sync pcap file after every packet 2024-08-24 11:44:50 -07:00
vip.go tstest/natlab/vnet: add start of IPv6 support 2024-08-24 18:02:38 -07:00
vnet_test.go tstest/natlab/vnet: move some boilerplate to mkPacket helper 2024-08-30 20:23:30 -07:00
vnet.go tstest/natlab/vnet: move some boilerplate to mkPacket helper 2024-08-30 20:23:30 -07:00