if (QPacketConstants.EthernetType_Vlan.equalsIgnoreCase(ethernetTypeField.getValue())) {
QVlanPacket vlanPacket = new QVlanPacket();
vlanPacket.addField(QVlanPacket.fetchEthernetType(data, QPacketConstants.EthernetHeaderLen));
ethernetPacket.setPayload(vlanPacket);
}
ethernetPacket.addField(ethernetTypeField);
if (QPacketConstants.EthernetType_Goose == ethernetType) {
QGoosePacket goosePacket = new QGoosePacket();
goosePacket.addField(QGoosePacket.fetchAppId(data, ethernetHeaderLen));
goosePacket.addField(QGoosePacket.fetchPduLen(data, ethernetHeaderLen));
if (ethernetPacket.getPayload() == null) {