home *** CD-ROM | disk | FTP | other *** search
/ ftp.umcs.maine.edu / 2015-02-07.ftp.umcs.maine.edu.tar / ftp.umcs.maine.edu / pub / thesis / zhongy / snmp / snmp.shar / asn1.h next >
Text File  |  1994-05-11  |  928b  |  19 lines

  1. #define ASN1_SEQ      0x30             /*sequence object       */
  2. #define ASN1_INT      0x02             /*integer(small integer)*/
  3. #define ASN1_OCTSTR   0x04             /*octet string          */
  4. #define ASN1_NULL     0x05             /*null                  */
  5. #define ASN1_OBJID    0x06             /*object identifier     */
  6. #define ASN1_IPADDR   0x40             /*ip address            */
  7. #define ASN1_COUNTER  0x41             /*counter               */
  8. #define ASN1_GAUGE    0x42             /*gauge                 */
  9. #define ASN1_TIMETICKS 0x43            /*time ticks            */
  10.  
  11.  
  12. #define PDU_GET       0xA0             /* get request          */
  13. #define PDU_GETN      0xA1             /* get-next request     */
  14. #define PDU_RESP      0xA2             /* response             */
  15. #define PDU_SET       0xA3             /* set requet           */
  16. #define PDU_TRAP      0xA4             /* trap message         */
  17.  
  18.  
  19.