xref: /freebsd/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
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#
27
28(1 internet
29  (4 private
30    (1 enterprises
31      (12325 fokus
32        (1 begemot
33          (200 begemotPf
34            (1 begemotPfObjects
35              (1 pfStatus
36                (1 pfStatusRunning ENUM ( 1 true 2 false ) pf_status GET)
37                (2 pfStatusRuntime TIMETICKS pf_status GET)
38                (3 pfStatusDebug ENUM ( 0 none 1 urgent 2 misc 3 loud ) pf_status GET)
39                (4 pfStatusHostId OCTETSTRING pf_status GET)
40              )
41              (2 pfCounter
42                (1 pfCounterMatch COUNTER64 pf_counter GET)
43                (2 pfCounterBadOffset COUNTER64 pf_counter GET)
44                (3 pfCounterFragment COUNTER64 pf_counter GET)
45                (4 pfCounterShort COUNTER64 pf_counter GET)
46                (5 pfCounterNormalize COUNTER64 pf_counter GET)
47                (6 pfCounterMemDrop COUNTER64 pf_counter GET)
48              )
49              (3 pfStateTable
50                (1 pfStateTableCount UNSIGNED32 pf_statetable GET)
51                (2 pfStateTableSearches COUNTER64 pf_statetable GET)
52                (3 pfStateTableInserts COUNTER64 pf_statetable GET)
53                (4 pfStateTableRemovals COUNTER64 pf_statetable GET)
54              )
55              (4 pfSrcNodes
56                (1 pfSrcNodesCount UNSIGNED32 pf_srcnodes GET)
57                (2 pfSrcNodesSearches COUNTER64 pf_srcnodes GET)
58                (3 pfSrcNodesInserts COUNTER64 pf_srcnodes GET)
59                (4 pfSrcNodesRemovals COUNTER64 pf_srcnodes GET)
60              )
61              (5 pfLimits
62                (1 pfLimitsStates UNSIGNED32 pf_limits GET)
63                (2 pfLimitsSrcNodes UNSIGNED32 pf_limits GET)
64                (3 pfLimitsFrags UNSIGNED32 pf_limits GET)
65              )
66              (6 pfTimeouts
67                (1 pfTimeoutsTcpFirst INTEGER32 pf_timeouts GET)
68                (2 pfTimeoutsTcpOpening INTEGER32 pf_timeouts GET)
69                (3 pfTimeoutsTcpEstablished INTEGER32 pf_timeouts GET)
70                (4 pfTimeoutsTcpClosing INTEGER32 pf_timeouts GET)
71                (5 pfTimeoutsTcpFinWait INTEGER32 pf_timeouts GET)
72                (6 pfTimeoutsTcpClosed INTEGER32 pf_timeouts GET)
73                (7 pfTimeoutsUdpFirst INTEGER32 pf_timeouts GET)
74                (8 pfTimeoutsUdpSingle INTEGER32 pf_timeouts GET)
75                (9 pfTimeoutsUdpMultiple INTEGER32 pf_timeouts GET)
76                (10 pfTimeoutsIcmpFirst INTEGER32 pf_timeouts GET)
77                (11 pfTimeoutsIcmpError INTEGER32 pf_timeouts GET)
78                (12 pfTimeoutsOtherFirst INTEGER32 pf_timeouts GET)
79                (13 pfTimeoutsOtherSingle INTEGER32 pf_timeouts GET)
80                (14 pfTimeoutsOtherMultiple INTEGER32 pf_timeouts GET)
81                (15 pfTimeoutsFragment INTEGER32 pf_timeouts GET)
82                (16 pfTimeoutsInterval INTEGER32 pf_timeouts GET)
83                (17 pfTimeoutsAdaptiveStart INTEGER32 pf_timeouts GET)
84                (18 pfTimeoutsAdaptiveEnd INTEGER32 pf_timeouts GET)
85                (19 pfTimeoutsSrcNode INTEGER32 pf_timeouts GET)
86              )
87              (7 pfLogInterface
88                (1 pfLogInterfaceName OCTETSTRING pf_logif GET)
89                (2 pfLogInterfaceIp4BytesIn COUNTER64 pf_logif GET)
90                (3 pfLogInterfaceIp4BytesOut COUNTER64 pf_logif GET)
91                (4 pfLogInterfaceIp4PktsInPass COUNTER64 pf_logif GET)
92                (5 pfLogInterfaceIp4PktsInDrop COUNTER64 pf_logif GET)
93                (6 pfLogInterfaceIp4PktsOutPass COUNTER64 pf_logif GET)
94                (7 pfLogInterfaceIp4PktsOutDrop COUNTER64 pf_logif GET)
95                (8 pfLogInterfaceIp6BytesIn COUNTER64 pf_logif GET)
96                (9 pfLogInterfaceIp6BytesOut COUNTER64 pf_logif GET)
97                (10 pfLogInterfaceIp6PktsInPass COUNTER64 pf_logif GET)
98                (11 pfLogInterfaceIp6PktsInDrop COUNTER64 pf_logif GET)
99                (12 pfLogInterfaceIp6PktsOutPass COUNTER64 pf_logif GET)
100                (13 pfLogInterfaceIp6PktsOutDrop COUNTER64 pf_logif GET)
101              )
102              (8 pfInterfaces
103                (1 pfInterfacesIfNumber INTEGER32 pf_interfaces GET)
104                (2 pfInterfacesIfTable
105                  (1 pfInterfacesIfEntry : INTEGER32 pf_iftable
106                    (1 pfInterfacesIfIndex INTEGER32)
107                    (2 pfInterfacesIfDescr OCTETSTRING GET)
108                    (3 pfInterfacesIfType ENUM ( 0 group 1 instance 2 detached ) GET)
109		    (4 pfInterfacesIfTZero TIMETICKS GET)
110                    (5 pfInterfacesIfRefsState NULL GET)
111                    (6 pfInterfacesIfRefsRule UNSIGNED32 GET)
112                    (7 pfInterfacesIf4BytesInPass COUNTER64 GET)
113                    (8 pfInterfacesIf4BytesInBlock COUNTER64 GET)
114                    (9 pfInterfacesIf4BytesOutPass COUNTER64 GET)
115                    (10 pfInterfacesIf4BytesOutBlock COUNTER64 GET)
116                    (11 pfInterfacesIf4PktsInPass COUNTER64 GET)
117                    (12 pfInterfacesIf4PktsInBlock COUNTER64 GET)
118                    (13 pfInterfacesIf4PktsOutPass COUNTER64 GET)
119                    (14 pfInterfacesIf4PktsOutBlock COUNTER64 GET)
120                    (15 pfInterfacesIf6BytesInPass COUNTER64 GET)
121                    (16 pfInterfacesIf6BytesInBlock COUNTER64 GET)
122                    (17 pfInterfacesIf6BytesOutPass COUNTER64 GET)
123                    (18 pfInterfacesIf6BytesOutBlock COUNTER64 GET)
124                    (19 pfInterfacesIf6PktsInPass COUNTER64 GET)
125                    (20 pfInterfacesIf6PktsInBlock COUNTER64 GET)
126                    (21 pfInterfacesIf6PktsOutPass COUNTER64 GET)
127                    (22 pfInterfacesIf6PktsOutBlock COUNTER64 GET)
128                  )
129                )
130              )
131	      (9 pfTables
132	        (1 pfTablesTblNumber INTEGER32 pf_tables GET)
133		(2 pfTablesTblTable
134		  (1 pfTablesTblEntry : INTEGER32 pf_tbltable
135		    (1 pfTablesTblIndex INTEGER32)
136		    (2 pfTablesTblDescr OCTETSTRING GET)
137		    (3 pfTablesTblCount INTEGER32 GET)
138		    (4 pfTablesTblTZero TIMETICKS GET)
139		    (5 pfTablesTblRefsAnchor INTEGER32 GET)
140		    (6 pfTablesTblRefsRule INTEGER32 GET)
141		    (7 pfTablesTblEvalMatch COUNTER64 GET)
142		    (8 pfTablesTblEvalNoMatch COUNTER64 GET)
143		    (9 pfTablesTblBytesInPass COUNTER64 GET)
144		    (10 pfTablesTblBytesInBlock COUNTER64 GET)
145		    (11 pfTablesTblBytesInXPass COUNTER64 GET)
146		    (12 pfTablesTblBytesOutPass COUNTER64 GET)
147		    (13 pfTablesTblBytesOutBlock COUNTER64 GET)
148		    (14 pfTablesTblBytesOutXPass COUNTER64 GET)
149		    (15 pfTablesTblPktsInPass COUNTER64 GET)
150		    (16 pfTablesTblPktsInBlock COUNTER64 GET)
151		    (17 pfTablesTblPktsInXPass COUNTER64 GET)
152		    (18 pfTablesTblPktsOutPass COUNTER64 GET)
153		    (19 pfTablesTblPktsOutBlock COUNTER64 GET)
154		    (20 pfTablesTblPktsOutXPass COUNTER64 GET)
155		  )
156		)
157		(3 pfTablesAddrTable
158		  (1 pfTablesAddrEntry : INTEGER32 pf_tbladdr
159		    (1 pfTablesAddrIndex INTEGER32)
160		    (2 pfTablesAddrNetType ENUM ( 0 unknown 1 ipv4 2 ipv6) GET)
161		    (3 pfTablesAddrNet OCTETSTRING | InetAddress GET)
162		    (4 pfTablesAddrPrefix UNSIGNED32 GET)
163		    (5 pfTablesAddrTZero TIMETICKS GET)
164		    (6 pfTablesAddrBytesInPass COUNTER64 GET)
165		    (7 pfTablesAddrBytesInBlock COUNTER64 GET)
166		    (8 pfTablesAddrBytesOutPass COUNTER64 GET)
167		    (9 pfTablesAddrBytesOutBlock COUNTER64 GET)
168		    (10 pfTablesAddrPktsInPass COUNTER64 GET)
169		    (11 pfTablesAddrPktsInBlock COUNTER64 GET)
170		    (12 pfTablesAddrPktsOutPass COUNTER64 GET)
171		    (13 pfTablesAddrPktsOutBlock COUNTER64 GET)
172		  )
173		)
174	      )
175	      (10 pfAltq
176	        (1 pfAltqQueueNumber INTEGER32 pf_altq_num GET)
177		(2 pfAltqQueueTable
178		  (1 pfAltqQueueEntry : INTEGER32 pf_altqq
179		    (1 pfAltqQueueIndex INTEGER32)
180		    (2 pfAltqQueueDescr OCTETSTRING GET)
181		    (3 pfAltqQueueParent OCTETSTRING GET)
182		    (4 pfAltqQueueScheduler ENUM ( 1 cbq 8 hfsc 11 priq ) GET)
183		    (5 pfAltqQueueBandwidth UNSIGNED32 GET)
184		    (6 pfAltqQueuePriority INTEGER32 GET)
185		    (7 pfAltqQueueLimit INTEGER32 GET)
186		  )
187		)
188	      )
189	      (11 pfLabels
190		(1 pfLabelsLblNumber INTEGER32 pf_labels GET)
191		(2 pfLabelsLblTable
192		  (1 pfLabelsLblEntry : INTEGER pf_lbltable
193		    (1 pfLabelsLblIndex INTEGER)
194		    (2 pfLabelsLblName OCTETSTRING GET)
195		    (3 pfLabelsLblEvals COUNTER64 GET)
196		    (4 pfLabelsLblBytesIn COUNTER64 GET)
197		    (5 pfLabelsLblBytesOut COUNTER64 GET)
198		    (6 pfLabelsLblPktsIn COUNTER64 GET)
199		    (7 pfLabelsLblPktsOut COUNTER64 GET)
200		  )
201		)
202	      )
203            )
204          )
205        )
206      )
207    )
208  )
209)
210