ip_mib_module.c
Go to the documentation of this file.
1 /**
2  * @file ip_mib_module.c
3  * @brief IP MIB module
4  *
5  * @section License
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  *
9  * Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
10  *
11  * This file is part of CycloneTCP Open.
12  *
13  * This program is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software Foundation,
25  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26  *
27  * @section Description
28  *
29  * The IP-MIB describes managed objects used for implementations of the
30  * Internet Protocol (IP) in an IP version independent manner. Refer to
31  * the following RFCs for complete details:
32  * - RFC 4293: MIB for the Internet Protocol (IP)
33  * - RFC 4001: Textual Conventions for Internet Network Addresses
34  *
35  * @author Oryx Embedded SARL (www.oryx-embedded.com)
36  * @version 2.4.4
37  **/
38 
39 //Switch to the appropriate trace level
40 #define TRACE_LEVEL SNMP_TRACE_LEVEL
41 
42 //Dependencies
43 #include "core/net.h"
44 #include "mibs/mib_common.h"
45 #include "mibs/ip_mib_module.h"
46 #include "mibs/ip_mib_impl.h"
47 #include "core/crypto.h"
48 #include "encoding/asn1.h"
49 #include "encoding/oid.h"
50 #include "debug.h"
51 
52 //Check TCP/IP stack configuration
53 #if (IP_MIB_SUPPORT == ENABLED)
54 
55 
56 /**
57  * @brief IP MIB base
58  **/
59 
61 
62 
63 /**
64  * @brief IP MIB objects
65  **/
66 
68 {
69 #if (IPV4_SUPPORT == ENABLED)
70  //ipForwarding object (1.3.6.1.2.1.4.1)
71  {
72  "ipForwarding",
73  {43, 6, 1, 2, 1, 4, 1},
74  7,
79  NULL,
80  sizeof(int32_t),
81  NULL,
82  NULL,
83  NULL
84  },
85  //ipDefaultTTL object (1.3.6.1.2.1.4.2)
86  {
87  "ipDefaultTTL",
88  {43, 6, 1, 2, 1, 4, 2},
89  7,
94  NULL,
95  sizeof(int32_t),
96  NULL,
97  NULL,
98  NULL
99  },
100  //ipReasmTimeout object (1.3.6.1.2.1.4.13)
101  {
102  "ipReasmTimeout",
103  {43, 6, 1, 2, 1, 4, 13},
104  7,
109  NULL,
110  sizeof(int32_t),
111  NULL,
112  NULL,
113  NULL
114  },
115 #endif
116 #if (IPV6_SUPPORT == ENABLED)
117  //ipv6IpForwarding object (1.3.6.1.2.1.4.25)
118  {
119  "ipv6IpForwarding",
120  {43, 6, 1, 2, 1, 4, 25},
121  7,
126  NULL,
127  sizeof(int32_t),
128  NULL,
129  NULL,
130  NULL
131  },
132  //ipv6IpDefaultHopLimit object (1.3.6.1.2.1.4.26)
133  {
134  "ipv6IpDefaultHopLimit",
135  {43, 6, 1, 2, 1, 4, 26},
136  7,
141  NULL,
142  sizeof(int32_t),
143  NULL,
144  NULL,
145  NULL
146  },
147 #endif
148 #if (IPV4_SUPPORT == ENABLED)
149  //ipv4InterfaceTableLastChange object (1.3.6.1.2.1.4.27)
150  {
151  "ipv4InterfaceTableLastChange",
152  {43, 6, 1, 2, 1, 4, 27},
153  7,
158  NULL,
159  sizeof(uint32_t),
160  NULL,
161  NULL,
162  NULL
163  },
164  //ipv4InterfaceReasmMaxSize object (1.3.6.1.2.1.4.28.1.2)
165  {
166  "ipv4InterfaceReasmMaxSize",
167  {43, 6, 1, 2, 1, 4, 28, 1, 2},
168  9,
172  NULL,
173  NULL,
174  sizeof(int32_t),
175  NULL,
178  },
179  //ipv4InterfaceEnableStatus object (1.3.6.1.2.1.4.28.1.3)
180  {
181  "ipv4InterfaceEnableStatus",
182  {43, 6, 1, 2, 1, 4, 28, 1, 3},
183  9,
187  NULL,
188  NULL,
189  sizeof(int32_t),
193  },
194  //ipv4InterfaceRetransmitTime object (1.3.6.1.2.1.4.28.1.4)
195  {
196  "ipv4InterfaceRetransmitTime",
197  {43, 6, 1, 2, 1, 4, 28, 1, 4},
198  9,
202  NULL,
203  NULL,
204  sizeof(uint32_t),
205  NULL,
208  },
209 #endif
210 #if (IPV6_SUPPORT == ENABLED)
211  //ipv6InterfaceTableLastChange object (1.3.6.1.2.1.4.29)
212  {
213  "ipv6InterfaceTableLastChange",
214  {43, 6, 1, 2, 1, 4, 29},
215  7,
220  NULL,
221  sizeof(uint32_t),
222  NULL,
223  NULL,
224  NULL
225  },
226  //ipv6InterfaceReasmMaxSize object (1.3.6.1.2.1.4.30.1.2)
227  {
228  "ipv6InterfaceReasmMaxSize",
229  {43, 6, 1, 2, 1, 4, 30, 1, 2},
230  9,
234  NULL,
235  NULL,
236  sizeof(uint32_t),
237  NULL,
240  },
241  //ipv6InterfaceIdentifier object (1.3.6.1.2.1.4.30.1.3)
242  {
243  "ipv6InterfaceIdentifier",
244  {43, 6, 1, 2, 1, 4, 30, 1, 3},
245  9,
249  NULL,
250  NULL,
251  0,
252  NULL,
255  },
256  //ipv6InterfaceEnableStatus object (1.3.6.1.2.1.4.30.1.5)
257  {
258  "ipv6InterfaceEnableStatus",
259  {43, 6, 1, 2, 1, 4, 30, 1, 5},
260  9,
264  NULL,
265  NULL,
266  sizeof(int32_t),
270  },
271  //ipv6InterfaceReachableTime object (1.3.6.1.2.1.4.30.1.6)
272  {
273  "ipv6InterfaceReachableTime",
274  {43, 6, 1, 2, 1, 4, 30, 1, 6},
275  9,
279  NULL,
280  NULL,
281  sizeof(uint32_t),
282  NULL,
285  },
286  //ipv6InterfaceRetransmitTime object (1.3.6.1.2.1.4.30.1.7)
287  {
288  "ipv6InterfaceRetransmitTime",
289  {43, 6, 1, 2, 1, 4, 30, 1, 7},
290  9,
294  NULL,
295  NULL,
296  sizeof(uint32_t),
297  NULL,
300  },
301  //ipv6InterfaceForwarding object (1.3.6.1.2.1.4.30.1.8)
302  {
303  "ipv6InterfaceForwarding",
304  {43, 6, 1, 2, 1, 4, 30, 1, 8},
305  9,
309  NULL,
310  NULL,
311  sizeof(int32_t),
315  },
316 #endif
317  //ipSystemStatsInReceives object (1.3.6.1.2.1.4.31.1.1.3)
318  {
319  "ipSystemStatsInReceives",
320  {43, 6, 1, 2, 1, 4, 31, 1, 1, 3},
321  10,
325  NULL,
326  NULL,
327  sizeof(uint32_t),
328  NULL,
331  },
332  //ipSystemStatsHCInReceives object (1.3.6.1.2.1.4.31.1.1.4)
333  {
334  "ipSystemStatsHCInReceives",
335  {43, 6, 1, 2, 1, 4, 31, 1, 1, 4},
336  10,
340  NULL,
341  NULL,
342  sizeof(uint64_t),
343  NULL,
346  },
347  //ipSystemStatsInOctets object (1.3.6.1.2.1.4.31.1.1.5)
348  {
349  "ipSystemStatsInOctets",
350  {43, 6, 1, 2, 1, 4, 31, 1, 1, 5},
351  10,
355  NULL,
356  NULL,
357  sizeof(uint32_t),
358  NULL,
361  },
362  //ipSystemStatsHCInOctets object (1.3.6.1.2.1.4.31.1.1.6)
363  {
364  "ipSystemStatsHCInOctets",
365  {43, 6, 1, 2, 1, 4, 31, 1, 1, 6},
366  10,
370  NULL,
371  NULL,
372  sizeof(uint64_t),
373  NULL,
376  },
377  //ipSystemStatsInHdrErrors object (1.3.6.1.2.1.4.31.1.1.7)
378  {
379  "ipSystemStatsInHdrErrors",
380  {43, 6, 1, 2, 1, 4, 31, 1, 1, 7},
381  10,
385  NULL,
386  NULL,
387  sizeof(uint32_t),
388  NULL,
391  },
392  //ipSystemStatsInNoRoutes object (1.3.6.1.2.1.4.31.1.1.8)
393  {
394  "ipSystemStatsInNoRoutes",
395  {43, 6, 1, 2, 1, 4, 31, 1, 1, 8},
396  10,
400  NULL,
401  NULL,
402  sizeof(uint32_t),
403  NULL,
406  },
407  //ipSystemStatsInAddrErrors object (1.3.6.1.2.1.4.31.1.1.9)
408  {
409  "ipSystemStatsInAddrErrors",
410  {43, 6, 1, 2, 1, 4, 31, 1, 1, 9},
411  10,
415  NULL,
416  NULL,
417  sizeof(uint32_t),
418  NULL,
421  },
422  //ipSystemStatsInUnknownProtos object (1.3.6.1.2.1.4.31.1.1.10)
423  {
424  "ipSystemStatsInUnknownProtos",
425  {43, 6, 1, 2, 1, 4, 31, 1, 1, 10},
426  10,
430  NULL,
431  NULL,
432  sizeof(uint32_t),
433  NULL,
436  },
437  //ipSystemStatsInTruncatedPkts object (1.3.6.1.2.1.4.31.1.1.11)
438  {
439  "ipSystemStatsInTruncatedPkts",
440  {43, 6, 1, 2, 1, 4, 31, 1, 1, 11},
441  10,
445  NULL,
446  NULL,
447  sizeof(uint32_t),
448  NULL,
451  },
452  //ipSystemStatsInForwDatagrams object (1.3.6.1.2.1.4.31.1.1.12)
453  {
454  "ipSystemStatsInForwDatagrams",
455  {43, 6, 1, 2, 1, 4, 31, 1, 1, 12},
456  10,
460  NULL,
461  NULL,
462  sizeof(uint32_t),
463  NULL,
466  },
467  //ipSystemStatsHCInForwDatagrams object (1.3.6.1.2.1.4.31.1.1.13)
468  {
469  "ipSystemStatsHCInForwDatagrams",
470  {43, 6, 1, 2, 1, 4, 31, 1, 1, 13},
471  10,
475  NULL,
476  NULL,
477  sizeof(uint64_t),
478  NULL,
481  },
482  //ipSystemStatsReasmReqds object (1.3.6.1.2.1.4.31.1.1.14)
483  {
484  "ipSystemStatsReasmReqds",
485  {43, 6, 1, 2, 1, 4, 31, 1, 1, 14},
486  10,
490  NULL,
491  NULL,
492  sizeof(uint32_t),
493  NULL,
496  },
497  //ipSystemStatsReasmOKs object (1.3.6.1.2.1.4.31.1.1.15)
498  {
499  "ipSystemStatsReasmOKs",
500  {43, 6, 1, 2, 1, 4, 31, 1, 1, 15},
501  10,
505  NULL,
506  NULL,
507  sizeof(uint32_t),
508  NULL,
511  },
512  //ipSystemStatsReasmFails object (1.3.6.1.2.1.4.31.1.1.16)
513  {
514  "ipSystemStatsReasmFails",
515  {43, 6, 1, 2, 1, 4, 31, 1, 1, 16},
516  10,
520  NULL,
521  NULL,
522  sizeof(uint32_t),
523  NULL,
526  },
527  //ipSystemStatsInDiscards object (1.3.6.1.2.1.4.31.1.1.17)
528  {
529  "ipSystemStatsInDiscards",
530  {43, 6, 1, 2, 1, 4, 31, 1, 1, 17},
531  10,
535  NULL,
536  NULL,
537  sizeof(uint32_t),
538  NULL,
541  },
542  //ipSystemStatsInDelivers object (1.3.6.1.2.1.4.31.1.1.18)
543  {
544  "ipSystemStatsInDelivers",
545  {43, 6, 1, 2, 1, 4, 31, 1, 1, 18},
546  10,
550  NULL,
551  NULL,
552  sizeof(uint32_t),
553  NULL,
556  },
557  //ipSystemStatsHCInDelivers object (1.3.6.1.2.1.4.31.1.1.19)
558  {
559  "ipSystemStatsHCInDelivers",
560  {43, 6, 1, 2, 1, 4, 31, 1, 1, 19},
561  10,
565  NULL,
566  NULL,
567  sizeof(uint64_t),
568  NULL,
571  },
572  //ipSystemStatsOutRequests object (1.3.6.1.2.1.4.31.1.1.20)
573  {
574  "ipSystemStatsOutRequests",
575  {43, 6, 1, 2, 1, 4, 31, 1, 1, 20},
576  10,
580  NULL,
581  NULL,
582  sizeof(uint32_t),
583  NULL,
586  },
587  //ipSystemStatsHCOutRequests object (1.3.6.1.2.1.4.31.1.1.21)
588  {
589  "ipSystemStatsHCOutRequests",
590  {43, 6, 1, 2, 1, 4, 31, 1, 1, 21},
591  10,
595  NULL,
596  NULL,
597  sizeof(uint64_t),
598  NULL,
601  },
602  //ipSystemStatsOutNoRoutes object (1.3.6.1.2.1.4.31.1.1.22)
603  {
604  "ipSystemStatsOutNoRoutes",
605  {43, 6, 1, 2, 1, 4, 31, 1, 1, 22},
606  10,
610  NULL,
611  NULL,
612  sizeof(uint32_t),
613  NULL,
616  },
617  //ipSystemStatsOutForwDatagrams object (1.3.6.1.2.1.4.31.1.1.23)
618  {
619  "ipSystemStatsOutForwDatagrams",
620  {43, 6, 1, 2, 1, 4, 31, 1, 1, 23},
621  10,
625  NULL,
626  NULL,
627  sizeof(uint32_t),
628  NULL,
631  },
632  //ipSystemStatsHCOutForwDatagrams object (1.3.6.1.2.1.4.31.1.1.24)
633  {
634  "ipSystemStatsHCOutForwDatagrams",
635  {43, 6, 1, 2, 1, 4, 31, 1, 1, 24},
636  10,
640  NULL,
641  NULL,
642  sizeof(uint64_t),
643  NULL,
646  },
647  //ipSystemStatsOutDiscards object (1.3.6.1.2.1.4.31.1.1.25)
648  {
649  "ipSystemStatsOutDiscards",
650  {43, 6, 1, 2, 1, 4, 31, 1, 1, 25},
651  10,
655  NULL,
656  NULL,
657  sizeof(uint32_t),
658  NULL,
661  },
662  //ipSystemStatsOutFragReqds object (1.3.6.1.2.1.4.31.1.1.26)
663  {
664  "ipSystemStatsOutFragReqds",
665  {43, 6, 1, 2, 1, 4, 31, 1, 1, 26},
666  10,
670  NULL,
671  NULL,
672  sizeof(uint32_t),
673  NULL,
676  },
677  //ipSystemStatsOutFragOKs object (1.3.6.1.2.1.4.31.1.1.27)
678  {
679  "ipSystemStatsOutFragOKs",
680  {43, 6, 1, 2, 1, 4, 31, 1, 1, 27},
681  10,
685  NULL,
686  NULL,
687  sizeof(uint32_t),
688  NULL,
691  },
692  //ipSystemStatsOutFragFails object (1.3.6.1.2.1.4.31.1.1.28)
693  {
694  "ipSystemStatsOutFragFails",
695  {43, 6, 1, 2, 1, 4, 31, 1, 1, 28},
696  10,
700  NULL,
701  NULL,
702  sizeof(uint32_t),
703  NULL,
706  },
707  //ipSystemStatsOutFragCreates object (1.3.6.1.2.1.4.31.1.1.29)
708  {
709  "ipSystemStatsOutFragCreates",
710  {43, 6, 1, 2, 1, 4, 31, 1, 1, 29},
711  10,
715  NULL,
716  NULL,
717  sizeof(uint32_t),
718  NULL,
721  },
722  //ipSystemStatsOutTransmits object (1.3.6.1.2.1.4.31.1.1.30)
723  {
724  "ipSystemStatsOutTransmits",
725  {43, 6, 1, 2, 1, 4, 31, 1, 1, 30},
726  10,
730  NULL,
731  NULL,
732  sizeof(uint32_t),
733  NULL,
736  },
737  //ipSystemStatsHCOutTransmits object (1.3.6.1.2.1.4.31.1.1.31)
738  {
739  "ipSystemStatsHCOutTransmits",
740  {43, 6, 1, 2, 1, 4, 31, 1, 1, 31},
741  10,
745  NULL,
746  NULL,
747  sizeof(uint64_t),
748  NULL,
751  },
752  //ipSystemStatsOutOctets object (1.3.6.1.2.1.4.31.1.1.32)
753  {
754  "ipSystemStatsOutOctets",
755  {43, 6, 1, 2, 1, 4, 31, 1, 1, 32},
756  10,
760  NULL,
761  NULL,
762  sizeof(uint32_t),
763  NULL,
766  },
767  //ipSystemStatsHCOutOctets object (1.3.6.1.2.1.4.31.1.1.33)
768  {
769  "ipSystemStatsHCOutOctets",
770  {43, 6, 1, 2, 1, 4, 31, 1, 1, 33},
771  10,
775  NULL,
776  NULL,
777  sizeof(uint64_t),
778  NULL,
781  },
782  //ipSystemStatsInMcastPkts object (1.3.6.1.2.1.4.31.1.1.34)
783  {
784  "ipSystemStatsInMcastPkts",
785  {43, 6, 1, 2, 1, 4, 31, 1, 1, 34},
786  10,
790  NULL,
791  NULL,
792  sizeof(uint32_t),
793  NULL,
796  },
797  //ipSystemStatsHCInMcastPkts object (1.3.6.1.2.1.4.31.1.1.35)
798  {
799  "ipSystemStatsHCInMcastPkts",
800  {43, 6, 1, 2, 1, 4, 31, 1, 1, 35},
801  10,
805  NULL,
806  NULL,
807  sizeof(uint64_t),
808  NULL,
811  },
812  //ipSystemStatsInMcastOctets object (1.3.6.1.2.1.4.31.1.1.36)
813  {
814  "ipSystemStatsInMcastOctets",
815  {43, 6, 1, 2, 1, 4, 31, 1, 1, 36},
816  10,
820  NULL,
821  NULL,
822  sizeof(uint32_t),
823  NULL,
826  },
827  //ipSystemStatsHCInMcastOctets object (1.3.6.1.2.1.4.31.1.1.37)
828  {
829  "ipSystemStatsHCInMcastOctets",
830  {43, 6, 1, 2, 1, 4, 31, 1, 1, 37},
831  10,
835  NULL,
836  NULL,
837  sizeof(uint64_t),
838  NULL,
841  },
842  //ipSystemStatsOutMcastPkts object (1.3.6.1.2.1.4.31.1.1.38)
843  {
844  "ipSystemStatsOutMcastPkts",
845  {43, 6, 1, 2, 1, 4, 31, 1, 1, 38},
846  10,
850  NULL,
851  NULL,
852  sizeof(uint32_t),
853  NULL,
856  },
857  //ipSystemStatsHCOutMcastPkts object (1.3.6.1.2.1.4.31.1.1.39)
858  {
859  "ipSystemStatsHCOutMcastPkts",
860  {43, 6, 1, 2, 1, 4, 31, 1, 1, 39},
861  10,
865  NULL,
866  NULL,
867  sizeof(uint64_t),
868  NULL,
871  },
872  //ipSystemStatsOutMcastOctets object (1.3.6.1.2.1.4.31.1.1.40)
873  {
874  "ipSystemStatsOutMcastOctets",
875  {43, 6, 1, 2, 1, 4, 31, 1, 1, 40},
876  10,
880  NULL,
881  NULL,
882  sizeof(uint32_t),
883  NULL,
886  },
887  //ipSystemStatsHCOutMcastOctets object (1.3.6.1.2.1.4.31.1.1.41)
888  {
889  "ipSystemStatsHCOutMcastOctets",
890  {43, 6, 1, 2, 1, 4, 31, 1, 1, 41},
891  10,
895  NULL,
896  NULL,
897  sizeof(uint64_t),
898  NULL,
901  },
902  //ipSystemStatsInBcastPkts object (1.3.6.1.2.1.4.31.1.1.42)
903  {
904  "ipSystemStatsInBcastPkts",
905  {43, 6, 1, 2, 1, 4, 31, 1, 1, 42},
906  10,
910  NULL,
911  NULL,
912  sizeof(uint32_t),
913  NULL,
916  },
917  //ipSystemStatsHCInBcastPkts object (1.3.6.1.2.1.4.31.1.1.43)
918  {
919  "ipSystemStatsHCInBcastPkts",
920  {43, 6, 1, 2, 1, 4, 31, 1, 1, 43},
921  10,
925  NULL,
926  NULL,
927  sizeof(uint64_t),
928  NULL,
931  },
932  //ipSystemStatsOutBcastPkts object (1.3.6.1.2.1.4.31.1.1.44)
933  {
934  "ipSystemStatsOutBcastPkts",
935  {43, 6, 1, 2, 1, 4, 31, 1, 1, 44},
936  10,
940  NULL,
941  NULL,
942  sizeof(uint32_t),
943  NULL,
946  },
947  //ipSystemStatsHCOutBcastPkts object (1.3.6.1.2.1.4.31.1.1.45)
948  {
949  "ipSystemStatsHCOutBcastPkts",
950  {43, 6, 1, 2, 1, 4, 31, 1, 1, 45},
951  10,
955  NULL,
956  NULL,
957  sizeof(uint64_t),
958  NULL,
961  },
962  //ipSystemStatsDiscontinuityTime object (1.3.6.1.2.1.4.31.1.1.46)
963  {
964  "ipSystemStatsDiscontinuityTime",
965  {43, 6, 1, 2, 1, 4, 31, 1, 1, 46},
966  10,
970  NULL,
971  NULL,
972  sizeof(uint32_t),
973  NULL,
976  },
977  //ipSystemStatsRefreshRate object (1.3.6.1.2.1.4.31.1.1.47)
978  {
979  "ipSystemStatsRefreshRate",
980  {43, 6, 1, 2, 1, 4, 31, 1, 1, 47},
981  10,
985  NULL,
986  NULL,
987  sizeof(uint32_t),
988  NULL,
991  },
992  //ipIfStatsTableLastChange object (1.3.6.1.2.1.4.31.2)
993  {
994  "ipIfStatsTableLastChange",
995  {43, 6, 1, 2, 1, 4, 31, 2},
996  8,
1001  NULL,
1002  sizeof(uint32_t),
1003  NULL,
1004  NULL,
1005  NULL
1006  },
1007  //ipIfStatsInReceives object (1.3.6.1.2.1.4.31.3.1.3)
1008  {
1009  "ipIfStatsInReceives",
1010  {43, 6, 1, 2, 1, 4, 31, 3, 1, 3},
1011  10,
1015  NULL,
1016  NULL,
1017  sizeof(uint32_t),
1018  NULL,
1021  },
1022  //ipIfStatsHCInReceives object (1.3.6.1.2.1.4.31.3.1.4)
1023  {
1024  "ipIfStatsHCInReceives",
1025  {43, 6, 1, 2, 1, 4, 31, 3, 1, 4},
1026  10,
1030  NULL,
1031  NULL,
1032  sizeof(uint64_t),
1033  NULL,
1036  },
1037  //ipIfStatsInOctets object (1.3.6.1.2.1.4.31.3.1.5)
1038  {
1039  "ipIfStatsInOctets",
1040  {43, 6, 1, 2, 1, 4, 31, 3, 1, 5},
1041  10,
1045  NULL,
1046  NULL,
1047  sizeof(uint32_t),
1048  NULL,
1051  },
1052  //ipIfStatsHCInOctets object (1.3.6.1.2.1.4.31.3.1.6)
1053  {
1054  "ipIfStatsHCInOctets",
1055  {43, 6, 1, 2, 1, 4, 31, 3, 1, 6},
1056  10,
1060  NULL,
1061  NULL,
1062  sizeof(uint64_t),
1063  NULL,
1066  },
1067  //ipIfStatsInHdrErrors object (1.3.6.1.2.1.4.31.3.1.7)
1068  {
1069  "ipIfStatsInHdrErrors",
1070  {43, 6, 1, 2, 1, 4, 31, 3, 1, 7},
1071  10,
1075  NULL,
1076  NULL,
1077  sizeof(uint32_t),
1078  NULL,
1081  },
1082  //ipIfStatsInNoRoutes object (1.3.6.1.2.1.4.31.3.1.8)
1083  {
1084  "ipIfStatsInNoRoutes",
1085  {43, 6, 1, 2, 1, 4, 31, 3, 1, 8},
1086  10,
1090  NULL,
1091  NULL,
1092  sizeof(uint32_t),
1093  NULL,
1096  },
1097  //ipIfStatsInAddrErrors object (1.3.6.1.2.1.4.31.3.1.9)
1098  {
1099  "ipIfStatsInAddrErrors",
1100  {43, 6, 1, 2, 1, 4, 31, 3, 1, 9},
1101  10,
1105  NULL,
1106  NULL,
1107  sizeof(uint32_t),
1108  NULL,
1111  },
1112  //ipIfStatsInUnknownProtos object (1.3.6.1.2.1.4.31.3.1.10)
1113  {
1114  "ipIfStatsInUnknownProtos",
1115  {43, 6, 1, 2, 1, 4, 31, 3, 1, 10},
1116  10,
1120  NULL,
1121  NULL,
1122  sizeof(uint32_t),
1123  NULL,
1126  },
1127  //ipIfStatsInTruncatedPkts object (1.3.6.1.2.1.4.31.3.1.11)
1128  {
1129  "ipIfStatsInTruncatedPkts",
1130  {43, 6, 1, 2, 1, 4, 31, 3, 1, 11},
1131  10,
1135  NULL,
1136  NULL,
1137  sizeof(uint32_t),
1138  NULL,
1141  },
1142  //ipIfStatsInForwDatagrams object (1.3.6.1.2.1.4.31.3.1.12)
1143  {
1144  "ipIfStatsInForwDatagrams",
1145  {43, 6, 1, 2, 1, 4, 31, 3, 1, 12},
1146  10,
1150  NULL,
1151  NULL,
1152  sizeof(uint32_t),
1153  NULL,
1156  },
1157  //ipIfStatsHCInForwDatagrams object (1.3.6.1.2.1.4.31.3.1.13)
1158  {
1159  "ipIfStatsHCInForwDatagrams",
1160  {43, 6, 1, 2, 1, 4, 31, 3, 1, 13},
1161  10,
1165  NULL,
1166  NULL,
1167  sizeof(uint64_t),
1168  NULL,
1171  },
1172  //ipIfStatsReasmReqds object (1.3.6.1.2.1.4.31.3.1.14)
1173  {
1174  "ipIfStatsReasmReqds",
1175  {43, 6, 1, 2, 1, 4, 31, 3, 1, 14},
1176  10,
1180  NULL,
1181  NULL,
1182  sizeof(uint32_t),
1183  NULL,
1186  },
1187  //ipIfStatsReasmOKs object (1.3.6.1.2.1.4.31.3.1.15)
1188  {
1189  "ipIfStatsReasmOKs",
1190  {43, 6, 1, 2, 1, 4, 31, 3, 1, 15},
1191  10,
1195  NULL,
1196  NULL,
1197  sizeof(uint32_t),
1198  NULL,
1201  },
1202  //ipIfStatsReasmFails object (1.3.6.1.2.1.4.31.3.1.16)
1203  {
1204  "ipIfStatsReasmFails",
1205  {43, 6, 1, 2, 1, 4, 31, 3, 1, 16},
1206  10,
1210  NULL,
1211  NULL,
1212  sizeof(uint32_t),
1213  NULL,
1216  },
1217  //ipIfStatsInDiscards object (1.3.6.1.2.1.4.31.3.1.17)
1218  {
1219  "ipIfStatsInDiscards",
1220  {43, 6, 1, 2, 1, 4, 31, 3, 1, 17},
1221  10,
1225  NULL,
1226  NULL,
1227  sizeof(uint32_t),
1228  NULL,
1231  },
1232  //ipIfStatsInDelivers object (1.3.6.1.2.1.4.31.3.1.18)
1233  {
1234  "ipIfStatsInDelivers",
1235  {43, 6, 1, 2, 1, 4, 31, 3, 1, 18},
1236  10,
1240  NULL,
1241  NULL,
1242  sizeof(uint32_t),
1243  NULL,
1246  },
1247  //ipIfStatsHCInDelivers object (1.3.6.1.2.1.4.31.3.1.19)
1248  {
1249  "ipIfStatsHCInDelivers",
1250  {43, 6, 1, 2, 1, 4, 31, 3, 1, 19},
1251  10,
1255  NULL,
1256  NULL,
1257  sizeof(uint64_t),
1258  NULL,
1261  },
1262  //ipIfStatsOutRequests object (1.3.6.1.2.1.4.31.3.1.20)
1263  {
1264  "ipIfStatsOutRequests",
1265  {43, 6, 1, 2, 1, 4, 31, 3, 1, 20},
1266  10,
1270  NULL,
1271  NULL,
1272  sizeof(uint32_t),
1273  NULL,
1276  },
1277  //ipIfStatsHCOutRequests object (1.3.6.1.2.1.4.31.3.1.21)
1278  {
1279  "ipIfStatsHCOutRequests",
1280  {43, 6, 1, 2, 1, 4, 31, 3, 1, 21},
1281  10,
1285  NULL,
1286  NULL,
1287  sizeof(uint64_t),
1288  NULL,
1291  },
1292  //ipIfStatsOutForwDatagrams object (1.3.6.1.2.1.4.31.3.1.23)
1293  {
1294  "ipIfStatsOutForwDatagrams",
1295  {43, 6, 1, 2, 1, 4, 31, 3, 1, 23},
1296  10,
1300  NULL,
1301  NULL,
1302  sizeof(uint32_t),
1303  NULL,
1306  },
1307  //ipIfStatsHCOutForwDatagrams object (1.3.6.1.2.1.4.31.3.1.24)
1308  {
1309  "ipIfStatsHCOutForwDatagrams",
1310  {43, 6, 1, 2, 1, 4, 31, 3, 1, 24},
1311  10,
1315  NULL,
1316  NULL,
1317  sizeof(uint64_t),
1318  NULL,
1321  },
1322  //ipIfStatsOutDiscards object (1.3.6.1.2.1.4.31.3.1.25)
1323  {
1324  "ipIfStatsOutDiscards",
1325  {43, 6, 1, 2, 1, 4, 31, 3, 1, 25},
1326  10,
1330  NULL,
1331  NULL,
1332  sizeof(uint32_t),
1333  NULL,
1336  },
1337  //ipIfStatsOutFragReqds object (1.3.6.1.2.1.4.31.3.1.26)
1338  {
1339  "ipIfStatsOutFragReqds",
1340  {43, 6, 1, 2, 1, 4, 31, 3, 1, 26},
1341  10,
1345  NULL,
1346  NULL,
1347  sizeof(uint32_t),
1348  NULL,
1351  },
1352  //ipIfStatsOutFragOKs object (1.3.6.1.2.1.4.31.3.1.27)
1353  {
1354  "ipIfStatsOutFragOKs",
1355  {43, 6, 1, 2, 1, 4, 31, 3, 1, 27},
1356  10,
1360  NULL,
1361  NULL,
1362  sizeof(uint32_t),
1363  NULL,
1366  },
1367  //ipIfStatsOutFragFails object (1.3.6.1.2.1.4.31.3.1.28)
1368  {
1369  "ipIfStatsOutFragFails",
1370  {43, 6, 1, 2, 1, 4, 31, 3, 1, 28},
1371  10,
1375  NULL,
1376  NULL,
1377  sizeof(uint32_t),
1378  NULL,
1381  },
1382  //ipIfStatsOutFragCreates object (1.3.6.1.2.1.4.31.3.1.29)
1383  {
1384  "ipIfStatsOutFragCreates",
1385  {43, 6, 1, 2, 1, 4, 31, 3, 1, 29},
1386  10,
1390  NULL,
1391  NULL,
1392  sizeof(uint32_t),
1393  NULL,
1396  },
1397  //ipIfStatsOutTransmits object (1.3.6.1.2.1.4.31.3.1.30)
1398  {
1399  "ipIfStatsOutTransmits",
1400  {43, 6, 1, 2, 1, 4, 31, 3, 1, 30},
1401  10,
1405  NULL,
1406  NULL,
1407  sizeof(uint32_t),
1408  NULL,
1411  },
1412  //ipIfStatsHCOutTransmits object (1.3.6.1.2.1.4.31.3.1.31)
1413  {
1414  "ipIfStatsHCOutTransmits",
1415  {43, 6, 1, 2, 1, 4, 31, 3, 1, 31},
1416  10,
1420  NULL,
1421  NULL,
1422  sizeof(uint64_t),
1423  NULL,
1426  },
1427  //ipIfStatsOutOctets object (1.3.6.1.2.1.4.31.3.1.32)
1428  {
1429  "ipIfStatsOutOctets",
1430  {43, 6, 1, 2, 1, 4, 31, 3, 1, 32},
1431  10,
1435  NULL,
1436  NULL,
1437  sizeof(uint32_t),
1438  NULL,
1441  },
1442  //ipIfStatsHCOutOctets object (1.3.6.1.2.1.4.31.3.1.33)
1443  {
1444  "ipIfStatsHCOutOctets",
1445  {43, 6, 1, 2, 1, 4, 31, 3, 1, 33},
1446  10,
1450  NULL,
1451  NULL,
1452  sizeof(uint64_t),
1453  NULL,
1456  },
1457  //ipIfStatsInMcastPkts object (1.3.6.1.2.1.4.31.3.1.34)
1458  {
1459  "ipIfStatsInMcastPkts",
1460  {43, 6, 1, 2, 1, 4, 31, 3, 1, 34},
1461  10,
1465  NULL,
1466  NULL,
1467  sizeof(uint32_t),
1468  NULL,
1471  },
1472  //ipIfStatsHCInMcastPkts object (1.3.6.1.2.1.4.31.3.1.35)
1473  {
1474  "ipIfStatsHCInMcastPkts",
1475  {43, 6, 1, 2, 1, 4, 31, 3, 1, 35},
1476  10,
1480  NULL,
1481  NULL,
1482  sizeof(uint64_t),
1483  NULL,
1486  },
1487  //ipIfStatsInMcastOctets object (1.3.6.1.2.1.4.31.3.1.36)
1488  {
1489  "ipIfStatsInMcastOctets",
1490  {43, 6, 1, 2, 1, 4, 31, 3, 1, 36},
1491  10,
1495  NULL,
1496  NULL,
1497  sizeof(uint32_t),
1498  NULL,
1501  },
1502  //ipIfStatsHCInMcastOctets object (1.3.6.1.2.1.4.31.3.1.37)
1503  {
1504  "ipIfStatsHCInMcastOctets",
1505  {43, 6, 1, 2, 1, 4, 31, 3, 1, 37},
1506  10,
1510  NULL,
1511  NULL,
1512  sizeof(uint64_t),
1513  NULL,
1516  },
1517  //ipIfStatsOutMcastPkts object (1.3.6.1.2.1.4.31.3.1.38)
1518  {
1519  "ipIfStatsOutMcastPkts",
1520  {43, 6, 1, 2, 1, 4, 31, 3, 1, 38},
1521  10,
1525  NULL,
1526  NULL,
1527  sizeof(uint32_t),
1528  NULL,
1531  },
1532  //ipIfStatsHCOutMcastPkts object (1.3.6.1.2.1.4.31.3.1.39)
1533  {
1534  "ipIfStatsHCOutMcastPkts",
1535  {43, 6, 1, 2, 1, 4, 31, 3, 1, 39},
1536  10,
1540  NULL,
1541  NULL,
1542  sizeof(uint64_t),
1543  NULL,
1546  },
1547  //ipIfStatsOutMcastOctets object (1.3.6.1.2.1.4.31.3.1.40)
1548  {
1549  "ipIfStatsOutMcastOctets",
1550  {43, 6, 1, 2, 1, 4, 31, 3, 1, 40},
1551  10,
1555  NULL,
1556  NULL,
1557  sizeof(uint32_t),
1558  NULL,
1561  },
1562  //ipIfStatsHCOutMcastOctets object (1.3.6.1.2.1.4.31.3.1.41)
1563  {
1564  "ipIfStatsHCOutMcastOctets",
1565  {43, 6, 1, 2, 1, 4, 31, 3, 1, 41},
1566  10,
1570  NULL,
1571  NULL,
1572  sizeof(uint64_t),
1573  NULL,
1576  },
1577  //ipIfStatsInBcastPkts object (1.3.6.1.2.1.4.31.3.1.42)
1578  {
1579  "ipIfStatsInBcastPkts",
1580  {43, 6, 1, 2, 1, 4, 31, 3, 1, 42},
1581  10,
1585  NULL,
1586  NULL,
1587  sizeof(uint32_t),
1588  NULL,
1591  },
1592  //ipIfStatsHCInBcastPkts object (1.3.6.1.2.1.4.31.3.1.43)
1593  {
1594  "ipIfStatsHCInBcastPkts",
1595  {43, 6, 1, 2, 1, 4, 31, 3, 1, 43},
1596  10,
1600  NULL,
1601  NULL,
1602  sizeof(uint64_t),
1603  NULL,
1606  },
1607  //ipIfStatsOutBcastPkts object (1.3.6.1.2.1.4.31.3.1.44)
1608  {
1609  "ipIfStatsOutBcastPkts",
1610  {43, 6, 1, 2, 1, 4, 31, 3, 1, 44},
1611  10,
1615  NULL,
1616  NULL,
1617  sizeof(uint32_t),
1618  NULL,
1621  },
1622  //ipIfStatsHCOutBcastPkts object (1.3.6.1.2.1.4.31.3.1.45)
1623  {
1624  "ipIfStatsHCOutBcastPkts",
1625  {43, 6, 1, 2, 1, 4, 31, 3, 1, 45},
1626  10,
1630  NULL,
1631  NULL,
1632  sizeof(uint64_t),
1633  NULL,
1636  },
1637  //ipIfStatsDiscontinuityTime object (1.3.6.1.2.1.4.31.3.1.46)
1638  {
1639  "ipIfStatsDiscontinuityTime",
1640  {43, 6, 1, 2, 1, 4, 31, 3, 1, 46},
1641  10,
1645  NULL,
1646  NULL,
1647  sizeof(uint32_t),
1648  NULL,
1651  },
1652  //ipIfStatsRefreshRate object (1.3.6.1.2.1.4.31.3.1.47)
1653  {
1654  "ipIfStatsRefreshRate",
1655  {43, 6, 1, 2, 1, 4, 31, 3, 1, 47},
1656  10,
1660  NULL,
1661  NULL,
1662  sizeof(uint32_t),
1663  NULL,
1666  },
1667  //ipAddressPrefixOrigin object (1.3.6.1.2.1.4.32.1.5)
1668  {
1669  "ipAddressPrefixOrigin",
1670  {43, 6, 1, 2, 1, 4, 32, 1, 5},
1671  9,
1675  NULL,
1676  NULL,
1677  sizeof(int32_t),
1678  NULL,
1681  },
1682  //ipAddressPrefixOnLinkFlag object (1.3.6.1.2.1.4.32.1.6)
1683  {
1684  "ipAddressPrefixOnLinkFlag",
1685  {43, 6, 1, 2, 1, 4, 32, 1, 6},
1686  9,
1690  NULL,
1691  NULL,
1692  sizeof(int32_t),
1693  NULL,
1696  },
1697  //ipAddressPrefixAutonomousFlag object (1.3.6.1.2.1.4.32.1.7)
1698  {
1699  "ipAddressPrefixAutonomousFlag",
1700  {43, 6, 1, 2, 1, 4, 32, 1, 7},
1701  9,
1705  NULL,
1706  NULL,
1707  sizeof(int32_t),
1708  NULL,
1711  },
1712  //ipAddressPrefixAdvPreferredLifetime object (1.3.6.1.2.1.4.32.1.8)
1713  {
1714  "ipAddressPrefixAdvPreferredLifetime",
1715  {43, 6, 1, 2, 1, 4, 32, 1, 8},
1716  9,
1720  NULL,
1721  NULL,
1722  sizeof(uint32_t),
1723  NULL,
1726  },
1727  //ipAddressPrefixAdvValidLifetime object (1.3.6.1.2.1.4.32.1.9)
1728  {
1729  "ipAddressPrefixAdvValidLifetime",
1730  {43, 6, 1, 2, 1, 4, 32, 1, 9},
1731  9,
1735  NULL,
1736  NULL,
1737  sizeof(uint32_t),
1738  NULL,
1741  },
1742  //ipAddressSpinLock object (1.3.6.1.2.1.4.33)
1743  {
1744  "ipAddressSpinLock",
1745  {43, 6, 1, 2, 1, 4, 33},
1746  7,
1750  NULL,
1751  NULL,
1752  sizeof(int32_t),
1755  NULL
1756  },
1757  //ipAddressIfIndex object (1.3.6.1.2.1.4.34.1.3)
1758  {
1759  "ipAddressIfIndex",
1760  {43, 6, 1, 2, 1, 4, 34, 1, 3},
1761  9,
1765  NULL,
1766  NULL,
1767  sizeof(int32_t),
1771  },
1772  //ipAddressType object (1.3.6.1.2.1.4.34.1.4)
1773  {
1774  "ipAddressType",
1775  {43, 6, 1, 2, 1, 4, 34, 1, 4},
1776  9,
1780  NULL,
1781  NULL,
1782  sizeof(int32_t),
1786  },
1787  //ipAddressPrefix object (1.3.6.1.2.1.4.34.1.5)
1788  {
1789  "ipAddressPrefix",
1790  {43, 6, 1, 2, 1, 4, 34, 1, 5},
1791  9,
1795  NULL,
1796  NULL,
1797  0,
1798  NULL,
1801  },
1802  //ipAddressOrigin object (1.3.6.1.2.1.4.34.1.6)
1803  {
1804  "ipAddressOrigin",
1805  {43, 6, 1, 2, 1, 4, 34, 1, 6},
1806  9,
1810  NULL,
1811  NULL,
1812  sizeof(int32_t),
1813  NULL,
1816  },
1817  //ipAddressStatus object (1.3.6.1.2.1.4.34.1.7)
1818  {
1819  "ipAddressStatus",
1820  {43, 6, 1, 2, 1, 4, 34, 1, 7},
1821  9,
1825  NULL,
1826  NULL,
1827  sizeof(int32_t),
1831  },
1832  //ipAddressCreated object (1.3.6.1.2.1.4.34.1.8)
1833  {
1834  "ipAddressCreated",
1835  {43, 6, 1, 2, 1, 4, 34, 1, 8},
1836  9,
1840  NULL,
1841  NULL,
1842  sizeof(uint32_t),
1843  NULL,
1846  },
1847  //ipAddressLastChanged object (1.3.6.1.2.1.4.34.1.9)
1848  {
1849  "ipAddressLastChanged",
1850  {43, 6, 1, 2, 1, 4, 34, 1, 9},
1851  9,
1855  NULL,
1856  NULL,
1857  sizeof(uint32_t),
1858  NULL,
1861  },
1862  //ipAddressRowStatus object (1.3.6.1.2.1.4.34.1.10)
1863  {
1864  "ipAddressRowStatus",
1865  {43, 6, 1, 2, 1, 4, 34, 1, 10},
1866  9,
1870  NULL,
1871  NULL,
1872  sizeof(int32_t),
1876  },
1877  //ipAddressStorageType object (1.3.6.1.2.1.4.34.1.11)
1878  {
1879  "ipAddressStorageType",
1880  {43, 6, 1, 2, 1, 4, 34, 1, 11},
1881  9,
1885  NULL,
1886  NULL,
1887  sizeof(int32_t),
1891  },
1892  //ipNetToPhysicalPhysAddress object (1.3.6.1.2.1.4.35.1.4)
1893  {
1894  "ipNetToPhysicalPhysAddress",
1895  {43, 6, 1, 2, 1, 4, 35, 1, 4},
1896  9,
1900  NULL,
1901  NULL,
1902  0,
1906  },
1907  //ipNetToPhysicalLastUpdated object (1.3.6.1.2.1.4.35.1.5)
1908  {
1909  "ipNetToPhysicalLastUpdated",
1910  {43, 6, 1, 2, 1, 4, 35, 1, 5},
1911  9,
1915  NULL,
1916  NULL,
1917  sizeof(uint32_t),
1918  NULL,
1921  },
1922  //ipNetToPhysicalType object (1.3.6.1.2.1.4.35.1.6)
1923  {
1924  "ipNetToPhysicalType",
1925  {43, 6, 1, 2, 1, 4, 35, 1, 6},
1926  9,
1930  NULL,
1931  NULL,
1932  sizeof(int32_t),
1936  },
1937  //ipNetToPhysicalState object (1.3.6.1.2.1.4.35.1.7)
1938  {
1939  "ipNetToPhysicalState",
1940  {43, 6, 1, 2, 1, 4, 35, 1, 7},
1941  9,
1945  NULL,
1946  NULL,
1947  sizeof(int32_t),
1948  NULL,
1951  },
1952  //ipNetToPhysicalRowStatus object (1.3.6.1.2.1.4.35.1.8)
1953  {
1954  "ipNetToPhysicalRowStatus",
1955  {43, 6, 1, 2, 1, 4, 35, 1, 8},
1956  9,
1960  NULL,
1961  NULL,
1962  sizeof(int32_t),
1966  },
1967 #if (IPV6_SUPPORT == ENABLED)
1968  //ipv6ScopeZoneIndexLinkLocal object (1.3.6.1.2.1.4.36.1.2)
1969  {
1970  "ipv6ScopeZoneIndexLinkLocal",
1971  {43, 6, 1, 2, 1, 4, 36, 1, 2},
1972  9,
1976  NULL,
1977  NULL,
1978  sizeof(uint32_t),
1979  NULL,
1982  },
1983  //ipv6ScopeZoneIndex3 object (1.3.6.1.2.1.4.36.1.3)
1984  {
1985  "ipv6ScopeZoneIndex3",
1986  {43, 6, 1, 2, 1, 4, 36, 1, 3},
1987  9,
1991  NULL,
1992  NULL,
1993  sizeof(uint32_t),
1994  NULL,
1997  },
1998  //ipv6ScopeZoneIndexAdminLocal object (1.3.6.1.2.1.4.36.1.4)
1999  {
2000  "ipv6ScopeZoneIndexAdminLocal",
2001  {43, 6, 1, 2, 1, 4, 36, 1, 4},
2002  9,
2006  NULL,
2007  NULL,
2008  sizeof(uint32_t),
2009  NULL,
2012  },
2013  //ipv6ScopeZoneIndexSiteLocal object (1.3.6.1.2.1.4.36.1.5)
2014  {
2015  "ipv6ScopeZoneIndexSiteLocal",
2016  {43, 6, 1, 2, 1, 4, 36, 1, 5},
2017  9,
2021  NULL,
2022  NULL,
2023  sizeof(uint32_t),
2024  NULL,
2027  },
2028  //ipv6ScopeZoneIndex6 object (1.3.6.1.2.1.4.36.1.6)
2029  {
2030  "ipv6ScopeZoneIndex6",
2031  {43, 6, 1, 2, 1, 4, 36, 1, 6},
2032  9,
2036  NULL,
2037  NULL,
2038  sizeof(uint32_t),
2039  NULL,
2042  },
2043  //ipv6ScopeZoneIndex7 object (1.3.6.1.2.1.4.36.1.7)
2044  {
2045  "ipv6ScopeZoneIndex7",
2046  {43, 6, 1, 2, 1, 4, 36, 1, 7},
2047  9,
2051  NULL,
2052  NULL,
2053  sizeof(uint32_t),
2054  NULL,
2057  },
2058  //ipv6ScopeZoneIndexOrganizationLocal object (1.3.6.1.2.1.4.36.1.8)
2059  {
2060  "ipv6ScopeZoneIndexOrganizationLocal",
2061  {43, 6, 1, 2, 1, 4, 36, 1, 8},
2062  9,
2066  NULL,
2067  NULL,
2068  sizeof(uint32_t),
2069  NULL,
2072  },
2073  //ipv6ScopeZoneIndex9 object (1.3.6.1.2.1.4.36.1.9)
2074  {
2075  "ipv6ScopeZoneIndex9",
2076  {43, 6, 1, 2, 1, 4, 36, 1, 9},
2077  9,
2081  NULL,
2082  NULL,
2083  sizeof(uint32_t),
2084  NULL,
2087  },
2088  //ipv6ScopeZoneIndexA object (1.3.6.1.2.1.4.36.1.10)
2089  {
2090  "ipv6ScopeZoneIndexA",
2091  {43, 6, 1, 2, 1, 4, 36, 1, 10},
2092  9,
2096  NULL,
2097  NULL,
2098  sizeof(uint32_t),
2099  NULL,
2102  },
2103  //ipv6ScopeZoneIndexB object (1.3.6.1.2.1.4.36.1.11)
2104  {
2105  "ipv6ScopeZoneIndexB",
2106  {43, 6, 1, 2, 1, 4, 36, 1, 11},
2107  9,
2111  NULL,
2112  NULL,
2113  sizeof(uint32_t),
2114  NULL,
2117  },
2118  //ipv6ScopeZoneIndexC object (1.3.6.1.2.1.4.36.1.12)
2119  {
2120  "ipv6ScopeZoneIndexC",
2121  {43, 6, 1, 2, 1, 4, 36, 1, 12},
2122  9,
2126  NULL,
2127  NULL,
2128  sizeof(uint32_t),
2129  NULL,
2132  },
2133  //ipv6ScopeZoneIndexD object (1.3.6.1.2.1.4.36.1.13)
2134  {
2135  "ipv6ScopeZoneIndexD",
2136  {43, 6, 1, 2, 1, 4, 36, 1, 13},
2137  9,
2141  NULL,
2142  NULL,
2143  sizeof(uint32_t),
2144  NULL,
2147  },
2148 #endif
2149  //ipDefaultRouterLifetime object (1.3.6.1.2.1.4.37.1.4)
2150  {
2151  "ipDefaultRouterLifetime",
2152  {43, 6, 1, 2, 1, 4, 37, 1, 4},
2153  9,
2157  NULL,
2158  NULL,
2159  sizeof(uint32_t),
2160  NULL,
2163  },
2164  //ipDefaultRouterPreference object (1.3.6.1.2.1.4.37.1.5)
2165  {
2166  "ipDefaultRouterPreference",
2167  {43, 6, 1, 2, 1, 4, 37, 1, 5},
2168  9,
2172  NULL,
2173  NULL,
2174  sizeof(int32_t),
2175  NULL,
2178  },
2179 #if (IPV6_SUPPORT == ENABLED)
2180  //ipv6RouterAdvertSpinLock object (1.3.6.1.2.1.4.38)
2181  {
2182  "ipv6RouterAdvertSpinLock",
2183  {43, 6, 1, 2, 1, 4, 38},
2184  7,
2188  NULL,
2189  NULL,
2190  sizeof(int32_t),
2193  NULL
2194  },
2195  //ipv6RouterAdvertSendAdverts object (1.3.6.1.2.1.4.39.1.2)
2196  {
2197  "ipv6RouterAdvertSendAdverts",
2198  {43, 6, 1, 2, 1, 4, 39, 1, 2},
2199  9,
2203  NULL,
2204  NULL,
2205  sizeof(int32_t),
2209  },
2210  //ipv6RouterAdvertMaxInterval object (1.3.6.1.2.1.4.39.1.3)
2211  {
2212  "ipv6RouterAdvertMaxInterval",
2213  {43, 6, 1, 2, 1, 4, 39, 1, 3},
2214  9,
2218  NULL,
2219  NULL,
2220  sizeof(uint32_t),
2224  },
2225  //ipv6RouterAdvertMinInterval object (1.3.6.1.2.1.4.39.1.4)
2226  {
2227  "ipv6RouterAdvertMinInterval",
2228  {43, 6, 1, 2, 1, 4, 39, 1, 4},
2229  9,
2233  NULL,
2234  NULL,
2235  sizeof(uint32_t),
2239  },
2240  //ipv6RouterAdvertManagedFlag object (1.3.6.1.2.1.4.39.1.5)
2241  {
2242  "ipv6RouterAdvertManagedFlag",
2243  {43, 6, 1, 2, 1, 4, 39, 1, 5},
2244  9,
2248  NULL,
2249  NULL,
2250  sizeof(int32_t),
2254  },
2255  //ipv6RouterAdvertOtherConfigFlag object (1.3.6.1.2.1.4.39.1.6)
2256  {
2257  "ipv6RouterAdvertOtherConfigFlag",
2258  {43, 6, 1, 2, 1, 4, 39, 1, 6},
2259  9,
2263  NULL,
2264  NULL,
2265  sizeof(int32_t),
2269  },
2270  //ipv6RouterAdvertLinkMTU object (1.3.6.1.2.1.4.39.1.7)
2271  {
2272  "ipv6RouterAdvertLinkMTU",
2273  {43, 6, 1, 2, 1, 4, 39, 1, 7},
2274  9,
2278  NULL,
2279  NULL,
2280  sizeof(uint32_t),
2284  },
2285  //ipv6RouterAdvertReachableTime object (1.3.6.1.2.1.4.39.1.8)
2286  {
2287  "ipv6RouterAdvertReachableTime",
2288  {43, 6, 1, 2, 1, 4, 39, 1, 8},
2289  9,
2293  NULL,
2294  NULL,
2295  sizeof(uint32_t),
2299  },
2300  //ipv6RouterAdvertRetransmitTime object (1.3.6.1.2.1.4.39.1.9)
2301  {
2302  "ipv6RouterAdvertRetransmitTime",
2303  {43, 6, 1, 2, 1, 4, 39, 1, 9},
2304  9,
2308  NULL,
2309  NULL,
2310  sizeof(uint32_t),
2314  },
2315  //ipv6RouterAdvertCurHopLimit object (1.3.6.1.2.1.4.39.1.10)
2316  {
2317  "ipv6RouterAdvertCurHopLimit",
2318  {43, 6, 1, 2, 1, 4, 39, 1, 10},
2319  9,
2323  NULL,
2324  NULL,
2325  sizeof(uint32_t),
2329  },
2330  //ipv6RouterAdvertDefaultLifetime object (1.3.6.1.2.1.4.39.1.11)
2331  {
2332  "ipv6RouterAdvertDefaultLifetime",
2333  {43, 6, 1, 2, 1, 4, 39, 1, 11},
2334  9,
2338  NULL,
2339  NULL,
2340  sizeof(uint32_t),
2344  },
2345  //ipv6RouterAdvertRowStatus object (1.3.6.1.2.1.4.39.1.12)
2346  {
2347  "ipv6RouterAdvertRowStatus",
2348  {43, 6, 1, 2, 1, 4, 39, 1, 12},
2349  9,
2353  NULL,
2354  NULL,
2355  sizeof(int32_t),
2359  },
2360 #endif
2361  //icmpStatsInMsgs object (1.3.6.1.2.1.5.29.1.2)
2362  {
2363  "icmpStatsInMsgs",
2364  {43, 6, 1, 2, 1, 5, 29, 1, 2},
2365  9,
2369  NULL,
2370  NULL,
2371  sizeof(uint32_t),
2372  NULL,
2375  },
2376  //icmpStatsInErrors object (1.3.6.1.2.1.5.29.1.3)
2377  {
2378  "icmpStatsInErrors",
2379  {43, 6, 1, 2, 1, 5, 29, 1, 3},
2380  9,
2384  NULL,
2385  NULL,
2386  sizeof(uint32_t),
2387  NULL,
2390  },
2391  //icmpStatsOutMsgs object (1.3.6.1.2.1.5.29.1.4)
2392  {
2393  "icmpStatsOutMsgs",
2394  {43, 6, 1, 2, 1, 5, 29, 1, 4},
2395  9,
2399  NULL,
2400  NULL,
2401  sizeof(uint32_t),
2402  NULL,
2405  },
2406  //icmpStatsOutErrors object (1.3.6.1.2.1.5.29.1.5)
2407  {
2408  "icmpStatsOutErrors",
2409  {43, 6, 1, 2, 1, 5, 29, 1, 5},
2410  9,
2414  NULL,
2415  NULL,
2416  sizeof(uint32_t),
2417  NULL,
2420  },
2421  //icmpMsgStatsInPkts object (1.3.6.1.2.1.5.30.1.3)
2422  {
2423  "icmpMsgStatsInPkts",
2424  {43, 6, 1, 2, 1, 5, 30, 1, 3},
2425  9,
2429  NULL,
2430  NULL,
2431  sizeof(uint32_t),
2432  NULL,
2435  },
2436  //icmpMsgStatsOutPkts object (1.3.6.1.2.1.5.30.1.4)
2437  {
2438  "icmpMsgStatsOutPkts",
2439  {43, 6, 1, 2, 1, 5, 30, 1, 4},
2440  9,
2444  NULL,
2445  NULL,
2446  sizeof(uint32_t),
2447  NULL,
2450  }
2451 };
2452 
2453 
2454 /**
2455  * @brief IP MIB module
2456  **/
2457 
2459 {
2460  "IP-MIB",
2461  {43, 6, 1, 2, 1, 48},
2462  6,
2463  ipMibObjects,
2465  ipMibInit,
2466  NULL,
2467  NULL,
2468  NULL,
2469  NULL
2470 };
2471 
2472 #endif
error_t ipMibGetIpAddressPrefixEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipAddressPrefixEntry object value.
Definition: ip_mib_impl.c:1187
error_t ipMibGetIpDefaultRouterEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipDefaultRouterEntry object value.
Definition: ip_mib_impl.c:2900
error_t ipMibGetNextIpSystemStatsEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipSystemStatsEntry object.
Definition: ip_mib_impl.c:730
error_t ipMibSetIpv6RouterAdvertSpinLock(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set ipv6RouterAdvertSpinLock object value.
Definition: ip_mib_impl.c:3302
error_t ipMibGetIpAddressEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipAddressEntry object value.
Definition: ip_mib_impl.c:1765
error_t ipMibInit(void)
IP MIB module initialization.
Definition: ip_mib_impl.c:60
error_t ipMibGetNextIcmpStatsEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next icmpStatsEntry object.
Definition: ip_mib_impl.c:3689
OID (Object Identifier)
error_t ipMibGetIpSystemStatsEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipSystemStatsEntry object value.
Definition: ip_mib_impl.c:430
int32_t ipReasmTimeout
error_t ipMibGetIpAddressSpinLock(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipAddressSpinLock object value.
Definition: ip_mib_impl.c:1724
@ MIB_ACCESS_READ_ONLY
Definition: mib_common.h:79
error_t ipMibGetNextIpAddressEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipAddressEntry object.
Definition: ip_mib_impl.c:2118
error_t ipMibGetNextIpv4InterfaceEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipv4InterfaceEntry object.
Definition: ip_mib_impl.c:191
error_t ipMibGetIcmpStatsEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get icmpStatsEntry object value.
Definition: ip_mib_impl.c:3594
int32_t ipv6IpForwarding
int32_t ipv6IpDefaultHopLimit
@ MIB_ACCESS_READ_WRITE
Definition: mib_common.h:80
@ MIB_TYPE_COUNTER32
Definition: mib_common.h:61
uint32_t ipv6InterfaceTableLastChange
error_t ipMibGetIcmpMsgStatsEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get icmpMsgStatsEntry object value.
Definition: ip_mib_impl.c:3759
error_t ipMibGetNextIpv6RouterAdvertEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipv6RouterAdvertEntry object.
Definition: ip_mib_impl.c:3535
#define ASN1_CLASS_UNIVERSAL
Definition: asn1.h:52
error_t ipMibSetIpv6InterfaceEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set ipv6InterfaceEntry object value.
Definition: ip_mib_impl.c:246
error_t ipMibGetIpNetToPhysicalEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipNetToPhysicalEntry object value.
Definition: ip_mib_impl.c:2309
error_t ipMibGetNextIpDefaultRouterEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipDefaultRouterEntry object.
Definition: ip_mib_impl.c:3083
error_t ipMibGetIpv6RouterAdvertSpinLock(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipv6RouterAdvertSpinLock object value.
Definition: ip_mib_impl.c:3326
General definitions for cryptographic algorithms.
IP MIB module implementation.
@ MIB_TYPE_UNSIGNED32
Definition: mib_common.h:63
IpMibBase ipMibBase
IP MIB base.
Definition: ip_mib_module.c:60
error_t ipMibGetNextIpv6InterfaceEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipv6InterfaceEntry object.
Definition: ip_mib_impl.c:377
error_t ipMibGetIpv6InterfaceEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipv6InterfaceEntry object value.
Definition: ip_mib_impl.c:264
error_t ipMibSetIpv6RouterAdvertEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set ipv6RouterAdvertEntry object value.
Definition: ip_mib_impl.c:3354
MIB module.
Definition: mib_common.h:292
uint32_t ipIfStatsTableLastChange
int32_t ipDefaultTTL
error_t ipMibGetNextIpNetToPhysicalEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipNetToPhysicalEntry object.
Definition: ip_mib_impl.c:2527
@ ASN1_TYPE_OCTET_STRING
Definition: asn1.h:72
@ ASN1_TYPE_INTEGER
Definition: asn1.h:70
@ MIB_TYPE_TIME_TICKS
Definition: mib_common.h:64
error_t ipMibSetIpNetToPhysicalEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set ipNetToPhysicalEntry object value.
Definition: ip_mib_impl.c:2291
error_t ipMibGetIpv6ScopeZoneIndexEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipv6ScopeZoneIndexEntry object value.
Definition: ip_mib_impl.c:2742
error_t ipMibGetNextIcmpMsgStatsEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next icmpMsgStatsEntry object.
Definition: ip_mib_impl.c:3855
error_t ipMibSetIpAddressEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set ipAddressEntry object value.
Definition: ip_mib_impl.c:1747
Common definitions for MIB modules.
error_t ipMibGetIpIfStatsEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipIfStatsEntry object value.
Definition: ip_mib_impl.c:800
error_t ipMibGetIpv4InterfaceEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipv4InterfaceEntry object value.
Definition: ip_mib_impl.c:125
IP MIB module.
error_t ipMibGetNextIpv6ScopeZoneIndexEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipv6ScopeZoneIndexEntry object.
Definition: ip_mib_impl.c:2847
IP MIB base.
const MibModule ipMibModule
IP MIB module.
int32_t ipForwarding
#define MibObject
Definition: mib_common.h:46
const MibObject ipMibObjects[]
IP MIB objects.
Definition: ip_mib_module.c:67
@ ASN1_TYPE_OBJECT_IDENTIFIER
Definition: asn1.h:74
error_t ipMibGetNextIpIfStatsEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipIfStatsEntry object.
Definition: ip_mib_impl.c:1106
uint32_t ipv4InterfaceTableLastChange
@ MIB_TYPE_COUNTER64
Definition: mib_common.h:66
TCP/IP stack core.
error_t ipMibGetNextIpAddressPrefixEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next ipAddressPrefixEntry object.
Definition: ip_mib_impl.c:1445
#define ASN1_CLASS_APPLICATION
Definition: asn1.h:53
error_t ipMibSetIpv4InterfaceEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set ipv4InterfaceEntry object value.
Definition: ip_mib_impl.c:107
error_t ipMibGetIpv6RouterAdvertEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get ipv6RouterAdvertEntry object value.
Definition: ip_mib_impl.c:3372
error_t ipMibSetIpAddressSpinLock(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set ipAddressSpinLock object value.
Definition: ip_mib_impl.c:1705
@ MIB_ACCESS_READ_CREATE
Definition: mib_common.h:81
Debugging facilities.
ASN.1 (Abstract Syntax Notation One)
#define arraysize(a)
Definition: os_port.h:71