Update network.Packet structure

This commit is contained in:
Daniel 2019-05-06 11:00:10 +02:00
parent 4f275a8029
commit be517dd58f
7 changed files with 204 additions and 147 deletions

View file

@ -9,7 +9,7 @@ import (
)
// Parse parses an IP packet and saves the information in the given packet object.
func Parse(packetData []byte, packet *PacketBase) error {
func Parse(packetData []byte, packet *Base) error {
var parsedPacket gopacket.Packet