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  * Copyright (C) 2010-2018 Oryx Embedded SARL. All rights reserved.
8  *
9  * This file is part of CycloneTCP Open.
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software Foundation,
23  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24  *
25  * @section Description
26  *
27  * The IP-MIB describes managed objects used for implementations of the
28  * Internet Protocol (IP) in an IP version independent manner. Refer to
29  * the following RFCs for complete details:
30  * - RFC 4293: MIB for the Internet Protocol (IP)
31  * - RFC 4001: Textual Conventions for Internet Network Addresses
32  *
33  * @author Oryx Embedded SARL (www.oryx-embedded.com)
34  * @version 1.9.0
35  **/
36 
37 //Switch to the appropriate trace level
38 #define TRACE_LEVEL SNMP_TRACE_LEVEL
39 
40 //Dependencies
41 #include "core/net.h"
42 #include "mibs/mib_common.h"
43 #include "mibs/ip_mib_module.h"
44 #include "mibs/ip_mib_impl.h"
45 #include "core/crypto.h"
46 #include "encoding/asn1.h"
47 #include "encoding/oid.h"
48 #include "debug.h"
49 
50 //Check TCP/IP stack configuration
51 #if (IP_MIB_SUPPORT == ENABLED)
52 
53 
54 /**
55  * @brief IP MIB base
56  **/
57 
59 
60 
61 /**
62  * @brief IP MIB objects
63  **/
64 
66 {
67 #if (IPV4_SUPPORT == ENABLED)
68  //ipForwarding object (1.3.6.1.2.1.4.1)
69  {
70  "ipForwarding",
71  {43, 6, 1, 2, 1, 4, 1},
72  7,
77  NULL,
78  sizeof(int32_t),
79  NULL,
80  NULL,
81  NULL
82  },
83  //ipDefaultTTL object (1.3.6.1.2.1.4.2)
84  {
85  "ipDefaultTTL",
86  {43, 6, 1, 2, 1, 4, 2},
87  7,
92  NULL,
93  sizeof(int32_t),
94  NULL,
95  NULL,
96  NULL
97  },
98  //ipReasmTimeout object (1.3.6.1.2.1.4.13)
99  {
100  "ipReasmTimeout",
101  {43, 6, 1, 2, 1, 4, 13},
102  7,
107  NULL,
108  sizeof(int32_t),
109  NULL,
110  NULL,
111  NULL
112  },
113 #endif
114 #if (IPV6_SUPPORT == ENABLED)
115  //ipv6IpForwarding object (1.3.6.1.2.1.4.25)
116  {
117  "ipv6IpForwarding",
118  {43, 6, 1, 2, 1, 4, 25},
119  7,
124  NULL,
125  sizeof(int32_t),
126  NULL,
127  NULL,
128  NULL
129  },
130  //ipv6IpDefaultHopLimit object (1.3.6.1.2.1.4.26)
131  {
132  "ipv6IpDefaultHopLimit",
133  {43, 6, 1, 2, 1, 4, 26},
134  7,
139  NULL,
140  sizeof(int32_t),
141  NULL,
142  NULL,
143  NULL
144  },
145 #endif
146 #if (IPV4_SUPPORT == ENABLED)
147  //ipv4InterfaceTableLastChange object (1.3.6.1.2.1.4.27)
148  {
149  "ipv4InterfaceTableLastChange",
150  {43, 6, 1, 2, 1, 4, 27},
151  7,
156  NULL,
157  sizeof(uint32_t),
158  NULL,
159  NULL,
160  NULL
161  },
162  //ipv4InterfaceReasmMaxSize object (1.3.6.1.2.1.4.28.1.2)
163  {
164  "ipv4InterfaceReasmMaxSize",
165  {43, 6, 1, 2, 1, 4, 28, 1, 2},
166  9,
170  NULL,
171  NULL,
172  sizeof(int32_t),
173  NULL,
176  },
177  //ipv4InterfaceEnableStatus object (1.3.6.1.2.1.4.28.1.3)
178  {
179  "ipv4InterfaceEnableStatus",
180  {43, 6, 1, 2, 1, 4, 28, 1, 3},
181  9,
185  NULL,
186  NULL,
187  sizeof(int32_t),
191  },
192  //ipv4InterfaceRetransmitTime object (1.3.6.1.2.1.4.28.1.4)
193  {
194  "ipv4InterfaceRetransmitTime",
195  {43, 6, 1, 2, 1, 4, 28, 1, 4},
196  9,
200  NULL,
201  NULL,
202  sizeof(uint32_t),
203  NULL,
206  },
207 #endif
208 #if (IPV6_SUPPORT == ENABLED)
209  //ipv6InterfaceTableLastChange object (1.3.6.1.2.1.4.29)
210  {
211  "ipv6InterfaceTableLastChange",
212  {43, 6, 1, 2, 1, 4, 29},
213  7,
218  NULL,
219  sizeof(uint32_t),
220  NULL,
221  NULL,
222  NULL
223  },
224  //ipv6InterfaceReasmMaxSize object (1.3.6.1.2.1.4.30.1.2)
225  {
226  "ipv6InterfaceReasmMaxSize",
227  {43, 6, 1, 2, 1, 4, 30, 1, 2},
228  9,
232  NULL,
233  NULL,
234  sizeof(uint32_t),
235  NULL,
238  },
239  //ipv6InterfaceIdentifier object (1.3.6.1.2.1.4.30.1.3)
240  {
241  "ipv6InterfaceIdentifier",
242  {43, 6, 1, 2, 1, 4, 30, 1, 3},
243  9,
247  NULL,
248  NULL,
249  0,
250  NULL,
253  },
254  //ipv6InterfaceEnableStatus object (1.3.6.1.2.1.4.30.1.5)
255  {
256  "ipv6InterfaceEnableStatus",
257  {43, 6, 1, 2, 1, 4, 30, 1, 5},
258  9,
262  NULL,
263  NULL,
264  sizeof(int32_t),
268  },
269  //ipv6InterfaceReachableTime object (1.3.6.1.2.1.4.30.1.6)
270  {
271  "ipv6InterfaceReachableTime",
272  {43, 6, 1, 2, 1, 4, 30, 1, 6},
273  9,
277  NULL,
278  NULL,
279  sizeof(uint32_t),
280  NULL,
283  },
284  //ipv6InterfaceRetransmitTime object (1.3.6.1.2.1.4.30.1.7)
285  {
286  "ipv6InterfaceRetransmitTime",
287  {43, 6, 1, 2, 1, 4, 30, 1, 7},
288  9,
292  NULL,
293  NULL,
294  sizeof(uint32_t),
295  NULL,
298  },
299  //ipv6InterfaceForwarding object (1.3.6.1.2.1.4.30.1.8)
300  {
301  "ipv6InterfaceForwarding",
302  {43, 6, 1, 2, 1, 4, 30, 1, 8},
303  9,
307  NULL,
308  NULL,
309  sizeof(int32_t),
313  },
314 #endif
315  //ipSystemStatsInReceives object (1.3.6.1.2.1.4.31.1.1.3)
316  {
317  "ipSystemStatsInReceives",
318  {43, 6, 1, 2, 1, 4, 31, 1, 1, 3},
319  10,
323  NULL,
324  NULL,
325  sizeof(uint32_t),
326  NULL,
329  },
330  //ipSystemStatsHCInReceives object (1.3.6.1.2.1.4.31.1.1.4)
331  {
332  "ipSystemStatsHCInReceives",
333  {43, 6, 1, 2, 1, 4, 31, 1, 1, 4},
334  10,
338  NULL,
339  NULL,
340  sizeof(uint64_t),
341  NULL,
344  },
345  //ipSystemStatsInOctets object (1.3.6.1.2.1.4.31.1.1.5)
346  {
347  "ipSystemStatsInOctets",
348  {43, 6, 1, 2, 1, 4, 31, 1, 1, 5},
349  10,
353  NULL,
354  NULL,
355  sizeof(uint32_t),
356  NULL,
359  },
360  //ipSystemStatsHCInOctets object (1.3.6.1.2.1.4.31.1.1.6)
361  {
362  "ipSystemStatsHCInOctets",
363  {43, 6, 1, 2, 1, 4, 31, 1, 1, 6},
364  10,
368  NULL,
369  NULL,
370  sizeof(uint64_t),
371  NULL,
374  },
375  //ipSystemStatsInHdrErrors object (1.3.6.1.2.1.4.31.1.1.7)
376  {
377  "ipSystemStatsInHdrErrors",
378  {43, 6, 1, 2, 1, 4, 31, 1, 1, 7},
379  10,
383  NULL,
384  NULL,
385  sizeof(uint32_t),
386  NULL,
389  },
390  //ipSystemStatsInNoRoutes object (1.3.6.1.2.1.4.31.1.1.8)
391  {
392  "ipSystemStatsInNoRoutes",
393  {43, 6, 1, 2, 1, 4, 31, 1, 1, 8},
394  10,
398  NULL,
399  NULL,
400  sizeof(uint32_t),
401  NULL,
404  },
405  //ipSystemStatsInAddrErrors object (1.3.6.1.2.1.4.31.1.1.9)
406  {
407  "ipSystemStatsInAddrErrors",
408  {43, 6, 1, 2, 1, 4, 31, 1, 1, 9},
409  10,
413  NULL,
414  NULL,
415  sizeof(uint32_t),
416  NULL,
419  },
420  //ipSystemStatsInUnknownProtos object (1.3.6.1.2.1.4.31.1.1.10)
421  {
422  "ipSystemStatsInUnknownProtos",
423  {43, 6, 1, 2, 1, 4, 31, 1, 1, 10},
424  10,
428  NULL,
429  NULL,
430  sizeof(uint32_t),
431  NULL,
434  },
435  //ipSystemStatsInTruncatedPkts object (1.3.6.1.2.1.4.31.1.1.11)
436  {
437  "ipSystemStatsInTruncatedPkts",
438  {43, 6, 1, 2, 1, 4, 31, 1, 1, 11},
439  10,
443  NULL,
444  NULL,
445  sizeof(uint32_t),
446  NULL,
449  },
450  //ipSystemStatsInForwDatagrams object (1.3.6.1.2.1.4.31.1.1.12)
451  {
452  "ipSystemStatsInForwDatagrams",
453  {43, 6, 1, 2, 1, 4, 31, 1, 1, 12},
454  10,
458  NULL,
459  NULL,
460  sizeof(uint32_t),
461  NULL,
464  },
465  //ipSystemStatsHCInForwDatagrams object (1.3.6.1.2.1.4.31.1.1.13)
466  {
467  "ipSystemStatsHCInForwDatagrams",
468  {43, 6, 1, 2, 1, 4, 31, 1, 1, 13},
469  10,
473  NULL,
474  NULL,
475  sizeof(uint64_t),
476  NULL,
479  },
480  //ipSystemStatsReasmReqds object (1.3.6.1.2.1.4.31.1.1.14)
481  {
482  "ipSystemStatsReasmReqds",
483  {43, 6, 1, 2, 1, 4, 31, 1, 1, 14},
484  10,
488  NULL,
489  NULL,
490  sizeof(uint32_t),
491  NULL,
494  },
495  //ipSystemStatsReasmOKs object (1.3.6.1.2.1.4.31.1.1.15)
496  {
497  "ipSystemStatsReasmOKs",
498  {43, 6, 1, 2, 1, 4, 31, 1, 1, 15},
499  10,
503  NULL,
504  NULL,
505  sizeof(uint32_t),
506  NULL,
509  },
510  //ipSystemStatsReasmFails object (1.3.6.1.2.1.4.31.1.1.16)
511  {
512  "ipSystemStatsReasmFails",
513  {43, 6, 1, 2, 1, 4, 31, 1, 1, 16},
514  10,
518  NULL,
519  NULL,
520  sizeof(uint32_t),
521  NULL,
524  },
525  //ipSystemStatsInDiscards object (1.3.6.1.2.1.4.31.1.1.17)
526  {
527  "ipSystemStatsInDiscards",
528  {43, 6, 1, 2, 1, 4, 31, 1, 1, 17},
529  10,
533  NULL,
534  NULL,
535  sizeof(uint32_t),
536  NULL,
539  },
540  //ipSystemStatsInDelivers object (1.3.6.1.2.1.4.31.1.1.18)
541  {
542  "ipSystemStatsInDelivers",
543  {43, 6, 1, 2, 1, 4, 31, 1, 1, 18},
544  10,
548  NULL,
549  NULL,
550  sizeof(uint32_t),
551  NULL,
554  },
555  //ipSystemStatsHCInDelivers object (1.3.6.1.2.1.4.31.1.1.19)
556  {
557  "ipSystemStatsHCInDelivers",
558  {43, 6, 1, 2, 1, 4, 31, 1, 1, 19},
559  10,
563  NULL,
564  NULL,
565  sizeof(uint64_t),
566  NULL,
569  },
570  //ipSystemStatsOutRequests object (1.3.6.1.2.1.4.31.1.1.20)
571  {
572  "ipSystemStatsOutRequests",
573  {43, 6, 1, 2, 1, 4, 31, 1, 1, 20},
574  10,
578  NULL,
579  NULL,
580  sizeof(uint32_t),
581  NULL,
584  },
585  //ipSystemStatsHCOutRequests object (1.3.6.1.2.1.4.31.1.1.21)
586  {
587  "ipSystemStatsHCOutRequests",
588  {43, 6, 1, 2, 1, 4, 31, 1, 1, 21},
589  10,
593  NULL,
594  NULL,
595  sizeof(uint64_t),
596  NULL,
599  },
600  //ipSystemStatsOutNoRoutes object (1.3.6.1.2.1.4.31.1.1.22)
601  {
602  "ipSystemStatsOutNoRoutes",
603  {43, 6, 1, 2, 1, 4, 31, 1, 1, 22},
604  10,
608  NULL,
609  NULL,
610  sizeof(uint32_t),
611  NULL,
614  },
615  //ipSystemStatsOutForwDatagrams object (1.3.6.1.2.1.4.31.1.1.23)
616  {
617  "ipSystemStatsOutForwDatagrams",
618  {43, 6, 1, 2, 1, 4, 31, 1, 1, 23},
619  10,
623  NULL,
624  NULL,
625  sizeof(uint32_t),
626  NULL,
629  },
630  //ipSystemStatsHCOutForwDatagrams object (1.3.6.1.2.1.4.31.1.1.24)
631  {
632  "ipSystemStatsHCOutForwDatagrams",
633  {43, 6, 1, 2, 1, 4, 31, 1, 1, 24},
634  10,
638  NULL,
639  NULL,
640  sizeof(uint64_t),
641  NULL,
644  },
645  //ipSystemStatsOutDiscards object (1.3.6.1.2.1.4.31.1.1.25)
646  {
647  "ipSystemStatsOutDiscards",
648  {43, 6, 1, 2, 1, 4, 31, 1, 1, 25},
649  10,
653  NULL,
654  NULL,
655  sizeof(uint32_t),
656  NULL,
659  },
660  //ipSystemStatsOutFragReqds object (1.3.6.1.2.1.4.31.1.1.26)
661  {
662  "ipSystemStatsOutFragReqds",
663  {43, 6, 1, 2, 1, 4, 31, 1, 1, 26},
664  10,
668  NULL,
669  NULL,
670  sizeof(uint32_t),
671  NULL,
674  },
675  //ipSystemStatsOutFragOKs object (1.3.6.1.2.1.4.31.1.1.27)
676  {
677  "ipSystemStatsOutFragOKs",
678  {43, 6, 1, 2, 1, 4, 31, 1, 1, 27},
679  10,
683  NULL,
684  NULL,
685  sizeof(uint32_t),
686  NULL,
689  },
690  //ipSystemStatsOutFragFails object (1.3.6.1.2.1.4.31.1.1.28)
691  {
692  "ipSystemStatsOutFragFails",
693  {43, 6, 1, 2, 1, 4, 31, 1, 1, 28},
694  10,
698  NULL,
699  NULL,
700  sizeof(uint32_t),
701  NULL,
704  },
705  //ipSystemStatsOutFragCreates object (1.3.6.1.2.1.4.31.1.1.29)
706  {
707  "ipSystemStatsOutFragCreates",
708  {43, 6, 1, 2, 1, 4, 31, 1, 1, 29},
709  10,
713  NULL,
714  NULL,
715  sizeof(uint32_t),
716  NULL,
719  },
720  //ipSystemStatsOutTransmits object (1.3.6.1.2.1.4.31.1.1.30)
721  {
722  "ipSystemStatsOutTransmits",
723  {43, 6, 1, 2, 1, 4, 31, 1, 1, 30},
724  10,
728  NULL,
729  NULL,
730  sizeof(uint32_t),
731  NULL,
734  },
735  //ipSystemStatsHCOutTransmits object (1.3.6.1.2.1.4.31.1.1.31)
736  {
737  "ipSystemStatsHCOutTransmits",
738  {43, 6, 1, 2, 1, 4, 31, 1, 1, 31},
739  10,
743  NULL,
744  NULL,
745  sizeof(uint64_t),
746  NULL,
749  },
750  //ipSystemStatsOutOctets object (1.3.6.1.2.1.4.31.1.1.32)
751  {
752  "ipSystemStatsOutOctets",
753  {43, 6, 1, 2, 1, 4, 31, 1, 1, 32},
754  10,
758  NULL,
759  NULL,
760  sizeof(uint32_t),
761  NULL,
764  },
765  //ipSystemStatsHCOutOctets object (1.3.6.1.2.1.4.31.1.1.33)
766  {
767  "ipSystemStatsHCOutOctets",
768  {43, 6, 1, 2, 1, 4, 31, 1, 1, 33},
769  10,
773  NULL,
774  NULL,
775  sizeof(uint64_t),
776  NULL,
779  },
780  //ipSystemStatsInMcastPkts object (1.3.6.1.2.1.4.31.1.1.34)
781  {
782  "ipSystemStatsInMcastPkts",
783  {43, 6, 1, 2, 1, 4, 31, 1, 1, 34},
784  10,
788  NULL,
789  NULL,
790  sizeof(uint32_t),
791  NULL,
794  },
795  //ipSystemStatsHCInMcastPkts object (1.3.6.1.2.1.4.31.1.1.35)
796  {
797  "ipSystemStatsHCInMcastPkts",
798  {43, 6, 1, 2, 1, 4, 31, 1, 1, 35},
799  10,
803  NULL,
804  NULL,
805  sizeof(uint64_t),
806  NULL,
809  },
810  //ipSystemStatsInMcastOctets object (1.3.6.1.2.1.4.31.1.1.36)
811  {
812  "ipSystemStatsInMcastOctets",
813  {43, 6, 1, 2, 1, 4, 31, 1, 1, 36},
814  10,
818  NULL,
819  NULL,
820  sizeof(uint32_t),
821  NULL,
824  },
825  //ipSystemStatsHCInMcastOctets object (1.3.6.1.2.1.4.31.1.1.37)
826  {
827  "ipSystemStatsHCInMcastOctets",
828  {43, 6, 1, 2, 1, 4, 31, 1, 1, 37},
829  10,
833  NULL,
834  NULL,
835  sizeof(uint64_t),
836  NULL,
839  },
840  //ipSystemStatsOutMcastPkts object (1.3.6.1.2.1.4.31.1.1.38)
841  {
842  "ipSystemStatsOutMcastPkts",
843  {43, 6, 1, 2, 1, 4, 31, 1, 1, 38},
844  10,
848  NULL,
849  NULL,
850  sizeof(uint32_t),
851  NULL,
854  },
855  //ipSystemStatsHCOutMcastPkts object (1.3.6.1.2.1.4.31.1.1.39)
856  {
857  "ipSystemStatsHCOutMcastPkts",
858  {43, 6, 1, 2, 1, 4, 31, 1, 1, 39},
859  10,
863  NULL,
864  NULL,
865  sizeof(uint64_t),
866  NULL,
869  },
870  //ipSystemStatsOutMcastOctets object (1.3.6.1.2.1.4.31.1.1.40)
871  {
872  "ipSystemStatsOutMcastOctets",
873  {43, 6, 1, 2, 1, 4, 31, 1, 1, 40},
874  10,
878  NULL,
879  NULL,
880  sizeof(uint32_t),
881  NULL,
884  },
885  //ipSystemStatsHCOutMcastOctets object (1.3.6.1.2.1.4.31.1.1.41)
886  {
887  "ipSystemStatsHCOutMcastOctets",
888  {43, 6, 1, 2, 1, 4, 31, 1, 1, 41},
889  10,
893  NULL,
894  NULL,
895  sizeof(uint64_t),
896  NULL,
899  },
900  //ipSystemStatsInBcastPkts object (1.3.6.1.2.1.4.31.1.1.42)
901  {
902  "ipSystemStatsInBcastPkts",
903  {43, 6, 1, 2, 1, 4, 31, 1, 1, 42},
904  10,
908  NULL,
909  NULL,
910  sizeof(uint32_t),
911  NULL,
914  },
915  //ipSystemStatsHCInBcastPkts object (1.3.6.1.2.1.4.31.1.1.43)
916  {
917  "ipSystemStatsHCInBcastPkts",
918  {43, 6, 1, 2, 1, 4, 31, 1, 1, 43},
919  10,
923  NULL,
924  NULL,
925  sizeof(uint64_t),
926  NULL,
929  },
930  //ipSystemStatsOutBcastPkts object (1.3.6.1.2.1.4.31.1.1.44)
931  {
932  "ipSystemStatsOutBcastPkts",
933  {43, 6, 1, 2, 1, 4, 31, 1, 1, 44},
934  10,
938  NULL,
939  NULL,
940  sizeof(uint32_t),
941  NULL,
944  },
945  //ipSystemStatsHCOutBcastPkts object (1.3.6.1.2.1.4.31.1.1.45)
946  {
947  "ipSystemStatsHCOutBcastPkts",
948  {43, 6, 1, 2, 1, 4, 31, 1, 1, 45},
949  10,
953  NULL,
954  NULL,
955  sizeof(uint64_t),
956  NULL,
959  },
960  //ipSystemStatsDiscontinuityTime object (1.3.6.1.2.1.4.31.1.1.46)
961  {
962  "ipSystemStatsDiscontinuityTime",
963  {43, 6, 1, 2, 1, 4, 31, 1, 1, 46},
964  10,
968  NULL,
969  NULL,
970  sizeof(uint32_t),
971  NULL,
974  },
975  //ipSystemStatsRefreshRate object (1.3.6.1.2.1.4.31.1.1.47)
976  {
977  "ipSystemStatsRefreshRate",
978  {43, 6, 1, 2, 1, 4, 31, 1, 1, 47},
979  10,
983  NULL,
984  NULL,
985  sizeof(uint32_t),
986  NULL,
989  },
990  //ipIfStatsTableLastChange object (1.3.6.1.2.1.4.31.2)
991  {
992  "ipIfStatsTableLastChange",
993  {43, 6, 1, 2, 1, 4, 31, 2},
994  8,
999  NULL,
1000  sizeof(uint32_t),
1001  NULL,
1002  NULL,
1003  NULL
1004  },
1005  //ipIfStatsInReceives object (1.3.6.1.2.1.4.31.3.1.3)
1006  {
1007  "ipIfStatsInReceives",
1008  {43, 6, 1, 2, 1, 4, 31, 3, 1, 3},
1009  10,
1013  NULL,
1014  NULL,
1015  sizeof(uint32_t),
1016  NULL,
1019  },
1020  //ipIfStatsHCInReceives object (1.3.6.1.2.1.4.31.3.1.4)
1021  {
1022  "ipIfStatsHCInReceives",
1023  {43, 6, 1, 2, 1, 4, 31, 3, 1, 4},
1024  10,
1028  NULL,
1029  NULL,
1030  sizeof(uint64_t),
1031  NULL,
1034  },
1035  //ipIfStatsInOctets object (1.3.6.1.2.1.4.31.3.1.5)
1036  {
1037  "ipIfStatsInOctets",
1038  {43, 6, 1, 2, 1, 4, 31, 3, 1, 5},
1039  10,
1043  NULL,
1044  NULL,
1045  sizeof(uint32_t),
1046  NULL,
1049  },
1050  //ipIfStatsHCInOctets object (1.3.6.1.2.1.4.31.3.1.6)
1051  {
1052  "ipIfStatsHCInOctets",
1053  {43, 6, 1, 2, 1, 4, 31, 3, 1, 6},
1054  10,
1058  NULL,
1059  NULL,
1060  sizeof(uint64_t),
1061  NULL,
1064  },
1065  //ipIfStatsInHdrErrors object (1.3.6.1.2.1.4.31.3.1.7)
1066  {
1067  "ipIfStatsInHdrErrors",
1068  {43, 6, 1, 2, 1, 4, 31, 3, 1, 7},
1069  10,
1073  NULL,
1074  NULL,
1075  sizeof(uint32_t),
1076  NULL,
1079  },
1080  //ipIfStatsInNoRoutes object (1.3.6.1.2.1.4.31.3.1.8)
1081  {
1082  "ipIfStatsInNoRoutes",
1083  {43, 6, 1, 2, 1, 4, 31, 3, 1, 8},
1084  10,
1088  NULL,
1089  NULL,
1090  sizeof(uint32_t),
1091  NULL,
1094  },
1095  //ipIfStatsInAddrErrors object (1.3.6.1.2.1.4.31.3.1.9)
1096  {
1097  "ipIfStatsInAddrErrors",
1098  {43, 6, 1, 2, 1, 4, 31, 3, 1, 9},
1099  10,
1103  NULL,
1104  NULL,
1105  sizeof(uint32_t),
1106  NULL,
1109  },
1110  //ipIfStatsInUnknownProtos object (1.3.6.1.2.1.4.31.3.1.10)
1111  {
1112  "ipIfStatsInUnknownProtos",
1113  {43, 6, 1, 2, 1, 4, 31, 3, 1, 10},
1114  10,
1118  NULL,
1119  NULL,
1120  sizeof(uint32_t),
1121  NULL,
1124  },
1125  //ipIfStatsInTruncatedPkts object (1.3.6.1.2.1.4.31.3.1.11)
1126  {
1127  "ipIfStatsInTruncatedPkts",
1128  {43, 6, 1, 2, 1, 4, 31, 3, 1, 11},
1129  10,
1133  NULL,
1134  NULL,
1135  sizeof(uint32_t),
1136  NULL,
1139  },
1140  //ipIfStatsInForwDatagrams object (1.3.6.1.2.1.4.31.3.1.12)
1141  {
1142  "ipIfStatsInForwDatagrams",
1143  {43, 6, 1, 2, 1, 4, 31, 3, 1, 12},
1144  10,
1148  NULL,
1149  NULL,
1150  sizeof(uint32_t),
1151  NULL,
1154  },
1155  //ipIfStatsHCInForwDatagrams object (1.3.6.1.2.1.4.31.3.1.13)
1156  {
1157  "ipIfStatsHCInForwDatagrams",
1158  {43, 6, 1, 2, 1, 4, 31, 3, 1, 13},
1159  10,
1163  NULL,
1164  NULL,
1165  sizeof(uint64_t),
1166  NULL,
1169  },
1170  //ipIfStatsReasmReqds object (1.3.6.1.2.1.4.31.3.1.14)
1171  {
1172  "ipIfStatsReasmReqds",
1173  {43, 6, 1, 2, 1, 4, 31, 3, 1, 14},
1174  10,
1178  NULL,
1179  NULL,
1180  sizeof(uint32_t),
1181  NULL,
1184  },
1185  //ipIfStatsReasmOKs object (1.3.6.1.2.1.4.31.3.1.15)
1186  {
1187  "ipIfStatsReasmOKs",
1188  {43, 6, 1, 2, 1, 4, 31, 3, 1, 15},
1189  10,
1193  NULL,
1194  NULL,
1195  sizeof(uint32_t),
1196  NULL,
1199  },
1200  //ipIfStatsReasmFails object (1.3.6.1.2.1.4.31.3.1.16)
1201  {
1202  "ipIfStatsReasmFails",
1203  {43, 6, 1, 2, 1, 4, 31, 3, 1, 16},
1204  10,
1208  NULL,
1209  NULL,
1210  sizeof(uint32_t),
1211  NULL,
1214  },
1215  //ipIfStatsInDiscards object (1.3.6.1.2.1.4.31.3.1.17)
1216  {
1217  "ipIfStatsInDiscards",
1218  {43, 6, 1, 2, 1, 4, 31, 3, 1, 17},
1219  10,
1223  NULL,
1224  NULL,
1225  sizeof(uint32_t),
1226  NULL,
1229  },
1230  //ipIfStatsInDelivers object (1.3.6.1.2.1.4.31.3.1.18)
1231  {
1232  "ipIfStatsInDelivers",
1233  {43, 6, 1, 2, 1, 4, 31, 3, 1, 18},
1234  10,
1238  NULL,
1239  NULL,
1240  sizeof(uint32_t),
1241  NULL,
1244  },
1245  //ipIfStatsHCInDelivers object (1.3.6.1.2.1.4.31.3.1.19)
1246  {
1247  "ipIfStatsHCInDelivers",
1248  {43, 6, 1, 2, 1, 4, 31, 3, 1, 19},
1249  10,
1253  NULL,
1254  NULL,
1255  sizeof(uint64_t),
1256  NULL,
1259  },
1260  //ipIfStatsOutRequests object (1.3.6.1.2.1.4.31.3.1.20)
1261  {
1262  "ipIfStatsOutRequests",
1263  {43, 6, 1, 2, 1, 4, 31, 3, 1, 20},
1264  10,
1268  NULL,
1269  NULL,
1270  sizeof(uint32_t),
1271  NULL,
1274  },
1275  //ipIfStatsHCOutRequests object (1.3.6.1.2.1.4.31.3.1.21)
1276  {
1277  "ipIfStatsHCOutRequests",
1278  {43, 6, 1, 2, 1, 4, 31, 3, 1, 21},
1279  10,
1283  NULL,
1284  NULL,
1285  sizeof(uint64_t),
1286  NULL,
1289  },
1290  //ipIfStatsOutForwDatagrams object (1.3.6.1.2.1.4.31.3.1.23)
1291  {
1292  "ipIfStatsOutForwDatagrams",
1293  {43, 6, 1, 2, 1, 4, 31, 3, 1, 23},
1294  10,
1298  NULL,
1299  NULL,
1300  sizeof(uint32_t),
1301  NULL,
1304  },
1305  //ipIfStatsHCOutForwDatagrams object (1.3.6.1.2.1.4.31.3.1.24)
1306  {
1307  "ipIfStatsHCOutForwDatagrams",
1308  {43, 6, 1, 2, 1, 4, 31, 3, 1, 24},
1309  10,
1313  NULL,
1314  NULL,
1315  sizeof(uint64_t),
1316  NULL,
1319  },
1320  //ipIfStatsOutDiscards object (1.3.6.1.2.1.4.31.3.1.25)
1321  {
1322  "ipIfStatsOutDiscards",
1323  {43, 6, 1, 2, 1, 4, 31, 3, 1, 25},
1324  10,
1328  NULL,
1329  NULL,
1330  sizeof(uint32_t),
1331  NULL,
1334  },
1335  //ipIfStatsOutFragReqds object (1.3.6.1.2.1.4.31.3.1.26)
1336  {
1337  "ipIfStatsOutFragReqds",
1338  {43, 6, 1, 2, 1, 4, 31, 3, 1, 26},
1339  10,
1343  NULL,
1344  NULL,
1345  sizeof(uint32_t),
1346  NULL,
1349  },
1350  //ipIfStatsOutFragOKs object (1.3.6.1.2.1.4.31.3.1.27)
1351  {
1352  "ipIfStatsOutFragOKs",
1353  {43, 6, 1, 2, 1, 4, 31, 3, 1, 27},
1354  10,
1358  NULL,
1359  NULL,
1360  sizeof(uint32_t),
1361  NULL,
1364  },
1365  //ipIfStatsOutFragFails object (1.3.6.1.2.1.4.31.3.1.28)
1366  {
1367  "ipIfStatsOutFragFails",
1368  {43, 6, 1, 2, 1, 4, 31, 3, 1, 28},
1369  10,
1373  NULL,
1374  NULL,
1375  sizeof(uint32_t),
1376  NULL,
1379  },
1380  //ipIfStatsOutFragCreates object (1.3.6.1.2.1.4.31.3.1.29)
1381  {
1382  "ipIfStatsOutFragCreates",
1383  {43, 6, 1, 2, 1, 4, 31, 3, 1, 29},
1384  10,
1388  NULL,
1389  NULL,
1390  sizeof(uint32_t),
1391  NULL,
1394  },
1395  //ipIfStatsOutTransmits object (1.3.6.1.2.1.4.31.3.1.30)
1396  {
1397  "ipIfStatsOutTransmits",
1398  {43, 6, 1, 2, 1, 4, 31, 3, 1, 30},
1399  10,
1403  NULL,
1404  NULL,
1405  sizeof(uint32_t),
1406  NULL,
1409  },
1410  //ipIfStatsHCOutTransmits object (1.3.6.1.2.1.4.31.3.1.31)
1411  {
1412  "ipIfStatsHCOutTransmits",
1413  {43, 6, 1, 2, 1, 4, 31, 3, 1, 31},
1414  10,
1418  NULL,
1419  NULL,
1420  sizeof(uint64_t),
1421  NULL,
1424  },
1425  //ipIfStatsOutOctets object (1.3.6.1.2.1.4.31.3.1.32)
1426  {
1427  "ipIfStatsOutOctets",
1428  {43, 6, 1, 2, 1, 4, 31, 3, 1, 32},
1429  10,
1433  NULL,
1434  NULL,
1435  sizeof(uint32_t),
1436  NULL,
1439  },
1440  //ipIfStatsHCOutOctets object (1.3.6.1.2.1.4.31.3.1.33)
1441  {
1442  "ipIfStatsHCOutOctets",
1443  {43, 6, 1, 2, 1, 4, 31, 3, 1, 33},
1444  10,
1448  NULL,
1449  NULL,
1450  sizeof(uint64_t),
1451  NULL,
1454  },
1455  //ipIfStatsInMcastPkts object (1.3.6.1.2.1.4.31.3.1.34)
1456  {
1457  "ipIfStatsInMcastPkts",
1458  {43, 6, 1, 2, 1, 4, 31, 3, 1, 34},
1459  10,
1463  NULL,
1464  NULL,
1465  sizeof(uint32_t),
1466  NULL,
1469  },
1470  //ipIfStatsHCInMcastPkts object (1.3.6.1.2.1.4.31.3.1.35)
1471  {
1472  "ipIfStatsHCInMcastPkts",
1473  {43, 6, 1, 2, 1, 4, 31, 3, 1, 35},
1474  10,
1478  NULL,
1479  NULL,
1480  sizeof(uint64_t),
1481  NULL,
1484  },
1485  //ipIfStatsInMcastOctets object (1.3.6.1.2.1.4.31.3.1.36)
1486  {
1487  "ipIfStatsInMcastOctets",
1488  {43, 6, 1, 2, 1, 4, 31, 3, 1, 36},
1489  10,
1493  NULL,
1494  NULL,
1495  sizeof(uint32_t),
1496  NULL,
1499  },
1500  //ipIfStatsHCInMcastOctets object (1.3.6.1.2.1.4.31.3.1.37)
1501  {
1502  "ipIfStatsHCInMcastOctets",
1503  {43, 6, 1, 2, 1, 4, 31, 3, 1, 37},
1504  10,
1508  NULL,
1509  NULL,
1510  sizeof(uint64_t),
1511  NULL,
1514  },
1515  //ipIfStatsOutMcastPkts object (1.3.6.1.2.1.4.31.3.1.38)
1516  {
1517  "ipIfStatsOutMcastPkts",
1518  {43, 6, 1, 2, 1, 4, 31, 3, 1, 38},
1519  10,
1523  NULL,
1524  NULL,
1525  sizeof(uint32_t),
1526  NULL,
1529  },
1530  //ipIfStatsHCOutMcastPkts object (1.3.6.1.2.1.4.31.3.1.39)
1531  {
1532  "ipIfStatsHCOutMcastPkts",
1533  {43, 6, 1, 2, 1, 4, 31, 3, 1, 39},
1534  10,
1538  NULL,
1539  NULL,
1540  sizeof(uint64_t),
1541  NULL,
1544  },
1545  //ipIfStatsOutMcastOctets object (1.3.6.1.2.1.4.31.3.1.40)
1546  {
1547  "ipIfStatsOutMcastOctets",
1548  {43, 6, 1, 2, 1, 4, 31, 3, 1, 40},
1549  10,
1553  NULL,
1554  NULL,
1555  sizeof(uint32_t),
1556  NULL,
1559  },
1560  //ipIfStatsHCOutMcastOctets object (1.3.6.1.2.1.4.31.3.1.41)
1561  {
1562  "ipIfStatsHCOutMcastOctets",
1563  {43, 6, 1, 2, 1, 4, 31, 3, 1, 41},
1564  10,
1568  NULL,
1569  NULL,
1570  sizeof(uint64_t),
1571  NULL,
1574  },
1575  //ipIfStatsInBcastPkts object (1.3.6.1.2.1.4.31.3.1.42)
1576  {
1577  "ipIfStatsInBcastPkts",
1578  {43, 6, 1, 2, 1, 4, 31, 3, 1, 42},
1579  10,
1583  NULL,
1584  NULL,
1585  sizeof(uint32_t),
1586  NULL,
1589  },
1590  //ipIfStatsHCInBcastPkts object (1.3.6.1.2.1.4.31.3.1.43)
1591  {
1592  "ipIfStatsHCInBcastPkts",
1593  {43, 6, 1, 2, 1, 4, 31, 3, 1, 43},
1594  10,
1598  NULL,
1599  NULL,
1600  sizeof(uint64_t),
1601  NULL,
1604  },
1605  //ipIfStatsOutBcastPkts object (1.3.6.1.2.1.4.31.3.1.44)
1606  {
1607  "ipIfStatsOutBcastPkts",
1608  {43, 6, 1, 2, 1, 4, 31, 3, 1, 44},
1609  10,
1613  NULL,
1614  NULL,
1615  sizeof(uint32_t),
1616  NULL,
1619  },
1620  //ipIfStatsHCOutBcastPkts object (1.3.6.1.2.1.4.31.3.1.45)
1621  {
1622  "ipIfStatsHCOutBcastPkts",
1623  {43, 6, 1, 2, 1, 4, 31, 3, 1, 45},
1624  10,
1628  NULL,
1629  NULL,
1630  sizeof(uint64_t),
1631  NULL,
1634  },
1635  //ipIfStatsDiscontinuityTime object (1.3.6.1.2.1.4.31.3.1.46)
1636  {
1637  "ipIfStatsDiscontinuityTime",
1638  {43, 6, 1, 2, 1, 4, 31, 3, 1, 46},
1639  10,
1643  NULL,
1644  NULL,
1645  sizeof(uint32_t),
1646  NULL,
1649  },
1650  //ipIfStatsRefreshRate object (1.3.6.1.2.1.4.31.3.1.47)
1651  {
1652  "ipIfStatsRefreshRate",
1653  {43, 6, 1, 2, 1, 4, 31, 3, 1, 47},
1654  10,
1658  NULL,
1659  NULL,
1660  sizeof(uint32_t),
1661  NULL,
1664  },
1665  //ipAddressPrefixOrigin object (1.3.6.1.2.1.4.32.1.5)
1666  {
1667  "ipAddressPrefixOrigin",
1668  {43, 6, 1, 2, 1, 4, 32, 1, 5},
1669  9,
1673  NULL,
1674  NULL,
1675  sizeof(int32_t),
1676  NULL,
1679  },
1680  //ipAddressPrefixOnLinkFlag object (1.3.6.1.2.1.4.32.1.6)
1681  {
1682  "ipAddressPrefixOnLinkFlag",
1683  {43, 6, 1, 2, 1, 4, 32, 1, 6},
1684  9,
1688  NULL,
1689  NULL,
1690  sizeof(int32_t),
1691  NULL,
1694  },
1695  //ipAddressPrefixAutonomousFlag object (1.3.6.1.2.1.4.32.1.7)
1696  {
1697  "ipAddressPrefixAutonomousFlag",
1698  {43, 6, 1, 2, 1, 4, 32, 1, 7},
1699  9,
1703  NULL,
1704  NULL,
1705  sizeof(int32_t),
1706  NULL,
1709  },
1710  //ipAddressPrefixAdvPreferredLifetime object (1.3.6.1.2.1.4.32.1.8)
1711  {
1712  "ipAddressPrefixAdvPreferredLifetime",
1713  {43, 6, 1, 2, 1, 4, 32, 1, 8},
1714  9,
1718  NULL,
1719  NULL,
1720  sizeof(uint32_t),
1721  NULL,
1724  },
1725  //ipAddressPrefixAdvValidLifetime object (1.3.6.1.2.1.4.32.1.9)
1726  {
1727  "ipAddressPrefixAdvValidLifetime",
1728  {43, 6, 1, 2, 1, 4, 32, 1, 9},
1729  9,
1733  NULL,
1734  NULL,
1735  sizeof(uint32_t),
1736  NULL,
1739  },
1740  //ipAddressSpinLock object (1.3.6.1.2.1.4.33)
1741  {
1742  "ipAddressSpinLock",
1743  {43, 6, 1, 2, 1, 4, 33},
1744  7,
1748  NULL,
1749  NULL,
1750  sizeof(int32_t),
1753  NULL
1754  },
1755  //ipAddressIfIndex object (1.3.6.1.2.1.4.34.1.3)
1756  {
1757  "ipAddressIfIndex",
1758  {43, 6, 1, 2, 1, 4, 34, 1, 3},
1759  9,
1763  NULL,
1764  NULL,
1765  sizeof(int32_t),
1769  },
1770  //ipAddressType object (1.3.6.1.2.1.4.34.1.4)
1771  {
1772  "ipAddressType",
1773  {43, 6, 1, 2, 1, 4, 34, 1, 4},
1774  9,
1778  NULL,
1779  NULL,
1780  sizeof(int32_t),
1784  },
1785  //ipAddressPrefix object (1.3.6.1.2.1.4.34.1.5)
1786  {
1787  "ipAddressPrefix",
1788  {43, 6, 1, 2, 1, 4, 34, 1, 5},
1789  9,
1793  NULL,
1794  NULL,
1795  0,
1796  NULL,
1799  },
1800  //ipAddressOrigin object (1.3.6.1.2.1.4.34.1.6)
1801  {
1802  "ipAddressOrigin",
1803  {43, 6, 1, 2, 1, 4, 34, 1, 6},
1804  9,
1808  NULL,
1809  NULL,
1810  sizeof(int32_t),
1811  NULL,
1814  },
1815  //ipAddressStatus object (1.3.6.1.2.1.4.34.1.7)
1816  {
1817  "ipAddressStatus",
1818  {43, 6, 1, 2, 1, 4, 34, 1, 7},
1819  9,
1823  NULL,
1824  NULL,
1825  sizeof(int32_t),
1829  },
1830  //ipAddressCreated object (1.3.6.1.2.1.4.34.1.8)
1831  {
1832  "ipAddressCreated",
1833  {43, 6, 1, 2, 1, 4, 34, 1, 8},
1834  9,
1838  NULL,
1839  NULL,
1840  sizeof(uint32_t),
1841  NULL,
1844  },
1845  //ipAddressLastChanged object (1.3.6.1.2.1.4.34.1.9)
1846  {
1847  "ipAddressLastChanged",
1848  {43, 6, 1, 2, 1, 4, 34, 1, 9},
1849  9,
1853  NULL,
1854  NULL,
1855  sizeof(uint32_t),
1856  NULL,
1859  },
1860  //ipAddressRowStatus object (1.3.6.1.2.1.4.34.1.10)
1861  {
1862  "ipAddressRowStatus",
1863  {43, 6, 1, 2, 1, 4, 34, 1, 10},
1864  9,
1868  NULL,
1869  NULL,
1870  sizeof(int32_t),
1874  },
1875  //ipAddressStorageType object (1.3.6.1.2.1.4.34.1.11)
1876  {
1877  "ipAddressStorageType",
1878  {43, 6, 1, 2, 1, 4, 34, 1, 11},
1879  9,
1883  NULL,
1884  NULL,
1885  sizeof(int32_t),
1889  },
1890  //ipNetToPhysicalPhysAddress object (1.3.6.1.2.1.4.35.1.4)
1891  {
1892  "ipNetToPhysicalPhysAddress",
1893  {43, 6, 1, 2, 1, 4, 35, 1, 4},
1894  9,
1898  NULL,
1899  NULL,
1900  0,
1904  },
1905  //ipNetToPhysicalLastUpdated object (1.3.6.1.2.1.4.35.1.5)
1906  {
1907  "ipNetToPhysicalLastUpdated",
1908  {43, 6, 1, 2, 1, 4, 35, 1, 5},
1909  9,
1913  NULL,
1914  NULL,
1915  sizeof(uint32_t),
1916  NULL,
1919  },
1920  //ipNetToPhysicalType object (1.3.6.1.2.1.4.35.1.6)
1921  {
1922  "ipNetToPhysicalType",
1923  {43, 6, 1, 2, 1, 4, 35, 1, 6},
1924  9,
1928  NULL,
1929  NULL,
1930  sizeof(int32_t),
1934  },
1935  //ipNetToPhysicalState object (1.3.6.1.2.1.4.35.1.7)
1936  {
1937  "ipNetToPhysicalState",
1938  {43, 6, 1, 2, 1, 4, 35, 1, 7},
1939  9,
1943  NULL,
1944  NULL,
1945  sizeof(int32_t),
1946  NULL,
1949  },
1950  //ipNetToPhysicalRowStatus object (1.3.6.1.2.1.4.35.1.8)
1951  {
1952  "ipNetToPhysicalRowStatus",
1953  {43, 6, 1, 2, 1, 4, 35, 1, 8},
1954  9,
1958  NULL,
1959  NULL,
1960  sizeof(int32_t),
1964  },
1965 #if (IPV6_SUPPORT == ENABLED)
1966  //ipv6ScopeZoneIndexLinkLocal object (1.3.6.1.2.1.4.36.1.2)
1967  {
1968  "ipv6ScopeZoneIndexLinkLocal",
1969  {43, 6, 1, 2, 1, 4, 36, 1, 2},
1970  9,
1974  NULL,
1975  NULL,
1976  sizeof(uint32_t),
1977  NULL,
1980  },
1981  //ipv6ScopeZoneIndex3 object (1.3.6.1.2.1.4.36.1.3)
1982  {
1983  "ipv6ScopeZoneIndex3",
1984  {43, 6, 1, 2, 1, 4, 36, 1, 3},
1985  9,
1989  NULL,
1990  NULL,
1991  sizeof(uint32_t),
1992  NULL,
1995  },
1996  //ipv6ScopeZoneIndexAdminLocal object (1.3.6.1.2.1.4.36.1.4)
1997  {
1998  "ipv6ScopeZoneIndexAdminLocal",
1999  {43, 6, 1, 2, 1, 4, 36, 1, 4},
2000  9,
2004  NULL,
2005  NULL,
2006  sizeof(uint32_t),
2007  NULL,
2010  },
2011  //ipv6ScopeZoneIndexSiteLocal object (1.3.6.1.2.1.4.36.1.5)
2012  {
2013  "ipv6ScopeZoneIndexSiteLocal",
2014  {43, 6, 1, 2, 1, 4, 36, 1, 5},
2015  9,
2019  NULL,
2020  NULL,
2021  sizeof(uint32_t),
2022  NULL,
2025  },
2026  //ipv6ScopeZoneIndex6 object (1.3.6.1.2.1.4.36.1.6)
2027  {
2028  "ipv6ScopeZoneIndex6",
2029  {43, 6, 1, 2, 1, 4, 36, 1, 6},
2030  9,
2034  NULL,
2035  NULL,
2036  sizeof(uint32_t),
2037  NULL,
2040  },
2041  //ipv6ScopeZoneIndex7 object (1.3.6.1.2.1.4.36.1.7)
2042  {
2043  "ipv6ScopeZoneIndex7",
2044  {43, 6, 1, 2, 1, 4, 36, 1, 7},
2045  9,
2049  NULL,
2050  NULL,
2051  sizeof(uint32_t),
2052  NULL,
2055  },
2056  //ipv6ScopeZoneIndexOrganizationLocal object (1.3.6.1.2.1.4.36.1.8)
2057  {
2058  "ipv6ScopeZoneIndexOrganizationLocal",
2059  {43, 6, 1, 2, 1, 4, 36, 1, 8},
2060  9,
2064  NULL,
2065  NULL,
2066  sizeof(uint32_t),
2067  NULL,
2070  },
2071  //ipv6ScopeZoneIndex9 object (1.3.6.1.2.1.4.36.1.9)
2072  {
2073  "ipv6ScopeZoneIndex9",
2074  {43, 6, 1, 2, 1, 4, 36, 1, 9},
2075  9,
2079  NULL,
2080  NULL,
2081  sizeof(uint32_t),
2082  NULL,
2085  },
2086  //ipv6ScopeZoneIndexA object (1.3.6.1.2.1.4.36.1.10)
2087  {
2088  "ipv6ScopeZoneIndexA",
2089  {43, 6, 1, 2, 1, 4, 36, 1, 10},
2090  9,
2094  NULL,
2095  NULL,
2096  sizeof(uint32_t),
2097  NULL,
2100  },
2101  //ipv6ScopeZoneIndexB object (1.3.6.1.2.1.4.36.1.11)
2102  {
2103  "ipv6ScopeZoneIndexB",
2104  {43, 6, 1, 2, 1, 4, 36, 1, 11},
2105  9,
2109  NULL,
2110  NULL,
2111  sizeof(uint32_t),
2112  NULL,
2115  },
2116  //ipv6ScopeZoneIndexC object (1.3.6.1.2.1.4.36.1.12)
2117  {
2118  "ipv6ScopeZoneIndexC",
2119  {43, 6, 1, 2, 1, 4, 36, 1, 12},
2120  9,
2124  NULL,
2125  NULL,
2126  sizeof(uint32_t),
2127  NULL,
2130  },
2131  //ipv6ScopeZoneIndexD object (1.3.6.1.2.1.4.36.1.13)
2132  {
2133  "ipv6ScopeZoneIndexD",
2134  {43, 6, 1, 2, 1, 4, 36, 1, 13},
2135  9,
2139  NULL,
2140  NULL,
2141  sizeof(uint32_t),
2142  NULL,
2145  },
2146 #endif
2147  //ipDefaultRouterLifetime object (1.3.6.1.2.1.4.37.1.4)
2148  {
2149  "ipDefaultRouterLifetime",
2150  {43, 6, 1, 2, 1, 4, 37, 1, 4},
2151  9,
2155  NULL,
2156  NULL,
2157  sizeof(uint32_t),
2158  NULL,
2161  },
2162  //ipDefaultRouterPreference object (1.3.6.1.2.1.4.37.1.5)
2163  {
2164  "ipDefaultRouterPreference",
2165  {43, 6, 1, 2, 1, 4, 37, 1, 5},
2166  9,
2170  NULL,
2171  NULL,
2172  sizeof(int32_t),
2173  NULL,
2176  },
2177 #if (IPV6_SUPPORT == ENABLED)
2178  //ipv6RouterAdvertSpinLock object (1.3.6.1.2.1.4.38)
2179  {
2180  "ipv6RouterAdvertSpinLock",
2181  {43, 6, 1, 2, 1, 4, 38},
2182  7,
2186  NULL,
2187  NULL,
2188  sizeof(int32_t),
2191  NULL
2192  },
2193  //ipv6RouterAdvertSendAdverts object (1.3.6.1.2.1.4.39.1.2)
2194  {
2195  "ipv6RouterAdvertSendAdverts",
2196  {43, 6, 1, 2, 1, 4, 39, 1, 2},
2197  9,
2201  NULL,
2202  NULL,
2203  sizeof(int32_t),
2207  },
2208  //ipv6RouterAdvertMaxInterval object (1.3.6.1.2.1.4.39.1.3)
2209  {
2210  "ipv6RouterAdvertMaxInterval",
2211  {43, 6, 1, 2, 1, 4, 39, 1, 3},
2212  9,
2216  NULL,
2217  NULL,
2218  sizeof(uint32_t),
2222  },
2223  //ipv6RouterAdvertMinInterval object (1.3.6.1.2.1.4.39.1.4)
2224  {
2225  "ipv6RouterAdvertMinInterval",
2226  {43, 6, 1, 2, 1, 4, 39, 1, 4},
2227  9,
2231  NULL,
2232  NULL,
2233  sizeof(uint32_t),
2237  },
2238  //ipv6RouterAdvertManagedFlag object (1.3.6.1.2.1.4.39.1.5)
2239  {
2240  "ipv6RouterAdvertManagedFlag",
2241  {43, 6, 1, 2, 1, 4, 39, 1, 5},
2242  9,
2246  NULL,
2247  NULL,
2248  sizeof(int32_t),
2252  },
2253  //ipv6RouterAdvertOtherConfigFlag object (1.3.6.1.2.1.4.39.1.6)
2254  {
2255  "ipv6RouterAdvertOtherConfigFlag",
2256  {43, 6, 1, 2, 1, 4, 39, 1, 6},
2257  9,
2261  NULL,
2262  NULL,
2263  sizeof(int32_t),
2267  },
2268  //ipv6RouterAdvertLinkMTU object (1.3.6.1.2.1.4.39.1.7)
2269  {
2270  "ipv6RouterAdvertLinkMTU",
2271  {43, 6, 1, 2, 1, 4, 39, 1, 7},
2272  9,
2276  NULL,
2277  NULL,
2278  sizeof(uint32_t),
2282  },
2283  //ipv6RouterAdvertReachableTime object (1.3.6.1.2.1.4.39.1.8)
2284  {
2285  "ipv6RouterAdvertReachableTime",
2286  {43, 6, 1, 2, 1, 4, 39, 1, 8},
2287  9,
2291  NULL,
2292  NULL,
2293  sizeof(uint32_t),
2297  },
2298  //ipv6RouterAdvertRetransmitTime object (1.3.6.1.2.1.4.39.1.9)
2299  {
2300  "ipv6RouterAdvertRetransmitTime",
2301  {43, 6, 1, 2, 1, 4, 39, 1, 9},
2302  9,
2306  NULL,
2307  NULL,
2308  sizeof(uint32_t),
2312  },
2313  //ipv6RouterAdvertCurHopLimit object (1.3.6.1.2.1.4.39.1.10)
2314  {
2315  "ipv6RouterAdvertCurHopLimit",
2316  {43, 6, 1, 2, 1, 4, 39, 1, 10},
2317  9,
2321  NULL,
2322  NULL,
2323  sizeof(uint32_t),
2327  },
2328  //ipv6RouterAdvertDefaultLifetime object (1.3.6.1.2.1.4.39.1.11)
2329  {
2330  "ipv6RouterAdvertDefaultLifetime",
2331  {43, 6, 1, 2, 1, 4, 39, 1, 11},
2332  9,
2336  NULL,
2337  NULL,
2338  sizeof(uint32_t),
2342  },
2343  //ipv6RouterAdvertRowStatus object (1.3.6.1.2.1.4.39.1.12)
2344  {
2345  "ipv6RouterAdvertRowStatus",
2346  {43, 6, 1, 2, 1, 4, 39, 1, 12},
2347  9,
2351  NULL,
2352  NULL,
2353  sizeof(int32_t),
2357  },
2358 #endif
2359  //icmpStatsInMsgs object (1.3.6.1.2.1.5.29.1.2)
2360  {
2361  "icmpStatsInMsgs",
2362  {43, 6, 1, 2, 1, 5, 29, 1, 2},
2363  9,
2367  NULL,
2368  NULL,
2369  sizeof(uint32_t),
2370  NULL,
2373  },
2374  //icmpStatsInErrors object (1.3.6.1.2.1.5.29.1.3)
2375  {
2376  "icmpStatsInErrors",
2377  {43, 6, 1, 2, 1, 5, 29, 1, 3},
2378  9,
2382  NULL,
2383  NULL,
2384  sizeof(uint32_t),
2385  NULL,
2388  },
2389  //icmpStatsOutMsgs object (1.3.6.1.2.1.5.29.1.4)
2390  {
2391  "icmpStatsOutMsgs",
2392  {43, 6, 1, 2, 1, 5, 29, 1, 4},
2393  9,
2397  NULL,
2398  NULL,
2399  sizeof(uint32_t),
2400  NULL,
2403  },
2404  //icmpStatsOutErrors object (1.3.6.1.2.1.5.29.1.5)
2405  {
2406  "icmpStatsOutErrors",
2407  {43, 6, 1, 2, 1, 5, 29, 1, 5},
2408  9,
2412  NULL,
2413  NULL,
2414  sizeof(uint32_t),
2415  NULL,
2418  },
2419  //icmpMsgStatsInPkts object (1.3.6.1.2.1.5.30.1.3)
2420  {
2421  "icmpMsgStatsInPkts",
2422  {43, 6, 1, 2, 1, 5, 30, 1, 3},
2423  9,
2427  NULL,
2428  NULL,
2429  sizeof(uint32_t),
2430  NULL,
2433  },
2434  //icmpMsgStatsOutPkts object (1.3.6.1.2.1.5.30.1.4)
2435  {
2436  "icmpMsgStatsOutPkts",
2437  {43, 6, 1, 2, 1, 5, 30, 1, 4},
2438  9,
2442  NULL,
2443  NULL,
2444  sizeof(uint32_t),
2445  NULL,
2448  }
2449 };
2450 
2451 
2452 /**
2453  * @brief IP MIB module
2454  **/
2455 
2457 {
2458  "IP-MIB",
2459  {43, 6, 1, 2, 1, 48},
2460  6,
2461  ipMibObjects,
2463  ipMibInit,
2464  NULL,
2465  NULL,
2466  NULL,
2467  NULL
2468 };
2469 
2470 #endif
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:2951
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:1827
int32_t ipDefaultTTL
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:188
IP MIB module implementation.
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:629
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:2881
TCP/IP stack core.
Debugging facilities.
IpMibBase ipMibBase
IP MIB base.
Definition: ip_mib_module.c:58
uint32_t ipv4InterfaceTableLastChange
error_t ipMibInit(void)
IP MIB module initialization.
Definition: ip_mib_impl.c:57
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:3246
#define MibObject
Definition: mib_common.h:44
General definitions for cryptographic algorithms.
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:2526
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:3161
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:1497
IP MIB base.
int32_t ipForwarding
OID (Object Identifier)
uint32_t ipIfStatsTableLastChange
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:3102
#define arraysize(a)
Definition: os_port.h:68
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:2001
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:2933
ASN.1 (Abstract Syntax Notation One)
#define ASN1_CLASS_APPLICATION
Definition: asn1.h:46
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:3316
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:2205
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:261
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:368
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:3406
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:2394
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:2688
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:243
IP MIB module.
int32_t ipv6IpForwarding
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:1479
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:2905
const MibModule ipMibModule
IP MIB module.
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:1983
Common definitions for MIB modules.
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:2473
#define ASN1_CLASS_UNIVERSAL
Definition: asn1.h:45
int32_t ipv6IpDefaultHopLimit
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:1213
uint32_t ipv6InterfaceTableLastChange
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:699
MIB module.
Definition: mib_common.h:285
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:915
int32_t ipReasmTimeout
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:122
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:104
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:996
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:421
const MibObject ipMibObjects[]
IP MIB objects.
Definition: ip_mib_module.c:65
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:1456
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:1437