openserSIPPortTable.c File Reference

#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
#include <net-snmp/library/snmp_assert.h>
#include "../../statistics.h"
#include "../../mem/mem.h"
#include "snmpstats_globals.h"
#include "openserSIPPortTable.h"

Include dependency graph for openserSIPPortTable.c:

Go to the source code of this file.

Functions

oid * createIndex (int ipType, int *ipAddress, int *sizeOfOID)
void createRowsFromIPList (int *theList, int listSize, int protocol, int *snmpIndex)
openserSIPPortTable_contextgetRow (int ipType, int *ipAddress)
void init_openserSIPPortTable (void)
void initialize_table_openserSIPPortTable (void)
const openserSIPPortTable_contextopenserSIPPortTable_get_by_idx (netsnmp_index *hdr)
int openserSIPPortTable_get_value (netsnmp_request_info *request, netsnmp_index *item, netsnmp_table_request_info *table_info)

Variables

static
netsnmp_table_array_callbacks 
cb
static
netsnmp_handler_registration * 
my_handler = NULL
oid openserSIPPortTable_oid [] = { openserSIPPortTable_TABLE_OID }
size_t openserSIPPortTable_oid_len = OID_LENGTH(openserSIPPortTable_oid)


Function Documentation

oid* createIndex ( int  ipType,
int *  ipAddress,
int *  sizeOfOID 
)

Definition at line 64 of file openserSIPPortTable.c.

References LM_ERR, NULL, NUM_IP_OCTETS, and pkg_malloc.

Referenced by getRow().

void createRowsFromIPList ( int *  theList,
int  listSize,
int  protocol,
int *  snmpIndex 
)

openserSIPPortTable_context* getRow ( int  ipType,
int *  ipAddress 
)

void init_openserSIPPortTable ( void   ) 

void initialize_table_openserSIPPortTable ( void   ) 

const openserSIPPortTable_context* openserSIPPortTable_get_by_idx ( netsnmp_index *  hdr  ) 

Definition at line 336 of file openserSIPPortTable.c.

References cb.

int openserSIPPortTable_get_value ( netsnmp_request_info *  request,
netsnmp_index *  item,
netsnmp_table_request_info *  table_info 
)

OpenSERSIPTransportProtocol = ASN_OCTET_STR

We shouldn't get here

Definition at line 305 of file openserSIPPortTable.c.

References COLUMN_OPENSERSIPTRANSPORTRCV, openserSIPPortTable_context_s::openserSIPTransportRcv, and openserSIPPortTable_context_s::openserSIPTransportRcv_len.

Referenced by initialize_table_openserSIPPortTable().


Variable Documentation

netsnmp_table_array_callbacks cb [static]

Definition at line 49 of file openserSIPPortTable.c.

netsnmp_handler_registration* my_handler = NULL [static]

Definition at line 48 of file openserSIPPortTable.c.

oid openserSIPPortTable_oid[] = { openserSIPPortTable_TABLE_OID }

Definition at line 51 of file openserSIPPortTable.c.

Referenced by initialize_table_openserSIPPortTable().

Definition at line 52 of file openserSIPPortTable.c.

Referenced by initialize_table_openserSIPPortTable().


Generated on Thu May 24 00:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6