hi,
my asn.1 module cannot be compiled. i receive syntax error.
can anyone help me out, giving me tips ?
THANKS in Advance
Here is my module :
IPv4Header DEFINITIONS ::=
BEGIN
IPHeader ::= SEQUENCE
{
version INTEGER(0..15),
ipheaderlength INTEGER(5..15),
typeofservice OCTET STRING,
totallength INTEGER(0..65535),
identification INTEGER(0..65535),
flags Flagtype,
fragmentoffset INTEGER(0..8191),
timetolive INTEGER(0..255),
protocoll INTEGER(0..255),
headerchecksum INTEGER(0..65535),
sourceadress IPadress,
destinadress IPadress,
options INTEGER(0..2147483647)
}
Flagtypes ::= SEQUENCE OF INTEGER
Flagtype Flagtypes ::=
{
flag1 INTEGER DEFAULT 0,
flag2 INTEGER(0|1),
flag3 INTEGER(0|1)
}
IPadress ::= SEQUENCE
{
field1 INTEGER(0..255),
flied2 IA5STRING DEFAULT ".",
field3 INTEGER(0..255),
field4 IA5STRING DEFAULT ".",
field5 INTEGER(0..255),
field6 IA5STRING DEFAULT ".",
field7 INTEGER(0..255)
}
END
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
_______________________________________________
Asn1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1