* $Id: snmp_agent.h,v 1.2 2008/08/11 07:00:24 haraldkipp Exp $ *
Definition in file snmp_agent.h.
Go to the source code of this file.
Data Structures | |
struct | SNMP_SESSION |
Functions | |
int | SnmpAgent (UDPSOCKET *) |
Run SNMP agent. |
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 462 of file snmp_agent.c.
References free, malloc, memset(), NutUdpReceiveFrom(), NutUdpSendTo(), SNMP_MAX_LEN, SNMP_STAT_OUTPKTS, SnmpAgentProcessRequest(), and SnmpStatsInc().