mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-22 16:34:25 +01:00
broken chkpt
This commit is contained in:
16
packet/virtio.go
Normal file
16
packet/virtio.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package packet
|
||||
|
||||
import (
|
||||
"github.com/slackhq/nebula/util/virtio"
|
||||
)
|
||||
|
||||
type VirtIOPacket struct {
|
||||
Payload []byte
|
||||
Header virtio.NetHdr
|
||||
}
|
||||
|
||||
func NewVIO() *VirtIOPacket {
|
||||
out := new(VirtIOPacket)
|
||||
out.Payload = make([]byte, Size)
|
||||
return out
|
||||
}
|
||||
Reference in New Issue
Block a user