Re: agent/mibgroup/mibII/interfaces.c
2009/4/3 sanjaykumar : > I going through the agent/mibgroup/mibII/interfaces.c file , I got a doubt > about the definition of function "SetIfEntry". > I didn't find it in netsnmp.5.4.2.1 version. > Could anyone let me know, which file contains the definition of the > Function OR it is some standard function under LINUX I suspect that this is probably a Windows-specific function. If you check the "interfaces_variables" array, you'll see that ifAdminStatus is only defined as RWRITE on Windows systems, so that's the only time when the writeIfEntry is compiled in. On Linux (and most other systems), this table is read-only. That's one of the reasons that the mibII/interfaces code has been superceded by the if-mib/ re-write. Dave -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
agent/mibgroup/mibII/interfaces.c
Hi All, I going through the agent/mibgroup/mibII/interfaces.c file , I got a doubt about the definition of function "SetIfEntry". I didn't find it in netsnmp.5.4.2.1 version. Could anyone let me know, which file contains the definition of the Function OR it is some standard function under LINUX if (SetIfEntry(&ifEntryRow) != NO_ERROR) { snmp_log(LOG_ERR, "Error in writeIfEntry case COMMIT with index: %d & adminStatus %d\n", ifEntryRow.dwIndex, ifEntryRow.dwAdminStatus); return SNMP_ERR_COMMITFAILED; Thanks and regards, Sanjay kumar -- ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users