Files
nebula/wire/wire_generic.go
2026-05-14 15:56:34 -05:00

11 lines
265 B
Go

//go:build !linux
// +build !linux
package wire
// PerSegment invokes fn once per segment of pkt.
// This is a stub implementation that does not actually support segmentation
func (t *TunPacket) PerSegment(fn func(seg []byte) error) error {
return fn(t.Bytes)
}