MCPcopy Create free account
hub / github.com/encodeous/nylon / tcp6Packet

Function tcp6Packet

polyamide/tun/offload_linux_test.go:165–167  ·  view source on GitHub ↗
(srcIPPort, dstIPPort netip.AddrPort, flags header.TCPFlags, segmentSize, seq uint32)

Source from the content-addressed store, hash-verified

163}
164
165func tcp6Packet(srcIPPort, dstIPPort netip.AddrPort, flags header.TCPFlags, segmentSize, seq uint32) []byte {
166 return tcp6PacketMutateIPFields(srcIPPort, dstIPPort, flags, segmentSize, seq, nil)
167}
168
169func Test_handleVirtioRead(t *testing.T) {
170 tests := []struct {

Callers 4

Test_handleVirtioReadFunction · 0.85
Fuzz_handleGROFunction · 0.85
Test_handleGROFunction · 0.85

Calls 1

tcp6PacketMutateIPFieldsFunction · 0.85

Tested by

no test coverage detected