Hi,
Smidump uses the data structures Module, Object, Type, List for storing the
information as defined in the ASN.1 MIB/SMI files. I have a doubt how the
List pointer of the Type structure is assigned a value. I have seen that for
Syntax like xyzTableEntry (which is a SEQUENCE containing all the columns of
xyzTable), Type structure is created and List pointer contained in this
structure points to linked list of nodes, each node corresponding to a
column of the table. I mean to say if there are 'n' elements present in the
SEQUENCE xyzTableEntry, ListPtr points to 'n' number of nodes. Also if there
is any object having the syntax like INTEGER {1,2,3,4} (enumeration), then
for this syntax also, Type structure contains List ptr pointing to list of 4
nodes.
Now I have the questions.
1.The Type structure for Syntax like Guage, Integer, IpAddress, and others
also contains List pointer pointing to one node.
2. And there is a Textual convention RouterId defined in OSPF-MIB whose
syntax is defined as IpAddress. But the Type structure built for this
RouterId contains List ptr pointing to NULL (0x0). Why is this so..?
Any information explaining this will be greatly appreciated.
Regards,
suresh.