Hi all,
I have a very specific question about the encoding of a multi-oid table
index.
The table in question is using a Textual Convention definition for an
octet string that is fixed 18 bytes in length.
Therefore when encoding the index I expect
table.entry.firstrow.18bytesOfOID
rather than
table.entry.18.18bytesOfOID.
I have used the code generation tool to 'iterate tables' and in the
get_next_data_point() routine we have some code that generates the row
index.
...
vptr = put_index_data;
snmp_set_var_value(vptr, 18bytearray, 18);
but this yields the second encoding.
Is there standard way to encode fixed length OCTECT Strings?
Thanks,
Adam
The information contained in this electronic mail transmission
may be privileged and confidential, and therefore, protected
from disclosure. If you have received this communication in
error, please notify us immediately by replying to this
message and deleting it from your computer without copying
or disclosing it.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders