ethernetPacket.setPayload(goosePacket);
} else {
ethernetPacket.getPayload().setPayload(goosePacket);
}
} else if (QPacketConstants.EthernetType_Smv == ethernetType) {
QSvPacket smvPacket = new QSvPacket();
smvPacket.addField(QSvPacket.fetchAppId(data, ethernetHeaderLen));
smvPacket.addField(QSvPacket.fetchPduLen(data, ethernetHeaderLen));
if (ethernetPacket.getPayload() == null) {
ethernetPacket.setPayload(smvPacket);
} else {
ethernetPacket.getPayload().setPayload(smvPacket);
}