📄 compiler.pm
字号:
# -*- Mode: Perl -*-########################################################################### MIB Compiler supporting SMI(v1) and SMIv2## Author: Fabien Tassin <fta@oleane.net># Copyright 1998, 1999 Fabien Tassin <fta@oleane.net>########################################################################### See Also :# Rec. X.208: Specification of Abstract Syntax Notation (ASN.1)# RFC 1155: Structure and Identification of Management Information# for TCP/IP-based Internets# RFC 1158: Management Information Base for network management of# TCP/IP-based internets: MIB-II# RFC 1212: Concise MIB definitions# RFC 1215: Convention for defining traps for use with the SNMP# RFC 1902: Structure of Management Information for Version 2 of the# Simple Network Management Protocol (SNMPv2)# RFC 1903: Textual Conventions for Version 2 of the Simple Network# Management Protocol (SNMPv2)# RFC 1904: Conformance Statements for Version 2 of the Simple Network# Management Protocol (SNMPv2)########################################################################### ABSOLUTELY NO WARRANTY WITH THIS PACKAGE. USE IT AT YOUR OWN RISKS.########################################################################### TODO:# - resolve constants (e.g. 'max-bindings' in SNMPv2-PDU)# - check a value against a syntax# - extend the API# - more test scriptspackage SNMP::MIB::Compiler;use strict;use vars qw(@ISA @EXPORT $VERSION $DEBUG);use Exporter;use Carp;use Data::Dumper;use FileHandle;@ISA = qw(Exporter);@EXPORT = ();$VERSION = 0.06;$DEBUG = 1; # no longer used####################################################################### ASN1 items. (See Rec. X.208
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -