1216294Ssyrinx#- 2216294Ssyrinx# Copyright (C) 2010 The FreeBSD Foundation 3216294Ssyrinx# All rights reserved. 4216294Ssyrinx# 5216294Ssyrinx# This software was developed by Shteryana Sotirova Shopova under 6216294Ssyrinx# sponsorship from the FreeBSD Foundation. 7216294Ssyrinx# 8216294Ssyrinx# Redistribution and use in source and binary forms, with or without 9216294Ssyrinx# modification, are permitted provided that the following conditions 10216294Ssyrinx# are met: 11216294Ssyrinx# 1. Redistributions of source code must retain the above copyright 12216294Ssyrinx# notice, this list of conditions and the following disclaimer. 13216294Ssyrinx# 2. Redistributions in binary form must reproduce the above copyright 14216294Ssyrinx# notice, this list of conditions and the following disclaimer in the 15216294Ssyrinx# documentation and/or other materials provided with the distribution. 16216294Ssyrinx# 17216294Ssyrinx# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18216294Ssyrinx# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19216294Ssyrinx# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20216294Ssyrinx# ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 21216294Ssyrinx# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22216294Ssyrinx# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23216294Ssyrinx# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24216294Ssyrinx# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25216294Ssyrinx# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26216294Ssyrinx# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27216294Ssyrinx# SUCH DAMAGE. 28216294Ssyrinx# 29216294Ssyrinx# $FreeBSD$ 30216294Ssyrinx# 31216294Ssyrinx 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 43216294Ssyrinxtypedef StorageType ENUM ( 44216294Ssyrinx 1 other 45216294Ssyrinx 2 volatile 46216294Ssyrinx 3 nonVolatile 47216294Ssyrinx 4 permanent 48216294Ssyrinx 5 readOnly 49216294Ssyrinx) 50216294Ssyrinx 51216294Ssyrinx(1 internet 52216294Ssyrinx (6 snmpV2 53216294Ssyrinx (3 snmpModules 54216294Ssyrinx (16 snmpVacmMIB 55216294Ssyrinx (1 vacmMIBObjects 56216294Ssyrinx (1 vacmContextTable 57216294Ssyrinx (1 vacmContextEntry : OCTETSTRING op_vacm_context 58216294Ssyrinx (1 vacmContextName OCTETSTRING GET) 59216294Ssyrinx ) 60216294Ssyrinx ) 61216294Ssyrinx (2 vacmSecurityToGroupTable 62216294Ssyrinx (1 vacmSecurityToGroupEntry : INTEGER OCTETSTRING op_vacm_security_to_group 63216294Ssyrinx (1 vacmSecurityModel INTEGER) 64216294Ssyrinx (2 vacmSecurityName OCTETSTRING) 65216294Ssyrinx (3 vacmGroupName OCTETSTRING GET SET) 66216294Ssyrinx (4 vacmSecurityToGroupStorageType StorageType GET SET) 67216294Ssyrinx (5 vacmSecurityToGroupStatus RowStatus GET SET) 68216294Ssyrinx ) 69216294Ssyrinx ) 70216294Ssyrinx (4 vacmAccessTable 71216294Ssyrinx (1 vacmAccessEntry : OCTETSTRING OCTETSTRING INTEGER ENUM ( 1 noAuthNoPriv 2 authNoPriv 3 authPriv ) op_vacm_access 72216294Ssyrinx (1 vacmAccessContextPrefix OCTETSTRING) 73216294Ssyrinx (2 vacmAccessSecurityModel INTEGER) 74216294Ssyrinx (3 vacmAccessSecurityLevel ENUM ( 1 noAuthNoPriv 2 authNoPriv 3 authPriv )) 75216294Ssyrinx (4 vacmAccessContextMatch ENUM ( 1 exact 2 prefix ) GET SET) 76216294Ssyrinx (5 vacmAccessReadViewName OCTETSTRING GET SET) 77216294Ssyrinx (6 vacmAccessWriteViewName OCTETSTRING GET SET) 78216294Ssyrinx (7 vacmAccessNotifyViewName OCTETSTRING GET SET) 79216294Ssyrinx (8 vacmAccessStorageType StorageType GET SET) 80216294Ssyrinx (9 vacmAccessStatus RowStatus GET SET) 81216294Ssyrinx ) 82216294Ssyrinx ) 83216294Ssyrinx (5 vacmMIBViews 84216294Ssyrinx (1 vacmViewSpinLock INTEGER op_vacm_view_lock GET SET) 85216294Ssyrinx (2 vacmViewTreeFamilyTable 86216294Ssyrinx (1 vacmViewTreeFamilyEntry : OCTETSTRING OID op_vacm_view 87216294Ssyrinx (1 vacmViewTreeFamilyViewName OCTETSTRING) 88216294Ssyrinx (2 vacmViewTreeFamilySubtree OID) 89216294Ssyrinx (3 vacmViewTreeFamilyMask OCTETSTRING GET SET) 90216294Ssyrinx (4 vacmViewTreeFamilyType ENUM ( 1 included 2 excluded ) GET SET) 91216294Ssyrinx (5 vacmViewTreeFamilyStorageType StorageType GET SET) 92216294Ssyrinx (6 vacmViewTreeFamilyStatus RowStatus GET SET) 93216294Ssyrinx ) 94216294Ssyrinx ) 95216294Ssyrinx ) 96216294Ssyrinx ) 97216294Ssyrinx (2 vacmMIBConformance 98216294Ssyrinx (1 vacmMIBCompliances 99216294Ssyrinx ) 100216294Ssyrinx (2 vacmMIBGroups 101216294Ssyrinx ) 102216294Ssyrinx ) 103216294Ssyrinx ) 104216294Ssyrinx ) 105216294Ssyrinx ) 106216294Ssyrinx) 107