I am very new to mib2c, and I need to list all attributes which belong to one variable. I work with mib2c tool from NET-SNMP and there are configuration templates for generating the code.
There are variables with many attributes, look like:
$var.defval
$var.type
I would like to see all these attributes, in order to use them in the generated code.
I know, for mib2c attributes there is man page, but there is not everything. (For example I know the attribute $var.needlength
exists, and it is not mentioned in that man page).
I don't know how the $var
is defined and fulfilled.
How can I list all attributes of $var
?