I need to add a .msg file to my project. The .msg code is :
import inet.common.INETDefs;
import inet.common.packet.chunk.Chunk;
import inet.networklayer.contract.ipv4.Ipv4Address;
namespace inet;
class HelloMsg extends FieldsChunk
{
Ipv4Address srcAddress;
unsigned int sequencenumber;
int hopdistance;
}
When I build my project, I get this error:
syntax error, unexpected NAME, expecting $end.