summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols
diff options
context:
space:
mode:
authorSlater, Joseph <joe.slater@windriver.com>2018-01-19 16:53:33 -0800
committerJoe MacDonald <joe_macdonald@mentor.com>2018-02-05 10:40:19 -0500
commit5ed659dbe7d55d0470928fb3bfa717893b4ef019 (patch)
treeaa18186bc8fa06112f2783475b61df84705f1b32 /meta-networking/recipes-protocols
parented9acc9275b4b965da75c0d8e78884faf51725ee (diff)
downloadmeta-openembedded-5ed659dbe7d55d0470928fb3bfa717893b4ef019.tar.gz
net-snmp: remove U64 typedef
This allows us to build perl modules with recent versions of perl. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp/0001-Remove-U64-typedef.patch2527
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb1
2 files changed, 2528 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-Remove-U64-typedef.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-Remove-U64-typedef.patch
new file mode 100644
index 000000000..209a93c63
--- /dev/null
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-Remove-U64-typedef.patch
@@ -0,0 +1,2527 @@
1net-snmp: remove U64 typedef
2
3From git://git.code.sf.net/p/net-snmp/code
4
5Upstream-Status: Backport (unmodified)
6
7Signed-off-by: Joe Slater <joe.slater@windriver.com>
8
9From 477b4307ef12ddce3b6a9205e0bdddbfb2e0e9b6 Mon Sep 17 00:00:00 2001
10From: Bart Van Assche <bvanassche@acm.org>
11Date: Sat, 20 Feb 2016 18:58:18 -0800
12Subject: [PATCH 1/1] Remove U64 typedef
13
14The U64 typedef conflicts with a typedef in a Perl header file. Hence
15remove the U64 typedef from the Net-SNMP header files. This patch does
16not modify the Net-SNMP ABI.
17---
18 agent/mibgroup/if-mib/ifXTable/ifXTable.c | 16 +-
19 agent/mibgroup/if-mib/ifXTable/ifXTable.h | 48 +-
20 .../mibgroup/if-mib/ifXTable/ifXTable_interface.c | 32 +-
21 .../ip-mib/data_access/systemstats_common.c | 2 +-
22 .../ipIfStatsTable/ipIfStatsTable_data_get.c | 28 +-
23 .../ipIfStatsTable/ipIfStatsTable_data_get.h | 28 +-
24 .../ipIfStatsTable/ipIfStatsTable_interface.c | 56 +-
25 .../ip-mib/ipSystemStatsTable/ipSystemStatsTable.c | 28 +-
26 .../ip-mib/ipSystemStatsTable/ipSystemStatsTable.h | 921 ++-------------------
27 .../ipSystemStatsTable_interface.c | 56 +-
28 include/net-snmp/data_access/ipstats.h | 42 +-
29 include/net-snmp/library/int64.h | 34 +-
30 snmplib/int64.c | 38 +-
31 snmplib/read_config.c | 6 +-
32 testing/fulltests/unit-tests/T015int64_clib.c | 10 +-
33 15 files changed, 274 insertions(+), 1071 deletions(-)
34
35diff --git a/agent/mibgroup/if-mib/ifXTable/ifXTable.c b/agent/mibgroup/if-mib/ifXTable/ifXTable.c
36index bb3e736..0c952ba 100644
37--- a/agent/mibgroup/if-mib/ifXTable/ifXTable.c
38+++ b/agent/mibgroup/if-mib/ifXTable/ifXTable.c
39@@ -722,7 +722,7 @@ The total number of octets received on the interface,
40 */
41 int
42 ifHCInOctets_get(ifXTable_rowreq_ctx * rowreq_ctx,
43- U64 * ifHCInOctets_val_ptr)
44+ struct counter64 *ifHCInOctets_val_ptr)
45 {
46 /** we should have a non-NULL pointer */
47 netsnmp_assert(NULL != ifHCInOctets_val_ptr);
48@@ -779,7 +779,7 @@ The number of packets, delivered by this sub-layer to a
49 */
50 int
51 ifHCInUcastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx,
52- U64 * ifHCInUcastPkts_val_ptr)
53+ struct counter64 *ifHCInUcastPkts_val_ptr)
54 {
55 /** we should have a non-NULL pointer */
56 netsnmp_assert(NULL != ifHCInUcastPkts_val_ptr);
57@@ -838,7 +838,7 @@ The number of packets, delivered by this sub-layer to a
58 */
59 int
60 ifHCInMulticastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx,
61- U64 * ifHCInMulticastPkts_val_ptr)
62+ struct counter64 *ifHCInMulticastPkts_val_ptr)
63 {
64 /** we should have a non-NULL pointer */
65 netsnmp_assert(NULL != ifHCInMulticastPkts_val_ptr);
66@@ -897,7 +897,7 @@ The number of packets, delivered by this sub-layer to a
67 */
68 int
69 ifHCInBroadcastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx,
70- U64 * ifHCInBroadcastPkts_val_ptr)
71+ struct counter64 *ifHCInBroadcastPkts_val_ptr)
72 {
73 /** we should have a non-NULL pointer */
74 netsnmp_assert(NULL != ifHCInBroadcastPkts_val_ptr);
75@@ -955,7 +955,7 @@ The total number of octets transmitted out of the
76 */
77 int
78 ifHCOutOctets_get(ifXTable_rowreq_ctx * rowreq_ctx,
79- U64 * ifHCOutOctets_val_ptr)
80+ struct counter64 *ifHCOutOctets_val_ptr)
81 {
82 /** we should have a non-NULL pointer */
83 netsnmp_assert(NULL != ifHCOutOctets_val_ptr);
84@@ -1013,7 +1013,7 @@ The total number of packets that higher-level protocols
85 */
86 int
87 ifHCOutUcastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx,
88- U64 * ifHCOutUcastPkts_val_ptr)
89+ struct counter64 *ifHCOutUcastPkts_val_ptr)
90 {
91 /** we should have a non-NULL pointer */
92 netsnmp_assert(NULL != ifHCOutUcastPkts_val_ptr);
93@@ -1074,7 +1074,7 @@ The total number of packets that higher-level protocols
94 */
95 int
96 ifHCOutMulticastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx,
97- U64 * ifHCOutMulticastPkts_val_ptr)
98+ struct counter64 *ifHCOutMulticastPkts_val_ptr)
99 {
100 /** we should have a non-NULL pointer */
101 netsnmp_assert(NULL != ifHCOutMulticastPkts_val_ptr);
102@@ -1134,7 +1134,7 @@ The total number of packets that higher-level protocols
103 */
104 int
105 ifHCOutBroadcastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx,
106- U64 * ifHCOutBroadcastPkts_val_ptr)
107+ struct counter64 *ifHCOutBroadcastPkts_val_ptr)
108 {
109 /** we should have a non-NULL pointer */
110 netsnmp_assert(NULL != ifHCOutBroadcastPkts_val_ptr);
111diff --git a/agent/mibgroup/if-mib/ifXTable/ifXTable.h b/agent/mibgroup/if-mib/ifXTable/ifXTable.h
112index ba22f97..925af13 100644
113--- a/agent/mibgroup/if-mib/ifXTable/ifXTable.h
114+++ b/agent/mibgroup/if-mib/ifXTable/ifXTable.h
115@@ -143,28 +143,28 @@ config_require(if-mib/ifXTable/ifXTable_data_access)
116 u_long *
117 ifOutBroadcastPkts_val_ptr);
118 int ifHCInOctets_get(ifXTable_rowreq_ctx * rowreq_ctx,
119- U64 * ifHCInOctets_val_ptr);
120+ struct counter64 *ifHCInOctets_val_ptr);
121 int ifHCInUcastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx,
122- U64 * ifHCInUcastPkts_val_ptr);
123+ struct counter64 *ifHCInUcastPkts_val_ptr);
124 int ifHCInMulticastPkts_get(ifXTable_rowreq_ctx *
125 rowreq_ctx,
126- U64 *
127+ struct counter64 *
128 ifHCInMulticastPkts_val_ptr);
129 int ifHCInBroadcastPkts_get(ifXTable_rowreq_ctx *
130 rowreq_ctx,
131- U64 *
132+ struct counter64 *
133 ifHCInBroadcastPkts_val_ptr);
134 int ifHCOutOctets_get(ifXTable_rowreq_ctx * rowreq_ctx,
135- U64 * ifHCOutOctets_val_ptr);
136+ struct counter64 *ifHCOutOctets_val_ptr);
137 int ifHCOutUcastPkts_get(ifXTable_rowreq_ctx * rowreq_ctx,
138- U64 * ifHCOutUcastPkts_val_ptr);
139+ struct counter64 *ifHCOutUcastPkts_val_ptr);
140 int ifHCOutMulticastPkts_get(ifXTable_rowreq_ctx *
141 rowreq_ctx,
142- U64 *
143+ struct counter64 *
144 ifHCOutMulticastPkts_val_ptr);
145 int ifHCOutBroadcastPkts_get(ifXTable_rowreq_ctx *
146 rowreq_ctx,
147- U64 *
148+ struct counter64 *
149 ifHCOutBroadcastPkts_val_ptr);
150 int ifLinkUpDownTrapEnable_get(ifXTable_rowreq_ctx *
151 rowreq_ctx,
152@@ -284,86 +284,86 @@ config_require(if-mib/ifXTable/ifXTable_data_access)
153
154 int ifHCInOctets_check_value(ifXTable_rowreq_ctx *
155 rowreq_ctx,
156- U64 ifHCInOctets_val);
157+ struct counter64 ifHCInOctets_val);
158 int ifHCInOctets_undo_setup(ifXTable_rowreq_ctx *
159 rowreq_ctx);
160 int ifHCInOctets_set(ifXTable_rowreq_ctx * rowreq_ctx,
161- U64 ifHCInOctets_val);
162+ struct counter64 ifHCInOctets_val);
163 int ifHCInOctets_undo(ifXTable_rowreq_ctx * rowreq_ctx);
164
165 int ifHCInUcastPkts_check_value(ifXTable_rowreq_ctx *
166 rowreq_ctx,
167- U64 ifHCInUcastPkts_val);
168+ struct counter64 ifHCInUcastPkts_val);
169 int ifHCInUcastPkts_undo_setup(ifXTable_rowreq_ctx *
170 rowreq_ctx);
171 int ifHCInUcastPkts_set(ifXTable_rowreq_ctx * rowreq_ctx,
172- U64 ifHCInUcastPkts_val);
173+ struct counter64 ifHCInUcastPkts_val);
174 int ifHCInUcastPkts_undo(ifXTable_rowreq_ctx * rowreq_ctx);
175
176 int ifHCInMulticastPkts_check_value(ifXTable_rowreq_ctx *
177 rowreq_ctx,
178- U64
179+ struct counter64
180 ifHCInMulticastPkts_val);
181 int ifHCInMulticastPkts_undo_setup(ifXTable_rowreq_ctx *
182 rowreq_ctx);
183 int ifHCInMulticastPkts_set(ifXTable_rowreq_ctx *
184 rowreq_ctx,
185- U64 ifHCInMulticastPkts_val);
186+ struct counter64 ifHCInMulticastPkts_val);
187 int ifHCInMulticastPkts_undo(ifXTable_rowreq_ctx *
188 rowreq_ctx);
189
190 int ifHCInBroadcastPkts_check_value(ifXTable_rowreq_ctx *
191 rowreq_ctx,
192- U64
193+ struct counter64
194 ifHCInBroadcastPkts_val);
195 int ifHCInBroadcastPkts_undo_setup(ifXTable_rowreq_ctx *
196 rowreq_ctx);
197 int ifHCInBroadcastPkts_set(ifXTable_rowreq_ctx *
198 rowreq_ctx,
199- U64 ifHCInBroadcastPkts_val);
200+ struct counter64 ifHCInBroadcastPkts_val);
201 int ifHCInBroadcastPkts_undo(ifXTable_rowreq_ctx *
202 rowreq_ctx);
203
204 int ifHCOutOctets_check_value(ifXTable_rowreq_ctx *
205 rowreq_ctx,
206- U64 ifHCOutOctets_val);
207+ struct counter64 ifHCOutOctets_val);
208 int ifHCOutOctets_undo_setup(ifXTable_rowreq_ctx *
209 rowreq_ctx);
210 int ifHCOutOctets_set(ifXTable_rowreq_ctx * rowreq_ctx,
211- U64 ifHCOutOctets_val);
212+ struct counter64 ifHCOutOctets_val);
213 int ifHCOutOctets_undo(ifXTable_rowreq_ctx * rowreq_ctx);
214
215 int ifHCOutUcastPkts_check_value(ifXTable_rowreq_ctx *
216 rowreq_ctx,
217- U64 ifHCOutUcastPkts_val);
218+ struct counter64 ifHCOutUcastPkts_val);
219 int ifHCOutUcastPkts_undo_setup(ifXTable_rowreq_ctx *
220 rowreq_ctx);
221 int ifHCOutUcastPkts_set(ifXTable_rowreq_ctx * rowreq_ctx,
222- U64 ifHCOutUcastPkts_val);
223+ struct counter64 ifHCOutUcastPkts_val);
224 int ifHCOutUcastPkts_undo(ifXTable_rowreq_ctx *
225 rowreq_ctx);
226
227 int ifHCOutMulticastPkts_check_value(ifXTable_rowreq_ctx *
228 rowreq_ctx,
229- U64
230+ struct counter64
231 ifHCOutMulticastPkts_val);
232 int ifHCOutMulticastPkts_undo_setup(ifXTable_rowreq_ctx *
233 rowreq_ctx);
234 int ifHCOutMulticastPkts_set(ifXTable_rowreq_ctx *
235 rowreq_ctx,
236- U64 ifHCOutMulticastPkts_val);
237+ struct counter64 ifHCOutMulticastPkts_val);
238 int ifHCOutMulticastPkts_undo(ifXTable_rowreq_ctx *
239 rowreq_ctx);
240
241 int ifHCOutBroadcastPkts_check_value(ifXTable_rowreq_ctx *
242 rowreq_ctx,
243- U64
244+ struct counter64
245 ifHCOutBroadcastPkts_val);
246 int ifHCOutBroadcastPkts_undo_setup(ifXTable_rowreq_ctx *
247 rowreq_ctx);
248 int ifHCOutBroadcastPkts_set(ifXTable_rowreq_ctx *
249 rowreq_ctx,
250- U64 ifHCOutBroadcastPkts_val);
251+ struct counter64 ifHCOutBroadcastPkts_val);
252 int ifHCOutBroadcastPkts_undo(ifXTable_rowreq_ctx *
253 rowreq_ctx);
254
255diff --git a/agent/mibgroup/if-mib/ifXTable/ifXTable_interface.c b/agent/mibgroup/if-mib/ifXTable/ifXTable_interface.c
256index 23b50d0..e561842 100644
257--- a/agent/mibgroup/if-mib/ifXTable/ifXTable_interface.c
258+++ b/agent/mibgroup/if-mib/ifXTable/ifXTable_interface.c
259@@ -729,72 +729,72 @@ _ifXTable_get_column(ifXTable_rowreq_ctx * rowreq_ctx,
260 * ifHCInOctets(6)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
261 */
262 case COLUMN_IFHCINOCTETS:
263- var->val_len = sizeof(U64);
264+ var->val_len = sizeof(struct counter64);
265 var->type = ASN_COUNTER64;
266- rc = ifHCInOctets_get(rowreq_ctx, (U64 *) var->val.string);
267+ rc = ifHCInOctets_get(rowreq_ctx, (struct counter64 *) var->val.string);
268 break;
269
270 /*
271 * ifHCInUcastPkts(7)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
272 */
273 case COLUMN_IFHCINUCASTPKTS:
274- var->val_len = sizeof(U64);
275+ var->val_len = sizeof(struct counter64);
276 var->type = ASN_COUNTER64;
277- rc = ifHCInUcastPkts_get(rowreq_ctx, (U64 *) var->val.string);
278+ rc = ifHCInUcastPkts_get(rowreq_ctx, (struct counter64 *) var->val.string);
279 break;
280
281 /*
282 * ifHCInMulticastPkts(8)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
283 */
284 case COLUMN_IFHCINMULTICASTPKTS:
285- var->val_len = sizeof(U64);
286+ var->val_len = sizeof(struct counter64);
287 var->type = ASN_COUNTER64;
288- rc = ifHCInMulticastPkts_get(rowreq_ctx, (U64 *) var->val.string);
289+ rc = ifHCInMulticastPkts_get(rowreq_ctx, (struct counter64 *) var->val.string);
290 break;
291
292 /*
293 * ifHCInBroadcastPkts(9)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
294 */
295 case COLUMN_IFHCINBROADCASTPKTS:
296- var->val_len = sizeof(U64);
297+ var->val_len = sizeof(struct counter64);
298 var->type = ASN_COUNTER64;
299- rc = ifHCInBroadcastPkts_get(rowreq_ctx, (U64 *) var->val.string);
300+ rc = ifHCInBroadcastPkts_get(rowreq_ctx, (struct counter64 *) var->val.string);
301 break;
302
303 /*
304 * ifHCOutOctets(10)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
305 */
306 case COLUMN_IFHCOUTOCTETS:
307- var->val_len = sizeof(U64);
308+ var->val_len = sizeof(struct counter64);
309 var->type = ASN_COUNTER64;
310- rc = ifHCOutOctets_get(rowreq_ctx, (U64 *) var->val.string);
311+ rc = ifHCOutOctets_get(rowreq_ctx, (struct counter64 *) var->val.string);
312 break;
313
314 /*
315 * ifHCOutUcastPkts(11)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
316 */
317 case COLUMN_IFHCOUTUCASTPKTS:
318- var->val_len = sizeof(U64);
319+ var->val_len = sizeof(struct counter64);
320 var->type = ASN_COUNTER64;
321- rc = ifHCOutUcastPkts_get(rowreq_ctx, (U64 *) var->val.string);
322+ rc = ifHCOutUcastPkts_get(rowreq_ctx, (struct counter64 *) var->val.string);
323 break;
324
325 /*
326 * ifHCOutMulticastPkts(12)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
327 */
328 case COLUMN_IFHCOUTMULTICASTPKTS:
329- var->val_len = sizeof(U64);
330+ var->val_len = sizeof(struct counter64);
331 var->type = ASN_COUNTER64;
332- rc = ifHCOutMulticastPkts_get(rowreq_ctx, (U64 *) var->val.string);
333+ rc = ifHCOutMulticastPkts_get(rowreq_ctx, (struct counter64 *) var->val.string);
334 break;
335
336 /*
337 * ifHCOutBroadcastPkts(13)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
338 */
339 case COLUMN_IFHCOUTBROADCASTPKTS:
340- var->val_len = sizeof(U64);
341+ var->val_len = sizeof(struct counter64);
342 var->type = ASN_COUNTER64;
343- rc = ifHCOutBroadcastPkts_get(rowreq_ctx, (U64 *) var->val.string);
344+ rc = ifHCOutBroadcastPkts_get(rowreq_ctx, (struct counter64 *) var->val.string);
345 break;
346
347 /*
348diff --git a/agent/mibgroup/ip-mib/data_access/systemstats_common.c b/agent/mibgroup/ip-mib/data_access/systemstats_common.c
349index 29109bd..7434b3a 100644
350--- a/agent/mibgroup/ip-mib/data_access/systemstats_common.c
351+++ b/agent/mibgroup/ip-mib/data_access/systemstats_common.c
352@@ -264,7 +264,7 @@ _calculate_entries(netsnmp_systemstats_entry * entry)
353 && entry->stats.columnAvail[IPSYSTEMSTATSTABLE_HCOUTFRAGCREATES]
354 && entry->stats.columnAvail[IPSYSTEMSTATSTABLE_HCOUTDISCARDS]) {
355
356- U64 tmp, tmp2, tmp3;
357+ struct counter64 tmp, tmp2, tmp3;
358 tmp = entry->stats.HCOutRequests;
359 u64Incr(&tmp, &entry->stats.HCOutForwDatagrams);
360 u64Incr(&tmp, &entry->stats.HCOutFragCreates);
361diff --git a/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_data_get.c b/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_data_get.c
362index db673dc..fec36b2 100644
363--- a/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_data_get.c
364+++ b/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_data_get.c
365@@ -270,7 +270,7 @@ The total number of input IP datagrams received, including
366 */
367 int
368 ipIfStatsHCInReceives_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
369- U64 * ipIfStatsHCInReceives_val_ptr)
370+ struct counter64 *ipIfStatsHCInReceives_val_ptr)
371 {
372 /** we should have a non-NULL pointer */
373 netsnmp_assert(NULL != ipIfStatsHCInReceives_val_ptr);
374@@ -395,7 +395,7 @@ The total number of octets received in input IP datagrams,
375 */
376 int
377 ipIfStatsHCInOctets_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
378- U64 * ipIfStatsHCInOctets_val_ptr)
379+ struct counter64 *ipIfStatsHCInOctets_val_ptr)
380 {
381 /** we should have a non-NULL pointer */
382 netsnmp_assert(NULL != ipIfStatsHCInOctets_val_ptr);
383@@ -862,7 +862,7 @@ The number of input datagrams for which this entity was not
384 */
385 int
386 ipIfStatsHCInForwDatagrams_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
387- U64 * ipIfStatsHCInForwDatagrams_val_ptr)
388+ struct counter64 *ipIfStatsHCInForwDatagrams_val_ptr)
389 {
390 /** we should have a non-NULL pointer */
391 netsnmp_assert(NULL != ipIfStatsHCInForwDatagrams_val_ptr);
392@@ -1267,7 +1267,7 @@ The total number of datagrams successfully delivered to IP
393 */
394 int
395 ipIfStatsHCInDelivers_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
396- U64 * ipIfStatsHCInDelivers_val_ptr)
397+ struct counter64 *ipIfStatsHCInDelivers_val_ptr)
398 {
399 /** we should have a non-NULL pointer */
400 netsnmp_assert(NULL != ipIfStatsHCInDelivers_val_ptr);
401@@ -1396,7 +1396,7 @@ The total number of IP datagrams that local IP user-
402 */
403 int
404 ipIfStatsHCOutRequests_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
405- U64 * ipIfStatsHCOutRequests_val_ptr)
406+ struct counter64 *ipIfStatsHCOutRequests_val_ptr)
407 {
408 /** we should have a non-NULL pointer */
409 netsnmp_assert(NULL != ipIfStatsHCOutRequests_val_ptr);
410@@ -1532,7 +1532,7 @@ The number of datagrams for which this entity was not their
411 */
412 int
413 ipIfStatsHCOutForwDatagrams_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
414- U64 * ipIfStatsHCOutForwDatagrams_val_ptr)
415+ struct counter64 *ipIfStatsHCOutForwDatagrams_val_ptr)
416 {
417 /** we should have a non-NULL pointer */
418 netsnmp_assert(NULL != ipIfStatsHCOutForwDatagrams_val_ptr);
419@@ -1999,7 +1999,7 @@ The total number of IP datagrams that this entity supplied
420 */
421 int
422 ipIfStatsHCOutTransmits_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
423- U64 * ipIfStatsHCOutTransmits_val_ptr)
424+ struct counter64 *ipIfStatsHCOutTransmits_val_ptr)
425 {
426 /** we should have a non-NULL pointer */
427 netsnmp_assert(NULL != ipIfStatsHCOutTransmits_val_ptr);
428@@ -2123,7 +2123,7 @@ The total number of octets in IP datagrams delivered to the
429 */
430 int
431 ipIfStatsHCOutOctets_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
432- U64 * ipIfStatsHCOutOctets_val_ptr)
433+ struct counter64 *ipIfStatsHCOutOctets_val_ptr)
434 {
435 /** we should have a non-NULL pointer */
436 netsnmp_assert(NULL != ipIfStatsHCOutOctets_val_ptr);
437@@ -2245,7 +2245,7 @@ The number of IP multicast datagrams received. This object
438 */
439 int
440 ipIfStatsHCInMcastPkts_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
441- U64 * ipIfStatsHCInMcastPkts_val_ptr)
442+ struct counter64 *ipIfStatsHCInMcastPkts_val_ptr)
443 {
444 /** we should have a non-NULL pointer */
445 netsnmp_assert(NULL != ipIfStatsHCInMcastPkts_val_ptr);
446@@ -2372,7 +2372,7 @@ The total number of octets received in IP multicast
447 */
448 int
449 ipIfStatsHCInMcastOctets_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
450- U64 * ipIfStatsHCInMcastOctets_val_ptr)
451+ struct counter64 *ipIfStatsHCInMcastOctets_val_ptr)
452 {
453 /** we should have a non-NULL pointer */
454 netsnmp_assert(NULL != ipIfStatsHCInMcastOctets_val_ptr);
455@@ -2497,7 +2497,7 @@ The number of IP multicast datagrams transmitted. This
456 */
457 int
458 ipIfStatsHCOutMcastPkts_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
459- U64 * ipIfStatsHCOutMcastPkts_val_ptr)
460+ struct counter64 *ipIfStatsHCOutMcastPkts_val_ptr)
461 {
462 /** we should have a non-NULL pointer */
463 netsnmp_assert(NULL != ipIfStatsHCOutMcastPkts_val_ptr);
464@@ -2621,7 +2621,7 @@ The total number of octets transmitted in IP multicast
465 */
466 int
467 ipIfStatsHCOutMcastOctets_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
468- U64 * ipIfStatsHCOutMcastOctets_val_ptr)
469+ struct counter64 *ipIfStatsHCOutMcastOctets_val_ptr)
470 {
471 /** we should have a non-NULL pointer */
472 netsnmp_assert(NULL != ipIfStatsHCOutMcastOctets_val_ptr);
473@@ -2743,7 +2743,7 @@ The number of IP broadcast datagrams received. This object
474 */
475 int
476 ipIfStatsHCInBcastPkts_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
477- U64 * ipIfStatsHCInBcastPkts_val_ptr)
478+ struct counter64 *ipIfStatsHCInBcastPkts_val_ptr)
479 {
480 /** we should have a non-NULL pointer */
481 netsnmp_assert(NULL != ipIfStatsHCInBcastPkts_val_ptr);
482@@ -2865,7 +2865,7 @@ The number of IP broadcast datagrams transmitted. This
483 */
484 int
485 ipIfStatsHCOutBcastPkts_get(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
486- U64 * ipIfStatsHCOutBcastPkts_val_ptr)
487+ struct counter64 *ipIfStatsHCOutBcastPkts_val_ptr)
488 {
489 /** we should have a non-NULL pointer */
490 netsnmp_assert(NULL != ipIfStatsHCOutBcastPkts_val_ptr);
491diff --git a/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_data_get.h b/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_data_get.h
492index 0cc7e47..ad5d8a0 100644
493--- a/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_data_get.h
494+++ b/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_data_get.h
495@@ -50,7 +50,7 @@ extern "C" {
496 ipIfStatsInReceives_val_ptr);
497 int ipIfStatsHCInReceives_get(ipIfStatsTable_rowreq_ctx *
498 rowreq_ctx,
499- U64 *
500+ struct counter64 *
501 ipIfStatsHCInReceives_val_ptr);
502 int ipIfStatsInOctets_get(ipIfStatsTable_rowreq_ctx *
503 rowreq_ctx,
504@@ -58,7 +58,7 @@ extern "C" {
505 ipIfStatsInOctets_val_ptr);
506 int ipIfStatsHCInOctets_get(ipIfStatsTable_rowreq_ctx *
507 rowreq_ctx,
508- U64 *
509+ struct counter64 *
510 ipIfStatsHCInOctets_val_ptr);
511 int ipIfStatsInHdrErrors_get(ipIfStatsTable_rowreq_ctx *
512 rowreq_ctx,
513@@ -87,7 +87,7 @@ extern "C" {
514 int
515 ipIfStatsHCInForwDatagrams_get(ipIfStatsTable_rowreq_ctx *
516 rowreq_ctx,
517- U64 *
518+ struct counter64 *
519 ipIfStatsHCInForwDatagrams_val_ptr);
520 int ipIfStatsReasmReqds_get(ipIfStatsTable_rowreq_ctx *
521 rowreq_ctx,
522@@ -111,7 +111,7 @@ extern "C" {
523 ipIfStatsInDelivers_val_ptr);
524 int ipIfStatsHCInDelivers_get(ipIfStatsTable_rowreq_ctx *
525 rowreq_ctx,
526- U64 *
527+ struct counter64 *
528 ipIfStatsHCInDelivers_val_ptr);
529 int ipIfStatsOutRequests_get(ipIfStatsTable_rowreq_ctx *
530 rowreq_ctx,
531@@ -119,7 +119,7 @@ extern "C" {
532 ipIfStatsOutRequests_val_ptr);
533 int ipIfStatsHCOutRequests_get(ipIfStatsTable_rowreq_ctx *
534 rowreq_ctx,
535- U64 *
536+ struct counter64 *
537 ipIfStatsHCOutRequests_val_ptr);
538 int ipIfStatsOutForwDatagrams_get(ipIfStatsTable_rowreq_ctx
539 * rowreq_ctx,
540@@ -128,7 +128,7 @@ extern "C" {
541 int
542 ipIfStatsHCOutForwDatagrams_get(ipIfStatsTable_rowreq_ctx *
543 rowreq_ctx,
544- U64 *
545+ struct counter64 *
546 ipIfStatsHCOutForwDatagrams_val_ptr);
547 int ipIfStatsOutDiscards_get(ipIfStatsTable_rowreq_ctx *
548 rowreq_ctx,
549@@ -156,7 +156,7 @@ extern "C" {
550 ipIfStatsOutTransmits_val_ptr);
551 int ipIfStatsHCOutTransmits_get(ipIfStatsTable_rowreq_ctx *
552 rowreq_ctx,
553- U64 *
554+ struct counter64 *
555 ipIfStatsHCOutTransmits_val_ptr);
556 int ipIfStatsOutOctets_get(ipIfStatsTable_rowreq_ctx *
557 rowreq_ctx,
558@@ -164,7 +164,7 @@ extern "C" {
559 ipIfStatsOutOctets_val_ptr);
560 int ipIfStatsHCOutOctets_get(ipIfStatsTable_rowreq_ctx *
561 rowreq_ctx,
562- U64 *
563+ struct counter64 *
564 ipIfStatsHCOutOctets_val_ptr);
565 int ipIfStatsInMcastPkts_get(ipIfStatsTable_rowreq_ctx *
566 rowreq_ctx,
567@@ -172,7 +172,7 @@ extern "C" {
568 ipIfStatsInMcastPkts_val_ptr);
569 int ipIfStatsHCInMcastPkts_get(ipIfStatsTable_rowreq_ctx *
570 rowreq_ctx,
571- U64 *
572+ struct counter64 *
573 ipIfStatsHCInMcastPkts_val_ptr);
574 int ipIfStatsInMcastOctets_get(ipIfStatsTable_rowreq_ctx *
575 rowreq_ctx,
576@@ -180,7 +180,7 @@ extern "C" {
577 ipIfStatsInMcastOctets_val_ptr);
578 int ipIfStatsHCInMcastOctets_get(ipIfStatsTable_rowreq_ctx
579 * rowreq_ctx,
580- U64 *
581+ struct counter64 *
582 ipIfStatsHCInMcastOctets_val_ptr);
583 int ipIfStatsOutMcastPkts_get(ipIfStatsTable_rowreq_ctx *
584 rowreq_ctx,
585@@ -188,7 +188,7 @@ extern "C" {
586 ipIfStatsOutMcastPkts_val_ptr);
587 int ipIfStatsHCOutMcastPkts_get(ipIfStatsTable_rowreq_ctx *
588 rowreq_ctx,
589- U64 *
590+ struct counter64 *
591 ipIfStatsHCOutMcastPkts_val_ptr);
592 int ipIfStatsOutMcastOctets_get(ipIfStatsTable_rowreq_ctx *
593 rowreq_ctx,
594@@ -196,7 +196,7 @@ extern "C" {
595 ipIfStatsOutMcastOctets_val_ptr);
596 int ipIfStatsHCOutMcastOctets_get(ipIfStatsTable_rowreq_ctx
597 * rowreq_ctx,
598- U64 *
599+ struct counter64 *
600 ipIfStatsHCOutMcastOctets_val_ptr);
601 int ipIfStatsInBcastPkts_get(ipIfStatsTable_rowreq_ctx *
602 rowreq_ctx,
603@@ -204,7 +204,7 @@ extern "C" {
604 ipIfStatsInBcastPkts_val_ptr);
605 int ipIfStatsHCInBcastPkts_get(ipIfStatsTable_rowreq_ctx *
606 rowreq_ctx,
607- U64 *
608+ struct counter64 *
609 ipIfStatsHCInBcastPkts_val_ptr);
610 int ipIfStatsOutBcastPkts_get(ipIfStatsTable_rowreq_ctx *
611 rowreq_ctx,
612@@ -212,7 +212,7 @@ extern "C" {
613 ipIfStatsOutBcastPkts_val_ptr);
614 int ipIfStatsHCOutBcastPkts_get(ipIfStatsTable_rowreq_ctx *
615 rowreq_ctx,
616- U64 *
617+ struct counter64 *
618 ipIfStatsHCOutBcastPkts_val_ptr);
619 int
620 ipIfStatsDiscontinuityTime_get(ipIfStatsTable_rowreq_ctx *
621diff --git a/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_interface.c b/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_interface.c
622index 559d1c1..4955a8b 100644
623--- a/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_interface.c
624+++ b/agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_interface.c
625@@ -722,10 +722,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
626 * ipIfStatsHCInReceives(4)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
627 */
628 case COLUMN_IPIFSTATSHCINRECEIVES:
629- var->val_len = sizeof(U64);
630+ var->val_len = sizeof(struct counter64);
631 var->type = ASN_COUNTER64;
632 rc = ipIfStatsHCInReceives_get(rowreq_ctx,
633- (U64 *) var->val.string);
634+ (struct counter64 *) var->val.string);
635 break;
636
637 /*
638@@ -741,9 +741,9 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
639 * ipIfStatsHCInOctets(6)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
640 */
641 case COLUMN_IPIFSTATSHCINOCTETS:
642- var->val_len = sizeof(U64);
643+ var->val_len = sizeof(struct counter64);
644 var->type = ASN_COUNTER64;
645- rc = ipIfStatsHCInOctets_get(rowreq_ctx, (U64 *) var->val.string);
646+ rc = ipIfStatsHCInOctets_get(rowreq_ctx, (struct counter64 *) var->val.string);
647 break;
648
649 /*
650@@ -810,10 +810,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
651 * ipIfStatsHCInForwDatagrams(13)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
652 */
653 case COLUMN_IPIFSTATSHCINFORWDATAGRAMS:
654- var->val_len = sizeof(U64);
655+ var->val_len = sizeof(struct counter64);
656 var->type = ASN_COUNTER64;
657 rc = ipIfStatsHCInForwDatagrams_get(rowreq_ctx,
658- (U64 *) var->val.string);
659+ (struct counter64 *) var->val.string);
660 break;
661
662 /*
663@@ -869,10 +869,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
664 * ipIfStatsHCInDelivers(19)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
665 */
666 case COLUMN_IPIFSTATSHCINDELIVERS:
667- var->val_len = sizeof(U64);
668+ var->val_len = sizeof(struct counter64);
669 var->type = ASN_COUNTER64;
670 rc = ipIfStatsHCInDelivers_get(rowreq_ctx,
671- (U64 *) var->val.string);
672+ (struct counter64 *) var->val.string);
673 break;
674
675 /*
676@@ -889,10 +889,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
677 * ipIfStatsHCOutRequests(21)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
678 */
679 case COLUMN_IPIFSTATSHCOUTREQUESTS:
680- var->val_len = sizeof(U64);
681+ var->val_len = sizeof(struct counter64);
682 var->type = ASN_COUNTER64;
683 rc = ipIfStatsHCOutRequests_get(rowreq_ctx,
684- (U64 *) var->val.string);
685+ (struct counter64 *) var->val.string);
686 break;
687
688 /*
689@@ -909,10 +909,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
690 * ipIfStatsHCOutForwDatagrams(24)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
691 */
692 case COLUMN_IPIFSTATSHCOUTFORWDATAGRAMS:
693- var->val_len = sizeof(U64);
694+ var->val_len = sizeof(struct counter64);
695 var->type = ASN_COUNTER64;
696 rc = ipIfStatsHCOutForwDatagrams_get(rowreq_ctx,
697- (U64 *) var->val.string);
698+ (struct counter64 *) var->val.string);
699 break;
700
701 /*
702@@ -979,10 +979,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
703 * ipIfStatsHCOutTransmits(31)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
704 */
705 case COLUMN_IPIFSTATSHCOUTTRANSMITS:
706- var->val_len = sizeof(U64);
707+ var->val_len = sizeof(struct counter64);
708 var->type = ASN_COUNTER64;
709 rc = ipIfStatsHCOutTransmits_get(rowreq_ctx,
710- (U64 *) var->val.string);
711+ (struct counter64 *) var->val.string);
712 break;
713
714 /*
715@@ -999,9 +999,9 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
716 * ipIfStatsHCOutOctets(33)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
717 */
718 case COLUMN_IPIFSTATSHCOUTOCTETS:
719- var->val_len = sizeof(U64);
720+ var->val_len = sizeof(struct counter64);
721 var->type = ASN_COUNTER64;
722- rc = ipIfStatsHCOutOctets_get(rowreq_ctx, (U64 *) var->val.string);
723+ rc = ipIfStatsHCOutOctets_get(rowreq_ctx, (struct counter64 *) var->val.string);
724 break;
725
726 /*
727@@ -1018,10 +1018,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
728 * ipIfStatsHCInMcastPkts(35)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
729 */
730 case COLUMN_IPIFSTATSHCINMCASTPKTS:
731- var->val_len = sizeof(U64);
732+ var->val_len = sizeof(struct counter64);
733 var->type = ASN_COUNTER64;
734 rc = ipIfStatsHCInMcastPkts_get(rowreq_ctx,
735- (U64 *) var->val.string);
736+ (struct counter64 *) var->val.string);
737 break;
738
739 /*
740@@ -1038,10 +1038,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
741 * ipIfStatsHCInMcastOctets(37)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
742 */
743 case COLUMN_IPIFSTATSHCINMCASTOCTETS:
744- var->val_len = sizeof(U64);
745+ var->val_len = sizeof(struct counter64);
746 var->type = ASN_COUNTER64;
747 rc = ipIfStatsHCInMcastOctets_get(rowreq_ctx,
748- (U64 *) var->val.string);
749+ (struct counter64 *) var->val.string);
750 break;
751
752 /*
753@@ -1058,10 +1058,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
754 * ipIfStatsHCOutMcastPkts(39)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
755 */
756 case COLUMN_IPIFSTATSHCOUTMCASTPKTS:
757- var->val_len = sizeof(U64);
758+ var->val_len = sizeof(struct counter64);
759 var->type = ASN_COUNTER64;
760 rc = ipIfStatsHCOutMcastPkts_get(rowreq_ctx,
761- (U64 *) var->val.string);
762+ (struct counter64 *) var->val.string);
763 break;
764
765 /*
766@@ -1078,10 +1078,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
767 * ipIfStatsHCOutMcastOctets(41)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
768 */
769 case COLUMN_IPIFSTATSHCOUTMCASTOCTETS:
770- var->val_len = sizeof(U64);
771+ var->val_len = sizeof(struct counter64);
772 var->type = ASN_COUNTER64;
773 rc = ipIfStatsHCOutMcastOctets_get(rowreq_ctx,
774- (U64 *) var->val.string);
775+ (struct counter64 *) var->val.string);
776 break;
777
778 /*
779@@ -1098,10 +1098,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
780 * ipIfStatsHCInBcastPkts(43)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
781 */
782 case COLUMN_IPIFSTATSHCINBCASTPKTS:
783- var->val_len = sizeof(U64);
784+ var->val_len = sizeof(struct counter64);
785 var->type = ASN_COUNTER64;
786 rc = ipIfStatsHCInBcastPkts_get(rowreq_ctx,
787- (U64 *) var->val.string);
788+ (struct counter64 *) var->val.string);
789 break;
790
791 /*
792@@ -1118,10 +1118,10 @@ _ipIfStatsTable_get_column(ipIfStatsTable_rowreq_ctx * rowreq_ctx,
793 * ipIfStatsHCOutBcastPkts(45)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
794 */
795 case COLUMN_IPIFSTATSHCOUTBCASTPKTS:
796- var->val_len = sizeof(U64);
797+ var->val_len = sizeof(struct counter64);
798 var->type = ASN_COUNTER64;
799 rc = ipIfStatsHCOutBcastPkts_get(rowreq_ctx,
800- (U64 *) var->val.string);
801+ (struct counter64 *) var->val.string);
802 break;
803
804 /*
805diff --git a/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable.c b/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable.c
806index 10587e2..5a9323f 100644
807--- a/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable.c
808+++ b/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable.c
809@@ -452,7 +452,7 @@ The total number of input IP datagrams received, including
810 */
811 int
812 ipSystemStatsHCInReceives_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
813- U64 * ipSystemStatsHCInReceives_val_ptr)
814+ struct counter64 *ipSystemStatsHCInReceives_val_ptr)
815 {
816 /** we should have a non-NULL pointer */
817 netsnmp_assert(NULL != ipSystemStatsHCInReceives_val_ptr);
818@@ -579,7 +579,7 @@ The total number of octets received in input IP datagrams,
819 */
820 int
821 ipSystemStatsHCInOctets_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
822- U64 * ipSystemStatsHCInOctets_val_ptr)
823+ struct counter64 *ipSystemStatsHCInOctets_val_ptr)
824 {
825 /** we should have a non-NULL pointer */
826 netsnmp_assert(NULL != ipSystemStatsHCInOctets_val_ptr);
827@@ -1058,7 +1058,7 @@ The number of input datagrams for which this entity was not
828 int
829 ipSystemStatsHCInForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
830 rowreq_ctx,
831- U64 *
832+ struct counter64 *
833 ipSystemStatsHCInForwDatagrams_val_ptr)
834 {
835 /** we should have a non-NULL pointer */
836@@ -1474,7 +1474,7 @@ The total number of datagrams successfully delivered to IP
837 */
838 int
839 ipSystemStatsHCInDelivers_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
840- U64 * ipSystemStatsHCInDelivers_val_ptr)
841+ struct counter64 *ipSystemStatsHCInDelivers_val_ptr)
842 {
843 /** we should have a non-NULL pointer */
844 netsnmp_assert(NULL != ipSystemStatsHCInDelivers_val_ptr);
845@@ -1602,7 +1602,7 @@ The total number of IP datagrams which local IP user-
846 */
847 int
848 ipSystemStatsHCOutRequests_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
849- U64 * ipSystemStatsHCOutRequests_val_ptr)
850+ struct counter64 *ipSystemStatsHCOutRequests_val_ptr)
851 {
852 /** we should have a non-NULL pointer */
853 netsnmp_assert(NULL != ipSystemStatsHCOutRequests_val_ptr);
854@@ -1809,7 +1809,7 @@ The number of datagrams for which this entity was not their
855 int
856 ipSystemStatsHCOutForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
857 rowreq_ctx,
858- U64 *
859+ struct counter64 *
860 ipSystemStatsHCOutForwDatagrams_val_ptr)
861 {
862 /** we should have a non-NULL pointer */
863@@ -2288,7 +2288,7 @@ The total number of IP datagrams that this entity supplied
864 */
865 int
866 ipSystemStatsHCOutTransmits_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
867- U64 * ipSystemStatsHCOutTransmits_val_ptr)
868+ struct counter64 *ipSystemStatsHCOutTransmits_val_ptr)
869 {
870 /** we should have a non-NULL pointer */
871 netsnmp_assert(NULL != ipSystemStatsHCOutTransmits_val_ptr);
872@@ -2415,7 +2415,7 @@ The total number of octets in IP datagrams delivered to the
873 */
874 int
875 ipSystemStatsHCOutOctets_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
876- U64 * ipSystemStatsHCOutOctets_val_ptr)
877+ struct counter64 *ipSystemStatsHCOutOctets_val_ptr)
878 {
879 /** we should have a non-NULL pointer */
880 netsnmp_assert(NULL != ipSystemStatsHCOutOctets_val_ptr);
881@@ -2539,7 +2539,7 @@ The number of IP multicast datagrams received. This object
882 */
883 int
884 ipSystemStatsHCInMcastPkts_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
885- U64 * ipSystemStatsHCInMcastPkts_val_ptr)
886+ struct counter64 *ipSystemStatsHCInMcastPkts_val_ptr)
887 {
888 /** we should have a non-NULL pointer */
889 netsnmp_assert(NULL != ipSystemStatsHCInMcastPkts_val_ptr);
890@@ -2665,7 +2665,7 @@ The total number of octets received in IP multicast
891 int
892 ipSystemStatsHCInMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
893 rowreq_ctx,
894- U64 *
895+ struct counter64 *
896 ipSystemStatsHCInMcastOctets_val_ptr)
897 {
898 /** we should have a non-NULL pointer */
899@@ -2790,7 +2790,7 @@ The number of IP multicast datagrams transmitted. This
900 */
901 int
902 ipSystemStatsHCOutMcastPkts_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
903- U64 * ipSystemStatsHCOutMcastPkts_val_ptr)
904+ struct counter64 *ipSystemStatsHCOutMcastPkts_val_ptr)
905 {
906 /** we should have a non-NULL pointer */
907 netsnmp_assert(NULL != ipSystemStatsHCOutMcastPkts_val_ptr);
908@@ -2921,7 +2921,7 @@ The total number of octets transmitted in IP multicast
909 int
910 ipSystemStatsHCOutMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
911 rowreq_ctx,
912- U64 *
913+ struct counter64 *
914 ipSystemStatsHCOutMcastOctets_val_ptr)
915 {
916 /** we should have a non-NULL pointer */
917@@ -3046,7 +3046,7 @@ The number of IP broadcast datagrams received. This object
918 */
919 int
920 ipSystemStatsHCInBcastPkts_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
921- U64 * ipSystemStatsHCInBcastPkts_val_ptr)
922+ struct counter64 *ipSystemStatsHCInBcastPkts_val_ptr)
923 {
924 /** we should have a non-NULL pointer */
925 netsnmp_assert(NULL != ipSystemStatsHCInBcastPkts_val_ptr);
926@@ -3170,7 +3170,7 @@ The number of IP broadcast datagrams transmitted. This
927 */
928 int
929 ipSystemStatsHCOutBcastPkts_get(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
930- U64 * ipSystemStatsHCOutBcastPkts_val_ptr)
931+ struct counter64 *ipSystemStatsHCOutBcastPkts_val_ptr)
932 {
933 /** we should have a non-NULL pointer */
934 netsnmp_assert(NULL != ipSystemStatsHCOutBcastPkts_val_ptr);
935diff --git a/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable.h b/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable.h
936index ca1e1f3..5c3823e 100644
937--- a/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable.h
938+++ b/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable.h
939@@ -144,93 +144,22 @@ config_require(ip-mib/ipSystemStatsTable/ipSystemStatsTable_data_access)
940 *********************************************************************
941 * function prototypes
942 */
943- int
944-
945-
946-
947-
948-
949-
950-
951-
952-
953-
954-
955-
956-
957-
958-
959- ipSystemStatsTable_pre_request(ipSystemStatsTable_registration *
960+ int ipSystemStatsTable_pre_request(ipSystemStatsTable_registration *
961 user_context);
962- int
963-
964-
965-
966-
967-
968-
969-
970-
971-
972-
973-
974-
975-
976-
977-
978- ipSystemStatsTable_post_request(ipSystemStatsTable_registration *
979+ int ipSystemStatsTable_post_request(ipSystemStatsTable_registration *
980 user_context, int rc);
981
982- int
983-
984-
985-
986-
987-
988-
989-
990-
991-
992-
993-
994-
995-
996-
997-
998- ipSystemStatsTable_rowreq_ctx_init(ipSystemStatsTable_rowreq_ctx *
999+ int ipSystemStatsTable_rowreq_ctx_init(ipSystemStatsTable_rowreq_ctx *
1000 rowreq_ctx,
1001 void *user_init_ctx);
1002 void
1003-
1004-
1005-
1006-
1007-
1008-
1009-
1010-
1011-
1012-
1013-
1014-
1015-
1016-
1017-
1018 ipSystemStatsTable_rowreq_ctx_cleanup(ipSystemStatsTable_rowreq_ctx
1019 * rowreq_ctx);
1020
1021 ipSystemStatsTable_data *ipSystemStatsTable_allocate_data(void);
1022 void ipSystemStatsTable_release_data(ipSystemStatsTable_data
1023 * data);
1024-
1025-
1026-
1027-
1028-
1029-
1030-
1031-
1032- ipSystemStatsTable_rowreq_ctx
1033+ ipSystemStatsTable_rowreq_ctx
1034 * ipSystemStatsTable_row_find_by_mib_index
1035 (ipSystemStatsTable_mib_index * mib_idx);
1036
1037@@ -265,226 +194,50 @@ config_require(ip-mib/ipSystemStatsTable/ipSystemStatsTable_data_access)
1038 * indexes
1039 */
1040
1041- int
1042-
1043-
1044-
1045-
1046-
1047-
1048-
1049-
1050-
1051-
1052-
1053-
1054-
1055-
1056-
1057- ipSystemStatsInReceives_get(ipSystemStatsTable_rowreq_ctx *
1058+ int ipSystemStatsInReceives_get(ipSystemStatsTable_rowreq_ctx *
1059 rowreq_ctx,
1060 u_long *
1061 ipSystemStatsInReceives_val_ptr);
1062- int
1063-
1064-
1065-
1066-
1067-
1068-
1069-
1070-
1071-
1072-
1073-
1074-
1075-
1076-
1077-
1078- ipSystemStatsHCInReceives_get(ipSystemStatsTable_rowreq_ctx *
1079+ int ipSystemStatsHCInReceives_get(ipSystemStatsTable_rowreq_ctx *
1080 rowreq_ctx,
1081- U64 *
1082+ struct counter64 *
1083 ipSystemStatsHCInReceives_val_ptr);
1084 int ipSystemStatsInOctets_get(ipSystemStatsTable_rowreq_ctx
1085 * rowreq_ctx,
1086 u_long *
1087 ipSystemStatsInOctets_val_ptr);
1088- int
1089-
1090-
1091-
1092-
1093-
1094-
1095-
1096-
1097-
1098-
1099-
1100-
1101-
1102-
1103-
1104- ipSystemStatsHCInOctets_get(ipSystemStatsTable_rowreq_ctx *
1105+ int ipSystemStatsHCInOctets_get(ipSystemStatsTable_rowreq_ctx *
1106 rowreq_ctx,
1107- U64 * ipSystemStatsHCInOctets_val_ptr);
1108- int
1109-
1110-
1111-
1112-
1113-
1114-
1115-
1116-
1117-
1118-
1119-
1120-
1121-
1122-
1123-
1124- ipSystemStatsInHdrErrors_get(ipSystemStatsTable_rowreq_ctx *
1125+ struct counter64 *ipSystemStatsHCInOctets_val_ptr);
1126+ int ipSystemStatsInHdrErrors_get(ipSystemStatsTable_rowreq_ctx *
1127 rowreq_ctx,
1128 u_long *
1129 ipSystemStatsInHdrErrors_val_ptr);
1130- int
1131-
1132-
1133-
1134-
1135-
1136-
1137-
1138-
1139-
1140-
1141-
1142-
1143-
1144-
1145-
1146- ipSystemStatsInNoRoutes_get(ipSystemStatsTable_rowreq_ctx *
1147+ int ipSystemStatsInNoRoutes_get(ipSystemStatsTable_rowreq_ctx *
1148 rowreq_ctx,
1149 u_long *
1150 ipSystemStatsInNoRoutes_val_ptr);
1151- int
1152-
1153-
1154-
1155-
1156-
1157-
1158-
1159-
1160-
1161-
1162-
1163-
1164-
1165-
1166-
1167- ipSystemStatsInAddrErrors_get(ipSystemStatsTable_rowreq_ctx *
1168+ int ipSystemStatsInAddrErrors_get(ipSystemStatsTable_rowreq_ctx *
1169 rowreq_ctx,
1170 u_long *
1171 ipSystemStatsInAddrErrors_val_ptr);
1172- int
1173-
1174-
1175-
1176-
1177-
1178-
1179-
1180-
1181-
1182-
1183-
1184-
1185-
1186-
1187-
1188- ipSystemStatsInUnknownProtos_get(ipSystemStatsTable_rowreq_ctx *
1189+ int ipSystemStatsInUnknownProtos_get(ipSystemStatsTable_rowreq_ctx *
1190 rowreq_ctx,
1191 u_long *
1192 ipSystemStatsInUnknownProtos_val_ptr);
1193- int
1194-
1195-
1196-
1197-
1198-
1199-
1200-
1201-
1202-
1203-
1204-
1205-
1206-
1207-
1208-
1209- ipSystemStatsInTruncatedPkts_get(ipSystemStatsTable_rowreq_ctx *
1210+ int ipSystemStatsInTruncatedPkts_get(ipSystemStatsTable_rowreq_ctx *
1211 rowreq_ctx,
1212 u_long *
1213 ipSystemStatsInTruncatedPkts_val_ptr);
1214- int
1215-
1216-
1217-
1218-
1219-
1220-
1221-
1222-
1223-
1224-
1225-
1226-
1227-
1228-
1229-
1230- ipSystemStatsInForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
1231+ int ipSystemStatsInForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
1232 rowreq_ctx,
1233 u_long *
1234 ipSystemStatsInForwDatagrams_val_ptr);
1235- int
1236-
1237-
1238-
1239-
1240-
1241-
1242-
1243-
1244-
1245-
1246-
1247-
1248-
1249-
1250-
1251- ipSystemStatsHCInForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
1252+ int ipSystemStatsHCInForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
1253 rowreq_ctx,
1254- U64 *
1255+ struct counter64 *
1256 ipSystemStatsHCInForwDatagrams_val_ptr);
1257- int
1258-
1259-
1260-
1261-
1262-
1263-
1264-
1265-
1266-
1267-
1268-
1269-
1270-
1271-
1272-
1273- ipSystemStatsReasmReqds_get(ipSystemStatsTable_rowreq_ctx *
1274+ int ipSystemStatsReasmReqds_get(ipSystemStatsTable_rowreq_ctx *
1275 rowreq_ctx,
1276 u_long *
1277 ipSystemStatsReasmReqds_val_ptr);
1278@@ -492,690 +245,142 @@ config_require(ip-mib/ipSystemStatsTable/ipSystemStatsTable_data_access)
1279 * rowreq_ctx,
1280 u_long *
1281 ipSystemStatsReasmOKs_val_ptr);
1282- int
1283-
1284-
1285-
1286-
1287-
1288-
1289-
1290-
1291-
1292-
1293-
1294-
1295-
1296-
1297-
1298- ipSystemStatsReasmFails_get(ipSystemStatsTable_rowreq_ctx *
1299+ int ipSystemStatsReasmFails_get(ipSystemStatsTable_rowreq_ctx *
1300 rowreq_ctx,
1301 u_long *
1302 ipSystemStatsReasmFails_val_ptr);
1303- int
1304-
1305-
1306-
1307-
1308-
1309-
1310-
1311-
1312-
1313-
1314-
1315-
1316-
1317-
1318-
1319- ipSystemStatsInDiscards_get(ipSystemStatsTable_rowreq_ctx *
1320+ int ipSystemStatsInDiscards_get(ipSystemStatsTable_rowreq_ctx *
1321 rowreq_ctx,
1322 u_long *
1323 ipSystemStatsInDiscards_val_ptr);
1324- int
1325-
1326-
1327-
1328-
1329-
1330-
1331-
1332-
1333-
1334-
1335-
1336-
1337-
1338-
1339-
1340- ipSystemStatsInDelivers_get(ipSystemStatsTable_rowreq_ctx *
1341+ int ipSystemStatsInDelivers_get(ipSystemStatsTable_rowreq_ctx *
1342 rowreq_ctx,
1343 u_long *
1344 ipSystemStatsInDelivers_val_ptr);
1345- int
1346-
1347-
1348-
1349-
1350-
1351-
1352-
1353-
1354-
1355-
1356-
1357-
1358-
1359-
1360-
1361- ipSystemStatsHCInDelivers_get(ipSystemStatsTable_rowreq_ctx *
1362+ int ipSystemStatsHCInDelivers_get(ipSystemStatsTable_rowreq_ctx *
1363 rowreq_ctx,
1364- U64 *
1365+ struct counter64 *
1366 ipSystemStatsHCInDelivers_val_ptr);
1367- int
1368-
1369-
1370-
1371-
1372-
1373-
1374-
1375-
1376-
1377-
1378-
1379-
1380-
1381-
1382-
1383- ipSystemStatsOutRequests_get(ipSystemStatsTable_rowreq_ctx *
1384+ int ipSystemStatsOutRequests_get(ipSystemStatsTable_rowreq_ctx *
1385 rowreq_ctx,
1386 u_long *
1387 ipSystemStatsOutRequests_val_ptr);
1388- int
1389-
1390-
1391-
1392-
1393-
1394-
1395-
1396-
1397-
1398-
1399-
1400-
1401-
1402-
1403-
1404- ipSystemStatsHCOutRequests_get(ipSystemStatsTable_rowreq_ctx *
1405+ int ipSystemStatsHCOutRequests_get(ipSystemStatsTable_rowreq_ctx *
1406 rowreq_ctx,
1407- U64 *
1408+ struct counter64 *
1409 ipSystemStatsHCOutRequests_val_ptr);
1410- int
1411-
1412-
1413-
1414-
1415-
1416-
1417-
1418-
1419-
1420-
1421-
1422-
1423-
1424-
1425-
1426- ipSystemStatsOutNoRoutes_get(ipSystemStatsTable_rowreq_ctx *
1427+ int ipSystemStatsOutNoRoutes_get(ipSystemStatsTable_rowreq_ctx *
1428 rowreq_ctx,
1429 u_long *
1430 ipSystemStatsOutNoRoutes_val_ptr);
1431- int
1432-
1433-
1434-
1435-
1436-
1437-
1438-
1439-
1440-
1441-
1442-
1443-
1444-
1445-
1446-
1447- ipSystemStatsOutForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
1448+ int ipSystemStatsOutForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
1449 rowreq_ctx,
1450 u_long *
1451 ipSystemStatsOutForwDatagrams_val_ptr);
1452- int
1453-
1454-
1455-
1456-
1457-
1458-
1459-
1460-
1461-
1462-
1463-
1464-
1465-
1466-
1467-
1468- ipSystemStatsHCOutForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
1469+ int ipSystemStatsHCOutForwDatagrams_get(ipSystemStatsTable_rowreq_ctx *
1470 rowreq_ctx,
1471- U64 *
1472+ struct counter64 *
1473 ipSystemStatsHCOutForwDatagrams_val_ptr);
1474- int
1475-
1476-
1477-
1478-
1479-
1480-
1481-
1482-
1483-
1484-
1485-
1486-
1487-
1488-
1489-
1490- ipSystemStatsOutDiscards_get(ipSystemStatsTable_rowreq_ctx *
1491+ int ipSystemStatsOutDiscards_get(ipSystemStatsTable_rowreq_ctx *
1492 rowreq_ctx,
1493 u_long *
1494 ipSystemStatsOutDiscards_val_ptr);
1495- int
1496-
1497-
1498-
1499-
1500-
1501-
1502-
1503-
1504-
1505-
1506-
1507-
1508-
1509-
1510-
1511- ipSystemStatsOutFragReqds_get(ipSystemStatsTable_rowreq_ctx *
1512+ int ipSystemStatsOutFragReqds_get(ipSystemStatsTable_rowreq_ctx *
1513 rowreq_ctx,
1514 u_long *
1515 ipSystemStatsOutFragReqds_val_ptr);
1516- int
1517-
1518-
1519-
1520-
1521-
1522-
1523-
1524-
1525-
1526-
1527-
1528-
1529-
1530-
1531-
1532- ipSystemStatsOutFragOKs_get(ipSystemStatsTable_rowreq_ctx *
1533+ int ipSystemStatsOutFragOKs_get(ipSystemStatsTable_rowreq_ctx *
1534 rowreq_ctx,
1535 u_long *
1536 ipSystemStatsOutFragOKs_val_ptr);
1537- int
1538-
1539-
1540-
1541-
1542-
1543-
1544-
1545-
1546-
1547-
1548-
1549-
1550-
1551-
1552-
1553- ipSystemStatsOutFragFails_get(ipSystemStatsTable_rowreq_ctx *
1554+ int ipSystemStatsOutFragFails_get(ipSystemStatsTable_rowreq_ctx *
1555 rowreq_ctx,
1556 u_long *
1557 ipSystemStatsOutFragFails_val_ptr);
1558- int
1559-
1560-
1561-
1562-
1563-
1564-
1565-
1566-
1567-
1568-
1569-
1570-
1571-
1572-
1573-
1574- ipSystemStatsOutFragCreates_get(ipSystemStatsTable_rowreq_ctx *
1575+ int ipSystemStatsOutFragCreates_get(ipSystemStatsTable_rowreq_ctx *
1576 rowreq_ctx,
1577 u_long *
1578 ipSystemStatsOutFragCreates_val_ptr);
1579- int
1580-
1581-
1582-
1583-
1584-
1585-
1586-
1587-
1588-
1589-
1590-
1591-
1592-
1593-
1594-
1595- ipSystemStatsOutTransmits_get(ipSystemStatsTable_rowreq_ctx *
1596+ int ipSystemStatsOutTransmits_get(ipSystemStatsTable_rowreq_ctx *
1597 rowreq_ctx,
1598 u_long *
1599 ipSystemStatsOutTransmits_val_ptr);
1600- int
1601-
1602-
1603-
1604-
1605-
1606-
1607-
1608-
1609-
1610-
1611-
1612-
1613-
1614-
1615-
1616- ipSystemStatsHCOutTransmits_get(ipSystemStatsTable_rowreq_ctx *
1617+ int ipSystemStatsHCOutTransmits_get(ipSystemStatsTable_rowreq_ctx *
1618 rowreq_ctx,
1619- U64 *
1620+ struct counter64 *
1621 ipSystemStatsHCOutTransmits_val_ptr);
1622- int
1623-
1624-
1625-
1626-
1627-
1628-
1629-
1630-
1631-
1632-
1633-
1634-
1635-
1636-
1637-
1638- ipSystemStatsOutOctets_get(ipSystemStatsTable_rowreq_ctx *
1639+ int ipSystemStatsOutOctets_get(ipSystemStatsTable_rowreq_ctx *
1640 rowreq_ctx,
1641 u_long *
1642 ipSystemStatsOutOctets_val_ptr);
1643- int
1644-
1645-
1646-
1647-
1648-
1649-
1650-
1651-
1652-
1653-
1654-
1655-
1656-
1657-
1658-
1659- ipSystemStatsHCOutOctets_get(ipSystemStatsTable_rowreq_ctx *
1660+ int ipSystemStatsHCOutOctets_get(ipSystemStatsTable_rowreq_ctx *
1661 rowreq_ctx,
1662- U64 *
1663+ struct counter64 *
1664 ipSystemStatsHCOutOctets_val_ptr);
1665- int
1666-
1667-
1668-
1669-
1670-
1671-
1672-
1673-
1674-
1675-
1676-
1677-
1678-
1679-
1680-
1681- ipSystemStatsInMcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1682+ int ipSystemStatsInMcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1683 rowreq_ctx,
1684 u_long *
1685 ipSystemStatsInMcastPkts_val_ptr);
1686- int
1687-
1688-
1689-
1690-
1691-
1692-
1693-
1694-
1695-
1696-
1697-
1698-
1699-
1700-
1701-
1702- ipSystemStatsHCInMcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1703+ int ipSystemStatsHCInMcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1704 rowreq_ctx,
1705- U64 *
1706+ struct counter64 *
1707 ipSystemStatsHCInMcastPkts_val_ptr);
1708- int
1709-
1710-
1711-
1712-
1713-
1714-
1715-
1716-
1717-
1718-
1719-
1720-
1721-
1722-
1723-
1724- ipSystemStatsInMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
1725+ int ipSystemStatsInMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
1726 rowreq_ctx,
1727 u_long *
1728 ipSystemStatsInMcastOctets_val_ptr);
1729- int
1730-
1731-
1732-
1733-
1734-
1735-
1736-
1737-
1738-
1739-
1740-
1741-
1742-
1743-
1744-
1745- ipSystemStatsHCInMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
1746+ int ipSystemStatsHCInMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
1747 rowreq_ctx,
1748- U64 *
1749+ struct counter64 *
1750 ipSystemStatsHCInMcastOctets_val_ptr);
1751- int
1752-
1753-
1754-
1755-
1756-
1757-
1758-
1759-
1760-
1761-
1762-
1763-
1764-
1765-
1766-
1767- ipSystemStatsOutMcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1768+ int ipSystemStatsOutMcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1769 rowreq_ctx,
1770 u_long *
1771 ipSystemStatsOutMcastPkts_val_ptr);
1772- int
1773-
1774-
1775-
1776-
1777-
1778-
1779-
1780-
1781-
1782-
1783-
1784-
1785-
1786-
1787-
1788- ipSystemStatsHCOutMcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1789+ int ipSystemStatsHCOutMcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1790 rowreq_ctx,
1791- U64 *
1792+ struct counter64 *
1793 ipSystemStatsHCOutMcastPkts_val_ptr);
1794- int
1795-
1796-
1797-
1798-
1799-
1800-
1801-
1802-
1803-
1804-
1805-
1806-
1807-
1808-
1809-
1810- ipSystemStatsOutMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
1811+ int ipSystemStatsOutMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
1812 rowreq_ctx,
1813 u_long *
1814 ipSystemStatsOutMcastOctets_val_ptr);
1815- int
1816-
1817-
1818-
1819-
1820-
1821-
1822-
1823-
1824-
1825-
1826-
1827-
1828-
1829-
1830-
1831- ipSystemStatsHCOutMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
1832+ int ipSystemStatsHCOutMcastOctets_get(ipSystemStatsTable_rowreq_ctx *
1833 rowreq_ctx,
1834- U64 *
1835+ struct counter64 *
1836 ipSystemStatsHCOutMcastOctets_val_ptr);
1837- int
1838-
1839-
1840-
1841-
1842-
1843-
1844-
1845-
1846-
1847-
1848-
1849-
1850-
1851-
1852-
1853- ipSystemStatsInBcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1854+ int ipSystemStatsInBcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1855 rowreq_ctx,
1856 u_long *
1857 ipSystemStatsInBcastPkts_val_ptr);
1858- int
1859-
1860-
1861-
1862-
1863-
1864-
1865-
1866-
1867-
1868-
1869-
1870-
1871-
1872-
1873-
1874- ipSystemStatsHCInBcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1875+ int ipSystemStatsHCInBcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1876 rowreq_ctx,
1877- U64 *
1878+ struct counter64 *
1879 ipSystemStatsHCInBcastPkts_val_ptr);
1880- int
1881-
1882-
1883-
1884-
1885-
1886-
1887-
1888-
1889-
1890-
1891-
1892-
1893-
1894-
1895-
1896- ipSystemStatsOutBcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1897+ int ipSystemStatsOutBcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1898 rowreq_ctx,
1899 u_long *
1900 ipSystemStatsOutBcastPkts_val_ptr);
1901- int
1902-
1903-
1904-
1905-
1906-
1907-
1908-
1909-
1910-
1911-
1912-
1913-
1914-
1915-
1916-
1917- ipSystemStatsHCOutBcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1918+ int ipSystemStatsHCOutBcastPkts_get(ipSystemStatsTable_rowreq_ctx *
1919 rowreq_ctx,
1920- U64 *
1921+ struct counter64 *
1922 ipSystemStatsHCOutBcastPkts_val_ptr);
1923- int
1924-
1925-
1926-
1927-
1928-
1929-
1930-
1931-
1932-
1933-
1934-
1935-
1936-
1937-
1938-
1939- ipSystemStatsDiscontinuityTime_get(ipSystemStatsTable_rowreq_ctx *
1940+ int ipSystemStatsDiscontinuityTime_get(ipSystemStatsTable_rowreq_ctx *
1941 rowreq_ctx,
1942 u_long *
1943 ipSystemStatsDiscontinuityTime_val_ptr);
1944- int
1945-
1946-
1947-
1948-
1949-
1950-
1951-
1952-
1953-
1954-
1955-
1956-
1957-
1958-
1959-
1960- ipSystemStatsRefreshRate_get(ipSystemStatsTable_rowreq_ctx *
1961+ int ipSystemStatsRefreshRate_get(ipSystemStatsTable_rowreq_ctx *
1962 rowreq_ctx,
1963 u_long *
1964 ipSystemStatsRefreshRate_val_ptr);
1965-
1966-
1967- int
1968-
1969-
1970-
1971-
1972-
1973-
1974-
1975-
1976-
1977-
1978-
1979-
1980-
1981-
1982-
1983- ipSystemStatsTable_indexes_set_tbl_idx(ipSystemStatsTable_mib_index
1984+ int ipSystemStatsTable_indexes_set_tbl_idx(ipSystemStatsTable_mib_index
1985 * tbl_idx,
1986 u_long
1987 ipSystemStatsIPVersion_val);
1988- int
1989-
1990-
1991-
1992-
1993-
1994-
1995-
1996-
1997-
1998-
1999-
2000-
2001-
2002-
2003-
2004- ipSystemStatsTable_indexes_set(ipSystemStatsTable_rowreq_ctx *
2005+ int ipSystemStatsTable_indexes_set(ipSystemStatsTable_rowreq_ctx *
2006 rowreq_ctx,
2007 u_long ipSystemStatsIPVersion_val);
2008
2009-
2010-
2011 /*
2012 *********************************************************************
2013 * SET function declarations
2014diff --git a/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable_interface.c b/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable_interface.c
2015index e1ca2cb..09c061f 100644
2016--- a/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable_interface.c
2017+++ b/agent/mibgroup/ip-mib/ipSystemStatsTable/ipSystemStatsTable_interface.c
2018@@ -674,10 +674,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2019 * ipSystemStatsHCInReceives(4)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2020 */
2021 case COLUMN_IPSYSTEMSTATSHCINRECEIVES:
2022- var->val_len = sizeof(U64);
2023+ var->val_len = sizeof(struct counter64);
2024 var->type = ASN_COUNTER64;
2025 rc = ipSystemStatsHCInReceives_get(rowreq_ctx,
2026- (U64 *) var->val.string);
2027+ (struct counter64 *) var->val.string);
2028 break;
2029
2030 /*
2031@@ -694,10 +694,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2032 * ipSystemStatsHCInOctets(6)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2033 */
2034 case COLUMN_IPSYSTEMSTATSHCINOCTETS:
2035- var->val_len = sizeof(U64);
2036+ var->val_len = sizeof(struct counter64);
2037 var->type = ASN_COUNTER64;
2038 rc = ipSystemStatsHCInOctets_get(rowreq_ctx,
2039- (U64 *) var->val.string);
2040+ (struct counter64 *) var->val.string);
2041 break;
2042
2043 /*
2044@@ -764,10 +764,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2045 * ipSystemStatsHCInForwDatagrams(13)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2046 */
2047 case COLUMN_IPSYSTEMSTATSHCINFORWDATAGRAMS:
2048- var->val_len = sizeof(U64);
2049+ var->val_len = sizeof(struct counter64);
2050 var->type = ASN_COUNTER64;
2051 rc = ipSystemStatsHCInForwDatagrams_get(rowreq_ctx,
2052- (U64 *) var->val.string);
2053+ (struct counter64 *) var->val.string);
2054 break;
2055
2056 /*
2057@@ -824,10 +824,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2058 * ipSystemStatsHCInDelivers(19)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2059 */
2060 case COLUMN_IPSYSTEMSTATSHCINDELIVERS:
2061- var->val_len = sizeof(U64);
2062+ var->val_len = sizeof(struct counter64);
2063 var->type = ASN_COUNTER64;
2064 rc = ipSystemStatsHCInDelivers_get(rowreq_ctx,
2065- (U64 *) var->val.string);
2066+ (struct counter64 *) var->val.string);
2067 break;
2068
2069 /*
2070@@ -844,10 +844,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2071 * ipSystemStatsHCOutRequests(21)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2072 */
2073 case COLUMN_IPSYSTEMSTATSHCOUTREQUESTS:
2074- var->val_len = sizeof(U64);
2075+ var->val_len = sizeof(struct counter64);
2076 var->type = ASN_COUNTER64;
2077 rc = ipSystemStatsHCOutRequests_get(rowreq_ctx,
2078- (U64 *) var->val.string);
2079+ (struct counter64 *) var->val.string);
2080 break;
2081
2082 /*
2083@@ -874,10 +874,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2084 * ipSystemStatsHCOutForwDatagrams(24)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2085 */
2086 case COLUMN_IPSYSTEMSTATSHCOUTFORWDATAGRAMS:
2087- var->val_len = sizeof(U64);
2088+ var->val_len = sizeof(struct counter64);
2089 var->type = ASN_COUNTER64;
2090 rc = ipSystemStatsHCOutForwDatagrams_get(rowreq_ctx,
2091- (U64 *) var->val.string);
2092+ (struct counter64 *) var->val.string);
2093 break;
2094
2095 /*
2096@@ -944,10 +944,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2097 * ipSystemStatsHCOutTransmits(31)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2098 */
2099 case COLUMN_IPSYSTEMSTATSHCOUTTRANSMITS:
2100- var->val_len = sizeof(U64);
2101+ var->val_len = sizeof(struct counter64);
2102 var->type = ASN_COUNTER64;
2103 rc = ipSystemStatsHCOutTransmits_get(rowreq_ctx,
2104- (U64 *) var->val.string);
2105+ (struct counter64 *) var->val.string);
2106 break;
2107
2108 /*
2109@@ -964,10 +964,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2110 * ipSystemStatsHCOutOctets(33)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2111 */
2112 case COLUMN_IPSYSTEMSTATSHCOUTOCTETS:
2113- var->val_len = sizeof(U64);
2114+ var->val_len = sizeof(struct counter64);
2115 var->type = ASN_COUNTER64;
2116 rc = ipSystemStatsHCOutOctets_get(rowreq_ctx,
2117- (U64 *) var->val.string);
2118+ (struct counter64 *) var->val.string);
2119 break;
2120
2121 /*
2122@@ -984,10 +984,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2123 * ipSystemStatsHCInMcastPkts(35)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2124 */
2125 case COLUMN_IPSYSTEMSTATSHCINMCASTPKTS:
2126- var->val_len = sizeof(U64);
2127+ var->val_len = sizeof(struct counter64);
2128 var->type = ASN_COUNTER64;
2129 rc = ipSystemStatsHCInMcastPkts_get(rowreq_ctx,
2130- (U64 *) var->val.string);
2131+ (struct counter64 *) var->val.string);
2132 break;
2133
2134 /*
2135@@ -1004,10 +1004,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2136 * ipSystemStatsHCInMcastOctets(37)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2137 */
2138 case COLUMN_IPSYSTEMSTATSHCINMCASTOCTETS:
2139- var->val_len = sizeof(U64);
2140+ var->val_len = sizeof(struct counter64);
2141 var->type = ASN_COUNTER64;
2142 rc = ipSystemStatsHCInMcastOctets_get(rowreq_ctx,
2143- (U64 *) var->val.string);
2144+ (struct counter64 *) var->val.string);
2145 break;
2146
2147 /*
2148@@ -1024,10 +1024,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2149 * ipSystemStatsHCOutMcastPkts(39)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2150 */
2151 case COLUMN_IPSYSTEMSTATSHCOUTMCASTPKTS:
2152- var->val_len = sizeof(U64);
2153+ var->val_len = sizeof(struct counter64);
2154 var->type = ASN_COUNTER64;
2155 rc = ipSystemStatsHCOutMcastPkts_get(rowreq_ctx,
2156- (U64 *) var->val.string);
2157+ (struct counter64 *) var->val.string);
2158 break;
2159
2160 /*
2161@@ -1044,10 +1044,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2162 * ipSystemStatsHCOutMcastOctets(41)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2163 */
2164 case COLUMN_IPSYSTEMSTATSHCOUTMCASTOCTETS:
2165- var->val_len = sizeof(U64);
2166+ var->val_len = sizeof(struct counter64);
2167 var->type = ASN_COUNTER64;
2168 rc = ipSystemStatsHCOutMcastOctets_get(rowreq_ctx,
2169- (U64 *) var->val.string);
2170+ (struct counter64 *) var->val.string);
2171 break;
2172
2173 /*
2174@@ -1064,10 +1064,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2175 * ipSystemStatsHCInBcastPkts(43)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2176 */
2177 case COLUMN_IPSYSTEMSTATSHCINBCASTPKTS:
2178- var->val_len = sizeof(U64);
2179+ var->val_len = sizeof(struct counter64);
2180 var->type = ASN_COUNTER64;
2181 rc = ipSystemStatsHCInBcastPkts_get(rowreq_ctx,
2182- (U64 *) var->val.string);
2183+ (struct counter64 *) var->val.string);
2184 break;
2185
2186 /*
2187@@ -1084,10 +1084,10 @@ _ipSystemStatsTable_get_column(ipSystemStatsTable_rowreq_ctx * rowreq_ctx,
2188 * ipSystemStatsHCOutBcastPkts(45)/COUNTER64/ASN_COUNTER64/U64(U64)//l/A/w/e/r/d/h
2189 */
2190 case COLUMN_IPSYSTEMSTATSHCOUTBCASTPKTS:
2191- var->val_len = sizeof(U64);
2192+ var->val_len = sizeof(struct counter64);
2193 var->type = ASN_COUNTER64;
2194 rc = ipSystemStatsHCOutBcastPkts_get(rowreq_ctx,
2195- (U64 *) var->val.string);
2196+ (struct counter64 *) var->val.string);
2197 break;
2198
2199 /*
2200diff --git a/include/net-snmp/data_access/ipstats.h b/include/net-snmp/data_access/ipstats.h
2201index f782459..f0df46b 100644
2202--- a/include/net-snmp/data_access/ipstats.h
2203+++ b/include/net-snmp/data_access/ipstats.h
2204@@ -58,45 +58,45 @@ typedef struct netsnmp_ipstats_s {
2205 * other columns, when underlying OS does not provide them.
2206 * Always fill at least 32 bits, the table is periodically polled -> 32 bit
2207 * overflow shall be detected and 64 bit value should be computed automatically. */
2208- U64 HCInReceives;
2209- U64 HCInOctets;
2210+ struct counter64 HCInReceives;
2211+ struct counter64 HCInOctets;
2212 u_long InHdrErrors;
2213- U64 HCInNoRoutes;
2214+ struct counter64 HCInNoRoutes;
2215 u_long InAddrErrors;
2216 u_long InUnknownProtos;
2217 u_long InTruncatedPkts;
2218
2219 /* optional, can be computed from HCInNoRoutes and HCOutForwDatagrams */
2220- U64 HCInForwDatagrams;
2221+ struct counter64 HCInForwDatagrams;
2222
2223 u_long ReasmReqds;
2224 u_long ReasmOKs;
2225 u_long ReasmFails;
2226 u_long InDiscards;
2227- U64 HCInDelivers;
2228- U64 HCOutRequests;
2229- U64 HCOutNoRoutes;
2230- U64 HCOutForwDatagrams;
2231- U64 HCOutDiscards;
2232+ struct counter64 HCInDelivers;
2233+ struct counter64 HCOutRequests;
2234+ struct counter64 HCOutNoRoutes;
2235+ struct counter64 HCOutForwDatagrams;
2236+ struct counter64 HCOutDiscards;
2237
2238 /* optional, can be computed from HCOutFragOKs + HCOutFragFails*/
2239- U64 HCOutFragReqds;
2240- U64 HCOutFragOKs;
2241- U64 HCOutFragFails;
2242- U64 HCOutFragCreates;
2243+ struct counter64 HCOutFragReqds;
2244+ struct counter64 HCOutFragOKs;
2245+ struct counter64 HCOutFragFails;
2246+ struct counter64 HCOutFragCreates;
2247
2248 /* optional, can be computed from
2249 * HCOutRequests +HCOutForwDatagrams + HCOutFragCreates
2250 * - HCOutFragReqds - HCOutNoRoutes - HCOutDiscards */
2251- U64 HCOutTransmits;
2252+ struct counter64 HCOutTransmits;
2253
2254- U64 HCOutOctets;
2255- U64 HCInMcastPkts;
2256- U64 HCInMcastOctets;
2257- U64 HCOutMcastPkts;
2258- U64 HCOutMcastOctets;
2259- U64 HCInBcastPkts;
2260- U64 HCOutBcastPkts;
2261+ struct counter64 HCOutOctets;
2262+ struct counter64 HCInMcastPkts;
2263+ struct counter64 HCInMcastOctets;
2264+ struct counter64 HCOutMcastPkts;
2265+ struct counter64 HCOutMcastOctets;
2266+ struct counter64 HCInBcastPkts;
2267+ struct counter64 HCOutBcastPkts;
2268
2269 /* Array of available columns.*/
2270 int columnAvail[IPSYSTEMSTATSTABLE_LAST+1];
2271diff --git a/include/net-snmp/library/int64.h b/include/net-snmp/library/int64.h
2272index 9c7c894..3a85213 100644
2273--- a/include/net-snmp/library/int64.h
2274+++ b/include/net-snmp/library/int64.h
2275@@ -5,31 +5,29 @@
2276 extern "C" {
2277 #endif
2278
2279- typedef struct counter64 U64;
2280-
2281 #define I64CHARSZ 21
2282
2283- void divBy10(U64, U64 *, unsigned int *);
2284- void multBy10(U64, U64 *);
2285- void incrByU16(U64 *, unsigned int);
2286- void incrByU32(U64 *, unsigned int);
2287+ void divBy10(struct counter64, struct counter64 *, unsigned int *);
2288+ void multBy10(struct counter64, struct counter64 *);
2289+ void incrByU16(struct counter64 *, unsigned int);
2290+ void incrByU32(struct counter64 *, unsigned int);
2291 NETSNMP_IMPORT
2292- void zeroU64(U64 *);
2293- int isZeroU64(const U64 *);
2294+ void zeroU64(struct counter64 *);
2295+ int isZeroU64(const struct counter64 *);
2296 NETSNMP_IMPORT
2297- void printU64(char *, const U64 *);
2298+ void printU64(char *, const struct counter64 *);
2299 NETSNMP_IMPORT
2300- void printI64(char *, const U64 *);
2301- int read64(U64 *, const char *);
2302+ void printI64(char *, const struct counter64 *);
2303+ int read64(struct counter64 *, const char *);
2304 NETSNMP_IMPORT
2305- void u64Subtract(const U64 * pu64one, const U64 * pu64two,
2306- U64 * pu64out);
2307- void u64Incr(U64 * pu64out, const U64 * pu64one);
2308- void u64UpdateCounter(U64 * pu64out, const U64 * pu64one,
2309- const U64 * pu64two);
2310- void u64Copy(U64 * pu64one, const U64 * pu64two);
2311+ void u64Subtract(const struct counter64 *pu64one, const struct counter64 *pu64two,
2312+ struct counter64 *pu64out);
2313+ void u64Incr(struct counter64 *pu64out, const struct counter64 *pu64one);
2314+ void u64UpdateCounter(struct counter64 *pu64out, const struct counter64 *pu64one,
2315+ const struct counter64 *pu64two);
2316+ void u64Copy(struct counter64 *pu64one, const struct counter64 *pu64two);
2317
2318- int netsnmp_c64_check_for_32bit_wrap(U64 *old_val, U64 *new_val,
2319+ int netsnmp_c64_check_for_32bit_wrap(struct counter64 *old_val, struct counter64 *new_val,
2320 int adjust);
2321 NETSNMP_IMPORT
2322 int netsnmp_c64_check32_and_update(struct counter64 *prev_val,
2323diff --git a/snmplib/int64.c b/snmplib/int64.c
2324index 51f1f32..951f813 100644
2325--- a/snmplib/int64.c
2326+++ b/snmplib/int64.c
2327@@ -33,7 +33,7 @@
2328 * @param[out] puR Remainder.
2329 */
2330 void
2331-divBy10(U64 u64, U64 * pu64Q, unsigned int *puR)
2332+divBy10(struct counter64 u64, struct counter64 *pu64Q, unsigned int *puR)
2333 {
2334 unsigned long ulT;
2335 unsigned long ulQ;
2336@@ -83,7 +83,7 @@ divBy10(U64 u64, U64 * pu64Q, unsigned int *puR)
2337 * @param[out] pu64P Product.
2338 */
2339 void
2340-multBy10(U64 u64, U64 * pu64P)
2341+multBy10(struct counter64 u64, struct counter64 *pu64P)
2342 {
2343 unsigned long ulT;
2344 unsigned long ulP;
2345@@ -130,7 +130,7 @@ multBy10(U64 u64, U64 * pu64P)
2346 *
2347 */
2348 void
2349-incrByU16(U64 * pu64, unsigned int u16)
2350+incrByU16(struct counter64 *pu64, unsigned int u16)
2351 {
2352 incrByU32(pu64, u16);
2353 }
2354@@ -143,7 +143,7 @@ incrByU16(U64 * pu64, unsigned int u16)
2355 *
2356 */
2357 void
2358-incrByU32(U64 * pu64, unsigned int u32)
2359+incrByU32(struct counter64 *pu64, unsigned int u32)
2360 {
2361 uint32_t tmp;
2362
2363@@ -161,7 +161,7 @@ incrByU32(U64 * pu64, unsigned int u32)
2364 * @param[out] pu64out pu64one - pu64two.
2365 */
2366 void
2367-u64Subtract(const U64 * pu64one, const U64 * pu64two, U64 * pu64out)
2368+u64Subtract(const struct counter64 *pu64one, const struct counter64 *pu64two, struct counter64 *pu64out)
2369 {
2370 int carry;
2371
2372@@ -177,7 +177,7 @@ u64Subtract(const U64 * pu64one, const U64 * pu64two, U64 * pu64out)
2373 * @param[in,out] pu64out pu64out += pu64one.
2374 */
2375 void
2376-u64Incr(U64 * pu64out, const U64 * pu64one)
2377+u64Incr(struct counter64 *pu64out, const struct counter64 *pu64one)
2378 {
2379 pu64out->high = (uint32_t)(pu64out->high + pu64one->high);
2380 incrByU32(pu64out, pu64one->low);
2381@@ -191,9 +191,9 @@ u64Incr(U64 * pu64out, const U64 * pu64one)
2382 * @param[out] pu64out pu64out += (pu64one - pu64two)
2383 */
2384 void
2385-u64UpdateCounter(U64 * pu64out, const U64 * pu64one, const U64 * pu64two)
2386+u64UpdateCounter(struct counter64 *pu64out, const struct counter64 *pu64one, const struct counter64 *pu64two)
2387 {
2388- U64 tmp;
2389+ struct counter64 tmp;
2390
2391 u64Subtract(pu64one, pu64two, &tmp);
2392 u64Incr(pu64out, &tmp);
2393@@ -208,7 +208,7 @@ netsnmp_feature_child_of(u64copy, netsnmp_unused)
2394 * @param[out] pu64one Where to store the copy - *pu64one = *pu64two.
2395 */
2396 void
2397-u64Copy(U64 * pu64one, const U64 * pu64two)
2398+u64Copy(struct counter64 *pu64one, const struct counter64 *pu64two)
2399 {
2400 *pu64one = *pu64two;
2401 }
2402@@ -220,7 +220,7 @@ u64Copy(U64 * pu64one, const U64 * pu64two)
2403 * @param[in] pu64 Number to be zeroed.
2404 */
2405 void
2406-zeroU64(U64 * pu64)
2407+zeroU64(struct counter64 *pu64)
2408 {
2409 pu64->low = 0;
2410 pu64->high = 0;
2411@@ -232,7 +232,7 @@ zeroU64(U64 * pu64)
2412 * @param[in] pu64 Number to be checked.
2413 */
2414 int
2415-isZeroU64(const U64 * pu64)
2416+isZeroU64(const struct counter64 *pu64)
2417 {
2418 return pu64->low == 0 && pu64->high == 0;
2419 }
2420@@ -390,10 +390,10 @@ netsnmp_c64_check32_and_update(struct counter64 *prev_val, struct counter64 *new
2421 /** Convert an unsigned 64-bit number to ASCII. */
2422 void
2423 printU64(char *buf, /* char [I64CHARSZ+1]; */
2424- const U64 * pu64)
2425+ const struct counter64 *pu64)
2426 {
2427- U64 u64a;
2428- U64 u64b;
2429+ struct counter64 u64a;
2430+ struct counter64 u64b;
2431
2432 char aRes[I64CHARSZ + 1];
2433 unsigned int u;
2434@@ -414,9 +414,9 @@ printU64(char *buf, /* char [I64CHARSZ+1]; */
2435 /** Convert a signed 64-bit number to ASCII. */
2436 void
2437 printI64(char *buf, /* char [I64CHARSZ+1]; */
2438- const U64 * pu64)
2439+ const struct counter64 *pu64)
2440 {
2441- U64 u64a;
2442+ struct counter64 u64a;
2443
2444 if (pu64->high & 0x80000000) {
2445 u64a.high = (uint32_t) ~pu64->high;
2446@@ -429,11 +429,11 @@ printI64(char *buf, /* char [I64CHARSZ+1]; */
2447 }
2448 }
2449
2450-/** Convert a signed 64-bit integer from ASCII to U64. */
2451+/** Convert a signed 64-bit integer from ASCII to struct counter64. */
2452 int
2453-read64(U64 * i64, const char *str)
2454+read64(struct counter64 *i64, const char *str)
2455 {
2456- U64 i64p;
2457+ struct counter64 i64p;
2458 unsigned int u;
2459 int sign = 0;
2460 int ok = 0;
2461diff --git a/snmplib/read_config.c b/snmplib/read_config.c
2462index e159c27..ab5b6a3 100644
2463--- a/snmplib/read_config.c
2464+++ b/snmplib/read_config.c
2465@@ -2279,10 +2279,10 @@ read_config_read_memory(int type, char *readfrom,
2466 return readfrom;
2467
2468 case ASN_COUNTER64:
2469- if (*len < sizeof(U64))
2470+ if (*len < sizeof(struct counter64))
2471 return NULL;
2472- *len = sizeof(U64);
2473- read64((U64 *) dataptr, readfrom);
2474+ *len = sizeof(struct counter64);
2475+ read64((struct counter64 *) dataptr, readfrom);
2476 readfrom = skip_token(readfrom);
2477 return readfrom;
2478 }
2479diff --git a/testing/fulltests/unit-tests/T015int64_clib.c b/testing/fulltests/unit-tests/T015int64_clib.c
2480index 5f5f4b6..66f66b7 100644
2481--- a/testing/fulltests/unit-tests/T015int64_clib.c
2482+++ b/testing/fulltests/unit-tests/T015int64_clib.c
2483@@ -1,4 +1,4 @@
2484-/* HEADER Testing 64-bit integer operations (U64). */
2485+/* HEADER Testing 64-bit integer operations (struct counter64). */
2486
2487 int i, j;
2488 char buf[22];
2489@@ -15,7 +15,7 @@ static const int64_t intval[] = {
2490 };
2491
2492 for (i = 0; i < sizeof(intval)/sizeof(intval[0]); ++i) {
2493- U64 a, b;
2494+ struct counter64 a, b;
2495 a.low = (uint32_t)intval[i];
2496 a.high = (uint32_t)(intval[i] >> 32);
2497 printI64(buf, &a);
2498@@ -27,7 +27,7 @@ for (i = 0; i < sizeof(intval)/sizeof(intval[0]); ++i) {
2499
2500 for (i = 0; i < sizeof(intval)/sizeof(intval[0]); ++i) {
2501 for (j = i; j < sizeof(intval)/sizeof(intval[0]); ++j) {
2502- U64 a, b;
2503+ struct counter64 a, b;
2504 uint64_t d;
2505 a.low = (uint32_t)intval[i];
2506 a.high = (uint32_t)(intval[i] >> 32);
2507@@ -43,7 +43,7 @@ for (i = 0; i < sizeof(intval)/sizeof(intval[0]); ++i) {
2508
2509 for (i = 0; i < sizeof(intval)/sizeof(intval[0]); ++i) {
2510 for (j = i; j < sizeof(intval)/sizeof(intval[0]); ++j) {
2511- U64 a, b, c;
2512+ struct counter64 a, b, c;
2513 uint64_t d;
2514 a.low = (uint32_t)intval[i];
2515 a.high = (uint32_t)(intval[i] >> 32);
2516@@ -58,7 +58,7 @@ for (i = 0; i < sizeof(intval)/sizeof(intval[0]); ++i) {
2517 }
2518
2519 {
2520- U64 old_val, new_val;
2521+ struct counter64 old_val, new_val;
2522 old_val.low = 7;
2523 old_val.high = 0;
2524 new_val = old_val;
2525--
25262.7.4
2527
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index 29cd6b3bf..2f1b0bfe3 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -32,6 +32,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \
32 file://0004-configure-fix-incorrect-variable.patch \ 32 file://0004-configure-fix-incorrect-variable.patch \
33 file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ 33 file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \
34 file://net-snmp-fix-for-disable-des.patch \ 34 file://net-snmp-fix-for-disable-des.patch \
35 file://0001-Remove-U64-typedef.patch \
35 " 36 "
36SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee" 37SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee"
37SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e" 38SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e"