xref: /freebsd/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1#
2# Copyright (c) 2010 Philip Paeps <philip@FreeBSD.org>
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright
9#    notice, this list of conditions and the following disclaimer.
10# 2. Redistributions in binary form must reproduce the above copyright
11#    notice, this list of conditions and the following disclaimer in the
12#    documentation and/or other materials provided with the distribution.
13#
14# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24# SUCH DAMAGE.
25#
26# $FreeBSD$
27#
28
29(1 internet
30  (4 private
31    (1 enterprises
32      (12325 fokus
33        (1 begemot
34          (200 begemotPf
35            (1 begemotPfObjects
36              (1 pfStatus
37                (1 pfStatusRunning ENUM ( 1 true 2 false ) pf_status GET)
38                (2 pfStatusRuntime TIMETICKS pf_status GET)
39                (3 pfStatusDebug ENUM ( 0 none 1 urgent 2 misc 3 loud ) pf_status GET)
40                (4 pfStatusHostId OCTETSTRING pf_status GET)
41              )
42              (2 pfCounter
43                (1 pfCounterMatch COUNTER64 pf_counter GET)
44                (2 pfCounterBadOffset COUNTER64 pf_counter GET)
45                (3 pfCounterFragment COUNTER64 pf_counter GET)
46                (4 pfCounterShort COUNTER64 pf_counter GET)
47                (5 pfCounterNormalize COUNTER64 pf_counter GET)
48                (6 pfCounterMemDrop COUNTER64 pf_counter GET)
49              )
50              (3 pfStateTable
51                (1 pfStateTableCount UNSIGNED32 pf_statetable GET)
52                (2 pfStateTableSearches COUNTER64 pf_statetable GET)
53                (3 pfStateTableInserts COUNTER64 pf_statetable GET)
54                (4 pfStateTableRemovals COUNTER64 pf_statetable GET)
55              )
56              (4 pfSrcNodes
57                (1 pfSrcNodesCount UNSIGNED32 pf_srcnodes GET)
58                (2 pfSrcNodesSearches COUNTER64 pf_srcnodes GET)
59                (3 pfSrcNodesInserts COUNTER64 pf_srcnodes GET)
60                (4 pfSrcNodesRemovals COUNTER64 pf_srcnodes GET)
61              )
62              (5 pfLimits
63                (1 pfLimitsStates UNSIGNED32 pf_limits GET)
64                (2 pfLimitsSrcNodes UNSIGNED32 pf_limits GET)
65                (3 pfLimitsFrags UNSIGNED32 pf_limits GET)
66              )
67              (6 pfTimeouts
68                (1 pfTimeoutsTcpFirst INTEGER32 pf_timeouts GET)
69                (2 pfTimeoutsTcpOpening INTEGER32 pf_timeouts GET)
70                (3 pfTimeoutsTcpEstablished INTEGER32 pf_timeouts GET)
71                (4 pfTimeoutsTcpClosing INTEGER32 pf_timeouts GET)
72                (5 pfTimeoutsTcpFinWait INTEGER32 pf_timeouts GET)
73                (6 pfTimeoutsTcpClosed INTEGER32 pf_timeouts GET)
74                (7 pfTimeoutsUdpFirst INTEGER32 pf_timeouts GET)
75                (8 pfTimeoutsUdpSingle INTEGER32 pf_timeouts GET)
76                (9 pfTimeoutsUdpMultiple INTEGER32 pf_timeouts GET)
77                (10 pfTimeoutsIcmpFirst INTEGER32 pf_timeouts GET)
78                (11 pfTimeoutsIcmpError INTEGER32 pf_timeouts GET)
79                (12 pfTimeoutsOtherFirst INTEGER32 pf_timeouts GET)
80                (13 pfTimeoutsOtherSingle INTEGER32 pf_timeouts GET)
81                (14 pfTimeoutsOtherMultiple INTEGER32 pf_timeouts GET)
82                (15 pfTimeoutsFragment INTEGER32 pf_timeouts GET)
83                (16 pfTimeoutsInterval INTEGER32 pf_timeouts GET)
84                (17 pfTimeoutsAdaptiveStart INTEGER32 pf_timeouts GET)
85                (18 pfTimeoutsAdaptiveEnd INTEGER32 pf_timeouts GET)
86                (19 pfTimeoutsSrcNode INTEGER32 pf_timeouts GET)
87              )
88              (7 pfLogInterface
89                (1 pfLogInterfaceName OCTETSTRING pf_logif GET)
90                (2 pfLogInterfaceIp4BytesIn COUNTER64 pf_logif GET)
91                (3 pfLogInterfaceIp4BytesOut COUNTER64 pf_logif GET)
92                (4 pfLogInterfaceIp4PktsInPass COUNTER64 pf_logif GET)
93                (5 pfLogInterfaceIp4PktsInDrop COUNTER64 pf_logif GET)
94                (6 pfLogInterfaceIp4PktsOutPass COUNTER64 pf_logif GET)
95                (7 pfLogInterfaceIp4PktsOutDrop COUNTER64 pf_logif GET)
96                (8 pfLogInterfaceIp6BytesIn COUNTER64 pf_logif GET)
97                (9 pfLogInterfaceIp6BytesOut COUNTER64 pf_logif GET)
98                (10 pfLogInterfaceIp6PktsInPass COUNTER64 pf_logif GET)
99                (11 pfLogInterfaceIp6PktsInDrop COUNTER64 pf_logif GET)
100                (12 pfLogInterfaceIp6PktsOutPass COUNTER64 pf_logif GET)
101                (13 pfLogInterfaceIp6PktsOutDrop COUNTER64 pf_logif GET)
102              )
103              (8 pfInterfaces
104                (1 pfInterfacesIfNumber INTEGER32 pf_interfaces GET)
105                (2 pfInterfacesIfTable
106                  (1 pfInterfacesIfEntry : INTEGER32 pf_iftable
107                    (1 pfInterfacesIfIndex INTEGER32)
108                    (2 pfInterfacesIfDescr OCTETSTRING GET)
109                    (3 pfInterfacesIfType ENUM ( 0 group 1 instance 2 detached ) GET)
110		    (4 pfInterfacesIfTZero TIMETICKS GET)
111                    (5 pfInterfacesIfRefsState NULL GET)
112                    (6 pfInterfacesIfRefsRule UNSIGNED32 GET)
113                    (7 pfInterfacesIf4BytesInPass COUNTER64 GET)
114                    (8 pfInterfacesIf4BytesInBlock COUNTER64 GET)
115                    (9 pfInterfacesIf4BytesOutPass COUNTER64 GET)
116                    (10 pfInterfacesIf4BytesOutBlock COUNTER64 GET)
117                    (11 pfInterfacesIf4PktsInPass COUNTER64 GET)
118                    (12 pfInterfacesIf4PktsInBlock COUNTER64 GET)
119                    (13 pfInterfacesIf4PktsOutPass COUNTER64 GET)
120                    (14 pfInterfacesIf4PktsOutBlock COUNTER64 GET)
121                    (15 pfInterfacesIf6BytesInPass COUNTER64 GET)
122                    (16 pfInterfacesIf6BytesInBlock COUNTER64 GET)
123                    (17 pfInterfacesIf6BytesOutPass COUNTER64 GET)
124                    (18 pfInterfacesIf6BytesOutBlock COUNTER64 GET)
125                    (19 pfInterfacesIf6PktsInPass COUNTER64 GET)
126                    (20 pfInterfacesIf6PktsInBlock COUNTER64 GET)
127                    (21 pfInterfacesIf6PktsOutPass COUNTER64 GET)
128                    (22 pfInterfacesIf6PktsOutBlock COUNTER64 GET)
129                  )
130                )
131              )
132	      (9 pfTables
133	        (1 pfTablesTblNumber INTEGER32 pf_tables GET)
134		(2 pfTablesTblTable
135		  (1 pfTablesTblEntry : INTEGER32 pf_tbltable
136		    (1 pfTablesTblIndex INTEGER32)
137		    (2 pfTablesTblDescr OCTETSTRING GET)
138		    (3 pfTablesTblCount INTEGER32 GET)
139		    (4 pfTablesTblTZero TIMETICKS GET)
140		    (5 pfTablesTblRefsAnchor INTEGER32 GET)
141		    (6 pfTablesTblRefsRule INTEGER32 GET)
142		    (7 pfTablesTblEvalMatch COUNTER64 GET)
143		    (8 pfTablesTblEvalNoMatch COUNTER64 GET)
144		    (9 pfTablesTblBytesInPass COUNTER64 GET)
145		    (10 pfTablesTblBytesInBlock COUNTER64 GET)
146		    (11 pfTablesTblBytesInXPass COUNTER64 GET)
147		    (12 pfTablesTblBytesOutPass COUNTER64 GET)
148		    (13 pfTablesTblBytesOutBlock COUNTER64 GET)
149		    (14 pfTablesTblBytesOutXPass COUNTER64 GET)
150		    (15 pfTablesTblPktsInPass COUNTER64 GET)
151		    (16 pfTablesTblPktsInBlock COUNTER64 GET)
152		    (17 pfTablesTblPktsInXPass COUNTER64 GET)
153		    (18 pfTablesTblPktsOutPass COUNTER64 GET)
154		    (19 pfTablesTblPktsOutBlock COUNTER64 GET)
155		    (20 pfTablesTblPktsOutXPass COUNTER64 GET)
156		  )
157		)
158		(3 pfTablesAddrTable
159		  (1 pfTablesAddrEntry : INTEGER32 pf_tbladdr
160		    (1 pfTablesAddrIndex INTEGER32)
161		    (2 pfTablesAddrNetType ENUM ( 0 unknown 1 ipv4 2 ipv6) GET)
162		    (3 pfTablesAddrNet OCTETSTRING | InetAddress GET)
163		    (4 pfTablesAddrPrefix UNSIGNED32 GET)
164		    (5 pfTablesAddrTZero TIMETICKS GET)
165		    (6 pfTablesAddrBytesInPass COUNTER64 GET)
166		    (7 pfTablesAddrBytesInBlock COUNTER64 GET)
167		    (8 pfTablesAddrBytesOutPass COUNTER64 GET)
168		    (9 pfTablesAddrBytesOutBlock COUNTER64 GET)
169		    (10 pfTablesAddrPktsInPass COUNTER64 GET)
170		    (11 pfTablesAddrPktsInBlock COUNTER64 GET)
171		    (12 pfTablesAddrPktsOutPass COUNTER64 GET)
172		    (13 pfTablesAddrPktsOutBlock COUNTER64 GET)
173		  )
174		)
175	      )
176	      (10 pfAltq
177	        (1 pfAltqQueueNumber INTEGER32 pf_altq GET)
178		(2 pfAltqQueueTable
179		  (1 pfAltqQueueEntry : INTEGER32 pf_altqq
180		    (1 pfAltqQueueIndex INTEGER32)
181		    (2 pfAltqQueueDescr OCTETSTRING GET)
182		    (3 pfAltqQueueParent OCTETSTRING GET)
183		    (4 pfAltqQueueScheduler ENUM ( 1 cbq 8 hfsc 11 priq ) GET)
184		    (5 pfAltqQueueBandwidth UNSIGNED32 GET)
185		    (6 pfAltqQueuePriority INTEGER32 GET)
186		    (7 pfAltqQueueLimit INTEGER32 GET)
187		  )
188		)
189	      )
190	      (11 pfLabels
191		(1 pfLabelsLblNumber INTEGER32 pf_labels GET)
192		(2 pfLabelsLblTable
193		  (1 pfLabelsLblEntry : INTEGER pf_lbltable
194		    (1 pfLabelsLblIndex INTEGER)
195		    (2 pfLabelsLblName OCTETSTRING GET)
196		    (3 pfLabelsLblEvals COUNTER64 GET)
197		    (4 pfLabelsLblBytesIn COUNTER64 GET)
198		    (5 pfLabelsLblBytesOut COUNTER64 GET)
199		    (6 pfLabelsLblPktsIn COUNTER64 GET)
200		    (7 pfLabelsLblPktsOut COUNTER64 GET)
201		  )
202		)
203	      )
204            )
205          )
206        )
207      )
208    )
209  )
210)
211