#include <string.h>#include "../../statistics.h"#include "../../sr_module.h"#include "../../config.h"#include "../usrloc/usrloc.h"#include <net-snmp/net-snmp-config.h>#include <net-snmp/net-snmp-includes.h>#include <net-snmp/agent/net-snmp-agent-includes.h>#include "openserSIPServerObjects.h"#include "snmpstats_globals.h"#include "utilities.h"

Go to the source code of this file.
Functions | |
| int | handle_openserSIPNumProxyRequireFailures (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPProxyAuthMethod (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPProxyRecordRoute (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPProxyStatefulness (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPRegAcceptedRegistrations (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPRegCurrentUsers (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPRegDfltRegActiveInterval (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPRegMaxContactExpiryDuration (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPRegMaxUsers (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPRegRejectedRegistrations (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| int | handle_openserSIPRegUserLookupCounter (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) |
| void | init_openserSIPServerObjects (void) |
Variables | |
| unsigned int | global_UserLookupCounter |
| int handle_openserSIPNumProxyRequireFailures | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
| int handle_openserSIPProxyAuthMethod | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
Definition at line 245 of file openserSIPServerObjects.c.
References module_loaded(), SIP_AUTH_METHOD_DIGEST, SIP_AUTH_METHOD_NONE, and SIP_AUTH_METHOD_TLS.
| int handle_openserSIPProxyRecordRoute | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
Definition at line 222 of file openserSIPServerObjects.c.
References module_loaded(), TC_FALSE, and TC_TRUE.
| int handle_openserSIPProxyStatefulness | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
Definition at line 192 of file openserSIPServerObjects.c.
References module_loaded(), PROXY_STATEFULNESS_CALL_STATEFUL, PROXY_STATEFULNESS_STATELESS, and PROXY_STATEFULNESS_TRANSACTION_STATEFUL.
| int handle_openserSIPRegAcceptedRegistrations | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
| int handle_openserSIPRegCurrentUsers | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
| int handle_openserSIPRegDfltRegActiveInterval | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
| int handle_openserSIPRegMaxContactExpiryDuration | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
| int handle_openserSIPRegMaxUsers | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
Definition at line 307 of file openserSIPServerObjects.c.
| int handle_openserSIPRegRejectedRegistrations | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
| int handle_openserSIPRegUserLookupCounter | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
Definition at line 362 of file openserSIPServerObjects.c.
References global_UserLookupCounter, and MAX_USER_LOOKUP_COUNTER.
| void init_openserSIPServerObjects | ( | void | ) |
Definition at line 64 of file openserSIPServerObjects.c.
References handle_openserSIPNumProxyRequireFailures, handle_openserSIPProxyAuthMethod, handle_openserSIPProxyRecordRoute, handle_openserSIPProxyStatefulness, handle_openserSIPRegAcceptedRegistrations, handle_openserSIPRegCurrentUsers, handle_openserSIPRegDfltRegActiveInterval, handle_openserSIPRegMaxContactExpiryDuration, handle_openserSIPRegMaxUsers, handle_openserSIPRegRejectedRegistrations, handle_openserSIPRegUserLookupCounter, and OPENSER_OID.
Referenced by initialize_agentx().
| unsigned int global_UserLookupCounter |
Definition at line 55 of file openserSIPServerObjects.c.
Referenced by handle_openserSIPRegUserLookupCounter(), and openserSIPRegUserLookupTable_extract_index().
1.5.6