SNMP agent functions. More...
Go to the source code of this file.
Data Structures | |
struct | SNMP_SESSION |
Functions | |
int | SnmpAgent (UDPSOCKET *) |
Run SNMP agent. |
SNMP agent functions.
* $Id: snmp_agent.h 2235 2008-08-11 07:00:36Z haraldkipp $ *
Definition in file snmp_agent.h.
int SnmpAgent | ( | UDPSOCKET * | sock | ) |
Run SNMP agent.
Normally runs in an endless loop, which is only left in case of an error.
sock | UDP socket to use. |
Definition at line 463 of file snmp_agent.c.
References free, malloc, memset(), NutUdpReceiveFrom(), NutUdpSendTo(), SNMP_MAX_LEN, SNMP_STAT_OUTPKTS, SnmpAgentProcessRequest(), and SnmpStatsInc().
Referenced by main().