]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/other/snmp/asn1/IfEntry.h
Partially working snmp agent
[stg.git] / projects / stargazer / plugins / other / snmp / asn1 / IfEntry.h
1 /*
2  * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3  * From ASN.1 module "RFC1213-MIB"
4  *      found in "RFC1213-MIB.asn1"
5  *      `asn1c -fskeletons-copy`
6  */
7
8 #ifndef _IfEntry_H_
9 #define _IfEntry_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include <INTEGER.h>
16 #include "DisplayString.h"
17 #include "Gauge.h"
18 #include "PhysAddress.h"
19 #include "TimeTicks.h"
20 #include "Counter.h"
21 #include <OBJECT_IDENTIFIER.h>
22 #include <constr_SEQUENCE.h>
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 /* IfEntry */
29 typedef struct IfEntry {
30         INTEGER_t        ifIndex;
31         DisplayString_t  ifDescr;
32         INTEGER_t        ifType;
33         INTEGER_t        ifMtu;
34         Gauge_t  ifSpeed;
35         PhysAddress_t    ifPhysAddress;
36         INTEGER_t        ifAdminStatus;
37         INTEGER_t        ifOperStatus;
38         TimeTicks_t      ifLastChange;
39         Counter_t        ifInOctets;
40         Counter_t        ifInUcastPkts;
41         Counter_t        ifInNUcastPkts;
42         Counter_t        ifInDiscards;
43         Counter_t        ifInErrors;
44         Counter_t        ifInUnknownProtos;
45         Counter_t        ifOutOctets;
46         Counter_t        ifOutUcastPkts;
47         Counter_t        ifOutNUcastPkts;
48         Counter_t        ifOutDiscards;
49         Counter_t        ifOutErrors;
50         Gauge_t  ifOutQLen;
51         OBJECT_IDENTIFIER_t      ifSpecific;
52         
53         /* Context for parsing across buffer boundaries */
54         asn_struct_ctx_t _asn_ctx;
55 } IfEntry_t;
56
57 /* Implementation */
58 extern asn_TYPE_descriptor_t asn_DEF_IfEntry;
59
60 #ifdef __cplusplus
61 }
62 #endif
63
64 #endif  /* _IfEntry_H_ */