Re: table_info->max_column

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, 2006-03-01 at 16:14 +0100, Palmentieri Nunzio wrote:
> Hi all,
> someone could explain me what is the meaning of
> "table_info->max_column",

For a given table, MIB column object will typically
have consecutive subidentifier numbers.
E.g. for the IF-MIB::ifTable, these run from ifIndex(1)
to ifSpecific(22)

table_info->min_column is the subidentifier of the first
(accessible) column object - typically 1.

table_info->max_column is the subidentifier of the last
column object - in this case 22.

This means that the main agent driving code (or strictly
speaking, the table helper) knows to reject a request for
ifEntry.23 (or above), without having to call the MIB
handler routine.

Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.