func (p *Packet) GuessPayloadType() packet.Type { if p.OUI[0] == 0x00 && p.OUI[1] == 0x00 && p.OUI[2] == 0x00 { return eth.EtherTypeToType(p.Type) } else { return packet.Raw } }
func (p *Packet) GuessPayloadType() packet.Type { return eth.EtherTypeToType(p.Type) }