1216594Ssyrinx#- 2216594Ssyrinx# Copyright (C) 2010 The FreeBSD Foundation 3216594Ssyrinx# All rights reserved. 4216594Ssyrinx# 5216594Ssyrinx# This software was developed by Shteryana Sotirova Shopova under 6216594Ssyrinx# sponsorship from the FreeBSD Foundation. 7216594Ssyrinx# 8216594Ssyrinx# Redistribution and use in source and binary forms, with or without 9216594Ssyrinx# modification, are permitted provided that the following conditions 10216594Ssyrinx# are met: 11216594Ssyrinx# 1. Redistributions of source code must retain the above copyright 12216594Ssyrinx# notice, this list of conditions and the following disclaimer. 13216594Ssyrinx# 2. Redistributions in binary form must reproduce the above copyright 14216594Ssyrinx# notice, this list of conditions and the following disclaimer in the 15216594Ssyrinx# documentation and/or other materials provided with the distribution. 16216594Ssyrinx# 17216594Ssyrinx# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18216594Ssyrinx# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19216594Ssyrinx# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20216594Ssyrinx# ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 21216594Ssyrinx# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22216594Ssyrinx# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23216594Ssyrinx# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24216594Ssyrinx# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25216594Ssyrinx# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26216594Ssyrinx# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27216594Ssyrinx# SUCH DAMAGE. 28216594Ssyrinx# 29216594Ssyrinx# $FreeBSD$ 30216594Ssyrinx# 31216594Ssyrinx 32216605Ssyrinx#include "tc.def" 33216594Ssyrinx 34216605Ssyrinxtypedef RowStatus ENUM ( 35216605Ssyrinx 1 active 36216605Ssyrinx 2 notInService 37216605Ssyrinx 3 notReady 38216605Ssyrinx 4 createAndGo 39216605Ssyrinx 5 createAndWait 40216605Ssyrinx 6 destroy 41216605Ssyrinx) 42216605Ssyrinx 43216594Ssyrinxtypedef StorageType ENUM ( 44216594Ssyrinx 1 other 45216594Ssyrinx 2 volatile 46216594Ssyrinx 3 nonVolatile 47216594Ssyrinx 4 permanent 48216594Ssyrinx 5 readOnly 49216594Ssyrinx) 50216594Ssyrinx 51216594Ssyrinx(1 internet 52216594Ssyrinx (6 snmpV2 53216594Ssyrinx (1 snmpDomains 54216594Ssyrinx (1 snmpUDPDomain 55216594Ssyrinx ) 56216594Ssyrinx ) 57216594Ssyrinx (3 snmpModules 58216594Ssyrinx (12 snmpTargetMIB 59216594Ssyrinx (1 snmpTargetObjects 60216594Ssyrinx (1 snmpTargetSpinLock INTEGER op_snmp_target GET SET) 61216594Ssyrinx (2 snmpTargetAddrTable 62216594Ssyrinx (1 snmpTargetAddrEntry : OCTETSTRING op_snmp_target_addrs 63216594Ssyrinx (1 snmpTargetAddrName OCTETSTRING) 64216594Ssyrinx (2 snmpTargetAddrTDomain OID GET SET) 65216594Ssyrinx (3 snmpTargetAddrTAddress OCTETSTRING | TAddress GET SET) 66216594Ssyrinx (4 snmpTargetAddrTimeout INTEGER GET SET) 67216594Ssyrinx (5 snmpTargetAddrRetryCount INTEGER GET SET) 68216594Ssyrinx (6 snmpTargetAddrTagList OCTETSTRING | SnmpTagList GET SET) 69216594Ssyrinx (7 snmpTargetAddrParams OCTETSTRING GET SET) 70216594Ssyrinx (8 snmpTargetAddrStorageType StorageType GET SET) 71216594Ssyrinx (9 snmpTargetAddrRowStatus RowStatus GET SET) 72216594Ssyrinx ) 73216594Ssyrinx ) 74216594Ssyrinx (3 snmpTargetParamsTable 75216594Ssyrinx (1 snmpTargetParamsEntry : OCTETSTRING op_snmp_target_params 76216594Ssyrinx (1 snmpTargetParamsName OCTETSTRING) 77216594Ssyrinx (2 snmpTargetParamsMPModel INTEGER GET SET) 78216594Ssyrinx (3 snmpTargetParamsSecurityModel INTEGER GET SET) 79216594Ssyrinx (4 snmpTargetParamsSecurityName OCTETSTRING | SnmpAdminString GET SET) 80216594Ssyrinx (5 snmpTargetParamsSecurityLevel ENUM ( 1 noAuthNoPriv 2 authNoPriv 3 authPriv ) GET SET) 81216594Ssyrinx (6 snmpTargetParamsStorageType StorageType GET SET) 82216594Ssyrinx (7 snmpTargetParamsRowStatus RowStatus GET SET) 83216594Ssyrinx ) 84216594Ssyrinx ) 85216594Ssyrinx (4 snmpUnavailableContexts COUNTER op_snmp_target GET) 86216594Ssyrinx (5 snmpUnknownContexts COUNTER op_snmp_target GET) 87216594Ssyrinx ) 88216594Ssyrinx ) 89216594Ssyrinx (13 snmpNotificationMIB 90216594Ssyrinx (1 snmpNotifyObjects 91216594Ssyrinx (1 snmpNotifyTable 92216594Ssyrinx (1 snmpNotifyEntry : OCTETSTRING op_snmp_notify 93216594Ssyrinx (1 snmpNotifyName OCTETSTRING) 94216594Ssyrinx (2 snmpNotifyTag OCTETSTRING | SnmpTagValue GET SET) 95216594Ssyrinx (3 snmpNotifyType ENUM ( 1 trap 2 inform ) GET SET) 96216594Ssyrinx (4 snmpNotifyStorageType StorageType GET SET) 97216594Ssyrinx (5 snmpNotifyRowStatus RowStatus GET SET) 98216594Ssyrinx ) 99216594Ssyrinx ) 100216594Ssyrinx ) 101216594Ssyrinx ) 102216594Ssyrinx ) 103216594Ssyrinx ) 104216594Ssyrinx) 105