~ubuntu-branches/ubuntu/precise/net-snmp/precise

« back to all changes in this revision

Viewing changes to agent/mibgroup/sctp-mib/sctpLookupRemPortTable.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-11-26 01:27:00 UTC
  • mfrom: (1.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091126012700-pox7w0a5j2x305h9
Tags: 5.4.2.1~dfsg-3ubuntu1
* Merge from debian testing.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.
    (LP: #426813).
 * Dropped patches:
   - debian/patches/101-fix-ipalias.patch: Applied upstream.
   - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream.
   - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream.
   - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Note: this file originally auto-generated by mib2c using
 
3
 *  $
 
4
 */
 
5
#ifndef SCTPLOOKUPREMPORTTABLE_H
 
6
#define SCTPLOOKUPREMPORTTABLE_H
 
7
 
 
8
#include "sctpTables_common.h"
 
9
 
 
10
/*
 
11
 * function declarations 
 
12
 */
 
13
void            init_sctpLookupRemPortTable(void);
 
14
void            shutdown_sctpLookupRemPortTable(void);
 
15
void            initialize_table_sctpLookupRemPortTable(void);
 
16
Netsnmp_Node_Handler sctpLookupRemPortTable_handler;
 
17
 
 
18
/*
 
19
 * column number definitions for table sctpLookupRemPortTable 
 
20
 */
 
21
#define COLUMN_SCTPLOOKUPREMPORTSTARTTIME               1
 
22
 
 
23
/** Typical data structure for a row entry */
 
24
#define SCTP_LOOKUP_REM_PORT_TABLE_INDEX_SIZE 100
 
25
struct sctpLookupRemPortTable_entry_s {
 
26
    netsnmp_index   oid_index;
 
27
    oid             oid_tmp[SCTP_LOOKUP_REM_PORT_TABLE_INDEX_SIZE];
 
28
 
 
29
    /*
 
30
     * Index values 
 
31
     */
 
32
    u_long          sctpAssocRemPort;
 
33
    u_long          sctpAssocId;
 
34
 
 
35
    /*
 
36
     * Column values 
 
37
     */
 
38
    u_long          sctpLookupRemPortStartTime;
 
39
 
 
40
    int             valid;
 
41
};
 
42
 
 
43
sctpLookupRemPortTable_entry *sctpLookupRemPortTable_entry_create(void);
 
44
 
 
45
int
 
46
sctpLookupRemPortTable_entry_update_index(sctpLookupRemPortTable_entry *
 
47
                                          entry);
 
48
void
 
49
sctpLookupRemPortTable_entry_copy(sctpLookupRemPortTable_entry * from,
 
50
                                  sctpLookupRemPortTable_entry * to);
 
51
void
 
52
sctpLookupRemPortTable_entry_free(sctpLookupRemPortTable_entry * entry);
 
53
 
 
54
void
 
55
sctpLookupRemPortTable_container_clear(netsnmp_container *container);
 
56
 
 
57
#endif                          /* SCTPLOOKUPREMPORTTABLE_H */