overflow_probe/matcher/packet/packet.go
2017-08-03 19:08:34 +09:00

14 lines
165 B
Go

package packet
type Packet struct {
Buffer []byte
Len int
}
func NewPacket(buf []byte, len int) *Packet {
return &Packet{
Buffer: buf,
Len: len,
}
}