#include <net-snmp/net-snmp-config.h>#include <net-snmp/library/container.h>#include <net-snmp/agent/table_array.h>#include "../../config.h"


Go to the source code of this file.
Data Structures | |
| struct | openserSIPPortTable_context_s |
Defines | |
| #define | COLUMN_OPENSERSIPTRANSPORTRCV 4 |
| #define | openserSIPPortTable_COL_MAX 4 |
| #define | openserSIPPortTable_COL_MIN 4 |
| #define | openserSIPPortTable_TABLE_OID OPENSER_OID,3,1,1,1,1,5 |
| #define | SIP_PORT_TABLE_STR_INDEX_SIZE 10 |
Typedefs | |
| typedef struct openserSIPPortTable_context_s | openserSIPPortTable_context |
Functions | |
| void | init_openserSIPPortTable (void) |
| void | initialize_table_openserSIPPortTable (void) |
| const openserSIPPortTable_context * | openserSIPPortTable_get_by_idx (netsnmp_index *) |
| const openserSIPPortTable_context * | openserSIPPortTable_get_by_idx_rs (netsnmp_index *, int row_status) |
| int | openserSIPPortTable_get_value (netsnmp_request_info *, netsnmp_index *, netsnmp_table_request_info *) |
Variables | |
| oid | openserSIPPortTable_oid [] |
| size_t | openserSIPPortTable_oid_len |
| #define COLUMN_OPENSERSIPTRANSPORTRCV 4 |
Definition at line 108 of file openserSIPPortTable.h.
Referenced by openserSIPPortTable_get_value().
| #define openserSIPPortTable_COL_MAX 4 |
Definition at line 111 of file openserSIPPortTable.h.
Referenced by initialize_table_openserSIPPortTable().
| #define openserSIPPortTable_COL_MIN 4 |
Definition at line 110 of file openserSIPPortTable.h.
Referenced by initialize_table_openserSIPPortTable().
| #define openserSIPPortTable_TABLE_OID OPENSER_OID,3,1,1,1,1,5 |
Definition at line 102 of file openserSIPPortTable.h.
| #define SIP_PORT_TABLE_STR_INDEX_SIZE 10 |
Definition at line 50 of file openserSIPPortTable.h.
| typedef struct openserSIPPortTable_context_s openserSIPPortTable_context |
| void init_openserSIPPortTable | ( | void | ) |
Definition at line 218 of file openserSIPPortTable.c.
References createRowsFromIPList(), get_socket_list_from_proto(), initialize_table_openserSIPPortTable(), NULL, PROTO_TCP, PROTO_TLS, and PROTO_UDP.
Referenced by initialize_agentx().
| void initialize_table_openserSIPPortTable | ( | void | ) |
mallocs failed
Definition at line 250 of file openserSIPPortTable.c.
References cb, my_handler, openserSIPPortTable_COL_MAX, openserSIPPortTable_COL_MIN, openserSIPPortTable_get_value(), openserSIPPortTable_oid, and openserSIPPortTable_oid_len.
Referenced by init_openserSIPPortTable().
| const openserSIPPortTable_context* openserSIPPortTable_get_by_idx | ( | netsnmp_index * | ) |
| const openserSIPPortTable_context* openserSIPPortTable_get_by_idx_rs | ( | netsnmp_index * | , | |
| int | row_status | |||
| ) |
| int openserSIPPortTable_get_value | ( | netsnmp_request_info * | , | |
| netsnmp_index * | , | |||
| netsnmp_table_request_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().
| oid openserSIPPortTable_oid[] |
Definition at line 51 of file openserSIPPortTable.c.
Referenced by initialize_table_openserSIPPortTable().
| size_t openserSIPPortTable_oid_len |
Definition at line 52 of file openserSIPPortTable.c.
Referenced by initialize_table_openserSIPPortTable().
1.5.6