DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
IfaceWrapper.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: dpdklibs/opmon/IfaceWrapper.proto
3
5
6#include <algorithm>
7#include "google/protobuf/io/coded_stream.h"
8#include "google/protobuf/extension_set.h"
9#include "google/protobuf/wire_format_lite.h"
10#include "google/protobuf/descriptor.h"
11#include "google/protobuf/generated_message_reflection.h"
12#include "google/protobuf/reflection_ops.h"
13#include "google/protobuf/wire_format.h"
14#include "google/protobuf/generated_message_tctable_impl.h"
15// @@protoc_insertion_point(includes)
16
17// Must be included last.
18#include "google/protobuf/port_def.inc"
19PROTOBUF_PRAGMA_INIT_SEG
20namespace _pb = ::google::protobuf;
21namespace _pbi = ::google::protobuf::internal;
22namespace _fl = ::google::protobuf::internal::field_layout;
23namespace dunedaq {
24namespace dpdklibs {
25namespace opmon {
26 template <typename>
27PROTOBUF_CONSTEXPR EthStats::EthStats(::_pbi::ConstantInitialized)
28 : _impl_{
29 /*decltype(_impl_.ipackets_)*/ ::uint64_t{0u},
30 /*decltype(_impl_.opackets_)*/ ::uint64_t{0u},
31 /*decltype(_impl_.ibytes_)*/ ::uint64_t{0u},
32 /*decltype(_impl_.obytes_)*/ ::uint64_t{0u},
33 /*decltype(_impl_.imissed_)*/ ::uint64_t{0u},
34 /*decltype(_impl_.ierrors_)*/ ::uint64_t{0u},
35 /*decltype(_impl_.oerrors_)*/ ::uint64_t{0u},
36 /*decltype(_impl_.rx_nombuf_)*/ ::uint64_t{0u},
37 /*decltype(_impl_._cached_size_)*/ {},
38 } {}
40 PROTOBUF_CONSTEXPR EthStatsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
42 union {
44 };
45};
46
47PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
49 template <typename>
50PROTOBUF_CONSTEXPR QueueInfo::QueueInfo(::_pbi::ConstantInitialized)
51 : _impl_{
52 /*decltype(_impl_.packets_received_)*/ ::uint64_t{0u},
53 /*decltype(_impl_.bytes_received_)*/ ::uint64_t{0u},
54 /*decltype(_impl_.full_rx_burst_)*/ ::uint64_t{0u},
55 /*decltype(_impl_.max_burst_size_)*/ 0u,
56 /*decltype(_impl_._cached_size_)*/ {},
57 } {}
59 PROTOBUF_CONSTEXPR QueueInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
61 union {
63 };
64};
65
66PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
67 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QueueInfoDefaultTypeInternal _QueueInfo_default_instance_;
68 template <typename>
69PROTOBUF_CONSTEXPR QueueEthXStats::QueueEthXStats(::_pbi::ConstantInitialized)
70 : _impl_{
71 /*decltype(_impl_.packets_)*/ ::uint64_t{0u},
72 /*decltype(_impl_.bytes_)*/ ::uint64_t{0u},
73 /*decltype(_impl_.errors_)*/ ::uint64_t{0u},
74 /*decltype(_impl_._cached_size_)*/ {},
75 } {}
77 PROTOBUF_CONSTEXPR QueueEthXStatsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
79 union {
81 };
82};
83
84PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
86 template <typename>
87PROTOBUF_CONSTEXPR EthXStatsInfo::EthXStatsInfo(::_pbi::ConstantInitialized)
88 : _impl_{
89 /*decltype(_impl_.groups_sent_)*/ ::uint64_t{0u},
90 /*decltype(_impl_.total_groups_sent_)*/ ::uint64_t{0u},
91 /*decltype(_impl_.rx_good_packets_)*/ ::uint64_t{0u},
92 /*decltype(_impl_.rx_good_bytes_)*/ ::uint64_t{0u},
93 /*decltype(_impl_.rx_dropped_packets_)*/ ::uint64_t{0u},
94 /*decltype(_impl_.rx_unicast_packets_)*/ ::uint64_t{0u},
95 /*decltype(_impl_.rx_multicast_packets_)*/ ::uint64_t{0u},
96 /*decltype(_impl_.rx_broadcast_packets_)*/ ::uint64_t{0u},
97 /*decltype(_impl_.rx_unknown_protocol_packets_)*/ ::uint64_t{0u},
98 /*decltype(_impl_.rx_xon_packets_)*/ ::uint64_t{0u},
99 /*decltype(_impl_.rx_xoff_packets_)*/ ::uint64_t{0u},
100 /*decltype(_impl_.rx_size_64_packets_)*/ ::uint64_t{0u},
101 /*decltype(_impl_.rx_size_65_to_127_packets_)*/ ::uint64_t{0u},
102 /*decltype(_impl_.rx_size_128_to_255_packets_)*/ ::uint64_t{0u},
103 /*decltype(_impl_.rx_size_256_to_511_packets_)*/ ::uint64_t{0u},
104 /*decltype(_impl_.rx_size_512_to_1023_packets_)*/ ::uint64_t{0u},
105 /*decltype(_impl_.rx_size_1024_to_1522_packets_)*/ ::uint64_t{0u},
106 /*decltype(_impl_.rx_size_1523_to_max_packets_)*/ ::uint64_t{0u},
107 /*decltype(_impl_.rx_mac_short_pkt_dropped_)*/ ::uint64_t{0u},
108 /*decltype(_impl_.tx_good_packets_)*/ ::uint64_t{0u},
109 /*decltype(_impl_.tx_good_bytes_)*/ ::uint64_t{0u},
110 /*decltype(_impl_.tx_unicast_packets_)*/ ::uint64_t{0u},
111 /*decltype(_impl_.tx_multicast_packets_)*/ ::uint64_t{0u},
112 /*decltype(_impl_.tx_broadcast_packets_)*/ ::uint64_t{0u},
113 /*decltype(_impl_.tx_dropped_packets_)*/ ::uint64_t{0u},
114 /*decltype(_impl_.tx_link_down_dropped_)*/ ::uint64_t{0u},
115 /*decltype(_impl_.tx_xon_packets_)*/ ::uint64_t{0u},
116 /*decltype(_impl_.tx_xoff_packets_)*/ ::uint64_t{0u},
117 /*decltype(_impl_.tx_size_64_packets_)*/ ::uint64_t{0u},
118 /*decltype(_impl_.tx_size_65_to_127_packets_)*/ ::uint64_t{0u},
119 /*decltype(_impl_.tx_size_128_to_255_packets_)*/ ::uint64_t{0u},
120 /*decltype(_impl_.tx_size_256_to_511_packets_)*/ ::uint64_t{0u},
121 /*decltype(_impl_.tx_size_512_to_1023_packets_)*/ ::uint64_t{0u},
122 /*decltype(_impl_.tx_size_1024_to_1522_packets_)*/ ::uint64_t{0u},
123 /*decltype(_impl_.tx_size_1523_to_max_packets_)*/ ::uint64_t{0u},
124 /*decltype(_impl_._cached_size_)*/ {},
125 } {}
127 PROTOBUF_CONSTEXPR EthXStatsInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
129 union {
131 };
132};
133
134PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
136 template <typename>
137PROTOBUF_CONSTEXPR EthXStatsErrors::EthXStatsErrors(::_pbi::ConstantInitialized)
138 : _impl_{
139 /*decltype(_impl_.rx_missed_errors_)*/ ::uint64_t{0u},
140 /*decltype(_impl_.rx_errors_)*/ ::uint64_t{0u},
141 /*decltype(_impl_.rx_error_bytes_)*/ ::uint64_t{0u},
142 /*decltype(_impl_.rx_mbuf_allocation_errors_)*/ ::uint64_t{0u},
143 /*decltype(_impl_.rx_crc_errors_)*/ ::uint64_t{0u},
144 /*decltype(_impl_.rx_illegal_byte_errors_)*/ ::uint64_t{0u},
145 /*decltype(_impl_.rx_jabber_errors_)*/ ::uint64_t{0u},
146 /*decltype(_impl_.mac_local_errors_)*/ ::uint64_t{0u},
147 /*decltype(_impl_.mac_remote_errors_)*/ ::uint64_t{0u},
148 /*decltype(_impl_.rx_len_errors_)*/ ::uint64_t{0u},
149 /*decltype(_impl_.rx_undersized_errors_)*/ ::uint64_t{0u},
150 /*decltype(_impl_.rx_oversize_errors_)*/ ::uint64_t{0u},
151 /*decltype(_impl_.rx_fragmented_errors_)*/ ::uint64_t{0u},
152 /*decltype(_impl_.tx_errors_)*/ ::uint64_t{0u},
153 /*decltype(_impl_._cached_size_)*/ {},
154 } {}
162
163PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
165 template <typename>
166PROTOBUF_CONSTEXPR RTEWorkerInfo::RTEWorkerInfo(::_pbi::ConstantInitialized)
167 : _impl_{
168 /*decltype(_impl_.num_unhandled_non_ipv4_)*/ 0u,
169 /*decltype(_impl_.num_unhandled_non_udp_)*/ 0u,
170 /*decltype(_impl_.num_unhandled_non_jumbo_udp_)*/ 0u,
171 /*decltype(_impl_._cached_size_)*/ {},
172 } {}
174 PROTOBUF_CONSTEXPR RTEWorkerInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
176 union {
178 };
179};
180
181PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
183} // namespace opmon
184} // namespace dpdklibs
185} // namespace dunedaq
187static constexpr const ::_pb::EnumDescriptor**
189static constexpr const ::_pb::ServiceDescriptor**
192 protodesc_cold) = {
193 ~0u, // no _has_bits_
194 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthStats, _internal_metadata_),
195 ~0u, // no _extensions_
196 ~0u, // no _oneof_case_
197 ~0u, // no _weak_field_map_
198 ~0u, // no _inlined_string_donated_
199 ~0u, // no _split_
200 ~0u, // no sizeof(Split)
201 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthStats, _impl_.ipackets_),
202 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthStats, _impl_.opackets_),
203 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthStats, _impl_.ibytes_),
204 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthStats, _impl_.obytes_),
205 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthStats, _impl_.imissed_),
206 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthStats, _impl_.ierrors_),
207 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthStats, _impl_.oerrors_),
208 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthStats, _impl_.rx_nombuf_),
209 ~0u, // no _has_bits_
210 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::QueueInfo, _internal_metadata_),
211 ~0u, // no _extensions_
212 ~0u, // no _oneof_case_
213 ~0u, // no _weak_field_map_
214 ~0u, // no _inlined_string_donated_
215 ~0u, // no _split_
216 ~0u, // no sizeof(Split)
217 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::QueueInfo, _impl_.packets_received_),
218 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::QueueInfo, _impl_.bytes_received_),
219 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::QueueInfo, _impl_.full_rx_burst_),
220 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::QueueInfo, _impl_.max_burst_size_),
221 ~0u, // no _has_bits_
222 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::QueueEthXStats, _internal_metadata_),
223 ~0u, // no _extensions_
224 ~0u, // no _oneof_case_
225 ~0u, // no _weak_field_map_
226 ~0u, // no _inlined_string_donated_
227 ~0u, // no _split_
228 ~0u, // no sizeof(Split)
229 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::QueueEthXStats, _impl_.packets_),
230 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::QueueEthXStats, _impl_.bytes_),
231 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::QueueEthXStats, _impl_.errors_),
232 ~0u, // no _has_bits_
233 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _internal_metadata_),
234 ~0u, // no _extensions_
235 ~0u, // no _oneof_case_
236 ~0u, // no _weak_field_map_
237 ~0u, // no _inlined_string_donated_
238 ~0u, // no _split_
239 ~0u, // no sizeof(Split)
240 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.groups_sent_),
241 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.total_groups_sent_),
242 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_good_packets_),
243 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_good_bytes_),
244 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_dropped_packets_),
245 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_unicast_packets_),
246 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_multicast_packets_),
247 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_broadcast_packets_),
248 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_unknown_protocol_packets_),
249 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_xon_packets_),
250 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_xoff_packets_),
251 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_size_64_packets_),
252 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_size_65_to_127_packets_),
253 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_size_128_to_255_packets_),
254 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_size_256_to_511_packets_),
255 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_size_512_to_1023_packets_),
256 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_size_1024_to_1522_packets_),
257 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_size_1523_to_max_packets_),
258 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.rx_mac_short_pkt_dropped_),
259 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_good_packets_),
260 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_good_bytes_),
261 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_unicast_packets_),
262 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_multicast_packets_),
263 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_broadcast_packets_),
264 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_dropped_packets_),
265 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_link_down_dropped_),
266 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_xon_packets_),
267 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_xoff_packets_),
268 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_size_64_packets_),
269 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_size_65_to_127_packets_),
270 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_size_128_to_255_packets_),
271 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_size_256_to_511_packets_),
272 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_size_512_to_1023_packets_),
273 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_size_1024_to_1522_packets_),
274 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsInfo, _impl_.tx_size_1523_to_max_packets_),
275 ~0u, // no _has_bits_
276 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _internal_metadata_),
277 ~0u, // no _extensions_
278 ~0u, // no _oneof_case_
279 ~0u, // no _weak_field_map_
280 ~0u, // no _inlined_string_donated_
281 ~0u, // no _split_
282 ~0u, // no sizeof(Split)
283 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_missed_errors_),
284 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_errors_),
285 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_error_bytes_),
286 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_mbuf_allocation_errors_),
287 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_crc_errors_),
288 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_illegal_byte_errors_),
289 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_jabber_errors_),
290 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.mac_local_errors_),
291 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.mac_remote_errors_),
292 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_len_errors_),
293 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_undersized_errors_),
294 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_oversize_errors_),
295 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.rx_fragmented_errors_),
296 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::EthXStatsErrors, _impl_.tx_errors_),
297 ~0u, // no _has_bits_
298 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::RTEWorkerInfo, _internal_metadata_),
299 ~0u, // no _extensions_
300 ~0u, // no _oneof_case_
301 ~0u, // no _weak_field_map_
302 ~0u, // no _inlined_string_donated_
303 ~0u, // no _split_
304 ~0u, // no sizeof(Split)
305 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::RTEWorkerInfo, _impl_.num_unhandled_non_ipv4_),
306 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::RTEWorkerInfo, _impl_.num_unhandled_non_udp_),
307 PROTOBUF_FIELD_OFFSET(::dunedaq::dpdklibs::opmon::RTEWorkerInfo, _impl_.num_unhandled_non_jumbo_udp_),
308};
309
310static const ::_pbi::MigrationSchema
311 schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
312 {0, -1, -1, sizeof(::dunedaq::dpdklibs::opmon::EthStats)},
313 {16, -1, -1, sizeof(::dunedaq::dpdklibs::opmon::QueueInfo)},
314 {28, -1, -1, sizeof(::dunedaq::dpdklibs::opmon::QueueEthXStats)},
315 {39, -1, -1, sizeof(::dunedaq::dpdklibs::opmon::EthXStatsInfo)},
317 {104, -1, -1, sizeof(::dunedaq::dpdklibs::opmon::RTEWorkerInfo)},
318};
319
328const char descriptor_table_protodef_dpdklibs_2fopmon_2fIfaceWrapper_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
329 "\n!dpdklibs/opmon/IfaceWrapper.proto\022\026dun"
330 "edaq.dpdklibs.opmon\"\224\001\n\010EthStats\022\020\n\010ipac"
331 "kets\030\001 \001(\004\022\020\n\010opackets\030\002 \001(\004\022\016\n\006ibytes\030\n"
332 " \001(\004\022\016\n\006obytes\030\013 \001(\004\022\017\n\007imissed\030\024 \001(\004\022\017\n"
333 "\007ierrors\030\025 \001(\004\022\017\n\007oerrors\030\026 \001(\004\022\021\n\trx_no"
334 "mbuf\030\036 \001(\004\"l\n\tQueueInfo\022\030\n\020packets_recei"
335 "ved\030\001 \001(\004\022\026\n\016bytes_received\030\002 \001(\004\022\025\n\rful"
336 "l_rx_burst\030\003 \001(\004\022\026\n\016max_burst_size\030\004 \001(\r"
337 "\"@\n\016QueueEthXStats\022\017\n\007packets\030\001 \001(\004\022\r\n\005b"
338 "ytes\030\002 \001(\004\022\016\n\006errors\030\003 \001(\004\"\303\010\n\rEthXStats"
339 "Info\022\023\n\013groups_sent\030\001 \001(\004\022\031\n\021total_group"
340 "s_sent\030\002 \001(\004\022\027\n\017rx_good_packets\030\003 \001(\004\022\025\n"
341 "\rrx_good_bytes\030\004 \001(\004\022\032\n\022rx_dropped_packe"
342 "ts\030\005 \001(\004\022\032\n\022rx_unicast_packets\030\013 \001(\004\022\034\n\024"
343 "rx_multicast_packets\030\014 \001(\004\022\034\n\024rx_broadca"
344 "st_packets\030\r \001(\004\022#\n\033rx_unknown_protocol_"
345 "packets\030\016 \001(\004\022\026\n\016rx_xon_packets\030\017 \001(\004\022\027\n"
346 "\017rx_xoff_packets\030\020 \001(\004\022\032\n\022rx_size_64_pac"
347 "kets\0301 \001(\004\022!\n\031rx_size_65_to_127_packets\030"
348 "2 \001(\004\022\"\n\032rx_size_128_to_255_packets\0303 \001("
349 "\004\022\"\n\032rx_size_256_to_511_packets\0304 \001(\004\022#\n"
350 "\033rx_size_512_to_1023_packets\0305 \001(\004\022$\n\034rx"
351 "_size_1024_to_1522_packets\0306 \001(\004\022#\n\033rx_s"
352 "ize_1523_to_max_packets\0307 \001(\004\022 \n\030rx_mac_"
353 "short_pkt_dropped\030< \001(\004\022\027\n\017tx_good_packe"
354 "ts\030d \001(\004\022\025\n\rtx_good_bytes\030e \001(\004\022\032\n\022tx_un"
355 "icast_packets\030f \001(\004\022\034\n\024tx_multicast_pack"
356 "ets\030g \001(\004\022\034\n\024tx_broadcast_packets\030h \001(\004\022"
357 "\032\n\022tx_dropped_packets\030i \001(\004\022\034\n\024tx_link_d"
358 "own_dropped\030j \001(\004\022\026\n\016tx_xon_packets\030k \001("
359 "\004\022\027\n\017tx_xoff_packets\030l \001(\004\022\033\n\022tx_size_64"
360 "_packets\030\225\001 \001(\004\022\"\n\031tx_size_65_to_127_pac"
361 "kets\030\226\001 \001(\004\022#\n\032tx_size_128_to_255_packet"
362 "s\030\227\001 \001(\004\022#\n\032tx_size_256_to_511_packets\030\230"
363 "\001 \001(\004\022$\n\033tx_size_512_to_1023_packets\030\231\001 "
364 "\001(\004\022%\n\034tx_size_1024_to_1522_packets\030\232\001 \001"
365 "(\004\022$\n\033tx_size_1523_to_max_packets\030\233\001 \001(\004"
366 "\"\201\003\n\017EthXStatsErrors\022\030\n\020rx_missed_errors"
367 "\030\001 \001(\004\022\021\n\trx_errors\030\002 \001(\004\022\026\n\016rx_error_by"
368 "tes\030\003 \001(\004\022!\n\031rx_mbuf_allocation_errors\030\004"
369 " \001(\004\022\025\n\rrx_crc_errors\030\005 \001(\004\022\036\n\026rx_illega"
370 "l_byte_errors\030\006 \001(\004\022\030\n\020rx_jabber_errors\030"
371 "\007 \001(\004\022\030\n\020mac_local_errors\030\024 \001(\004\022\031\n\021mac_r"
372 "emote_errors\030\025 \001(\004\022\025\n\rrx_len_errors\030\026 \001("
373 "\004\022\034\n\024rx_undersized_errors\030\027 \001(\004\022\032\n\022rx_ov"
374 "ersize_errors\030\030 \001(\004\022\034\n\024rx_fragmented_err"
375 "ors\030\031 \001(\004\022\021\n\ttx_errors\030d \001(\004\"s\n\rRTEWorke"
376 "rInfo\022\036\n\026num_unhandled_non_ipv4\030\001 \001(\r\022\035\n"
377 "\025num_unhandled_non_udp\030\002 \001(\r\022#\n\033num_unha"
378 "ndled_non_jumbo_udp\030\003 \001(\rb\006proto3"
379};
398
399// This function exists to be marked as weak.
400// It can significantly speed up compilation by breaking up LLVM's SCC
401// in the .pb.cc translation units. Large translation units see a
402// reduction of more than 35% of walltime for optimized builds. Without
403// the weak attribute all the messages in the file, including all the
404// vtables and everything they use become part of the same SCC through
405// a cycle like:
406// GetMetadata -> descriptor table -> default instances ->
407// vtables -> GetMetadata
408// By adding a weak function here we break the connection from the
409// individual vtables back into the descriptor table.
413// Force running AddDescriptors() at dynamic initialization time.
414PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
415static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_dpdklibs_2fopmon_2fIfaceWrapper_2eproto(&descriptor_table_dpdklibs_2fopmon_2fIfaceWrapper_2eproto);
416namespace dunedaq {
417namespace dpdklibs {
418namespace opmon {
419// ===================================================================
420
422 public:
423};
424
425EthStats::EthStats(::google::protobuf::Arena* arena)
426 : ::google::protobuf::Message(arena) {
427 SharedCtor(arena);
428 // @@protoc_insertion_point(arena_constructor:dunedaq.dpdklibs.opmon.EthStats)
429}
431 : ::google::protobuf::Message(), _impl_(from._impl_) {
432 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
433 from._internal_metadata_);
434 // @@protoc_insertion_point(copy_constructor:dunedaq.dpdklibs.opmon.EthStats)
435}
436inline void EthStats::SharedCtor(::_pb::Arena* arena) {
437 (void)arena;
438 new (&_impl_) Impl_{
439 decltype(_impl_.ipackets_){::uint64_t{0u}},
440 decltype(_impl_.opackets_){::uint64_t{0u}},
441 decltype(_impl_.ibytes_){::uint64_t{0u}},
442 decltype(_impl_.obytes_){::uint64_t{0u}},
443 decltype(_impl_.imissed_){::uint64_t{0u}},
444 decltype(_impl_.ierrors_){::uint64_t{0u}},
445 decltype(_impl_.oerrors_){::uint64_t{0u}},
446 decltype(_impl_.rx_nombuf_){::uint64_t{0u}},
447 /*decltype(_impl_._cached_size_)*/ {},
448 };
449}
451 // @@protoc_insertion_point(destructor:dunedaq.dpdklibs.opmon.EthStats)
452 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
453 SharedDtor();
454}
455inline void EthStats::SharedDtor() {
456 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
457}
460}
461
462PROTOBUF_NOINLINE void EthStats::Clear() {
463// @@protoc_insertion_point(message_clear_start:dunedaq.dpdklibs.opmon.EthStats)
464 ::uint32_t cached_has_bits = 0;
465 // Prevent compiler warnings about cached_has_bits being unused
466 (void) cached_has_bits;
467
468 ::memset(&_impl_.ipackets_, 0, static_cast<::size_t>(
469 reinterpret_cast<char*>(&_impl_.rx_nombuf_) -
470 reinterpret_cast<char*>(&_impl_.ipackets_)) + sizeof(_impl_.rx_nombuf_));
471 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
472}
473
475 const char* ptr, ::_pbi::ParseContext* ctx) {
476 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
477 return ptr;
478}
479
480
481PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
482const ::_pbi::TcParseTable<4, 8, 0, 0, 2> EthStats::_table_ = {
483 {
484 0, // no _has_bits_
485 0, // no _extensions_
486 30, 120, // max_field_number, fast_idx_mask
487 offsetof(decltype(_table_), field_lookup_table),
488 3754424828, // skipmap
489 offsetof(decltype(_table_), field_entries),
490 8, // num_field_entries
491 0, // num_aux_entries
492 offsetof(decltype(_table_), field_names), // no aux_entries
494 ::_pbi::TcParser::GenericFallback, // fallback
495 }, {{
496 {::_pbi::TcParser::MiniParse, {}},
497 // uint64 ipackets = 1;
498 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthStats, _impl_.ipackets_), 63>(),
499 {8, 63, 0, PROTOBUF_FIELD_OFFSET(EthStats, _impl_.ipackets_)}},
500 // uint64 opackets = 2;
501 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthStats, _impl_.opackets_), 63>(),
502 {16, 63, 0, PROTOBUF_FIELD_OFFSET(EthStats, _impl_.opackets_)}},
503 {::_pbi::TcParser::MiniParse, {}},
504 // uint64 imissed = 20;
505 {::_pbi::TcParser::FastV64S2,
506 {416, 63, 0, PROTOBUF_FIELD_OFFSET(EthStats, _impl_.imissed_)}},
507 // uint64 ierrors = 21;
508 {::_pbi::TcParser::FastV64S2,
509 {424, 63, 0, PROTOBUF_FIELD_OFFSET(EthStats, _impl_.ierrors_)}},
510 // uint64 oerrors = 22;
511 {::_pbi::TcParser::FastV64S2,
512 {432, 63, 0, PROTOBUF_FIELD_OFFSET(EthStats, _impl_.oerrors_)}},
513 {::_pbi::TcParser::MiniParse, {}},
514 {::_pbi::TcParser::MiniParse, {}},
515 {::_pbi::TcParser::MiniParse, {}},
516 // uint64 ibytes = 10;
517 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthStats, _impl_.ibytes_), 63>(),
518 {80, 63, 0, PROTOBUF_FIELD_OFFSET(EthStats, _impl_.ibytes_)}},
519 // uint64 obytes = 11;
520 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthStats, _impl_.obytes_), 63>(),
521 {88, 63, 0, PROTOBUF_FIELD_OFFSET(EthStats, _impl_.obytes_)}},
522 {::_pbi::TcParser::MiniParse, {}},
523 {::_pbi::TcParser::MiniParse, {}},
524 // uint64 rx_nombuf = 30;
525 {::_pbi::TcParser::FastV64S2,
526 {496, 63, 0, PROTOBUF_FIELD_OFFSET(EthStats, _impl_.rx_nombuf_)}},
527 {::_pbi::TcParser::MiniParse, {}},
528 }}, {{
529 65535, 65535
530 }}, {{
531 // uint64 ipackets = 1;
532 {PROTOBUF_FIELD_OFFSET(EthStats, _impl_.ipackets_), 0, 0,
533 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
534 // uint64 opackets = 2;
535 {PROTOBUF_FIELD_OFFSET(EthStats, _impl_.opackets_), 0, 0,
536 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
537 // uint64 ibytes = 10;
538 {PROTOBUF_FIELD_OFFSET(EthStats, _impl_.ibytes_), 0, 0,
539 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
540 // uint64 obytes = 11;
541 {PROTOBUF_FIELD_OFFSET(EthStats, _impl_.obytes_), 0, 0,
542 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
543 // uint64 imissed = 20;
544 {PROTOBUF_FIELD_OFFSET(EthStats, _impl_.imissed_), 0, 0,
545 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
546 // uint64 ierrors = 21;
547 {PROTOBUF_FIELD_OFFSET(EthStats, _impl_.ierrors_), 0, 0,
548 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
549 // uint64 oerrors = 22;
550 {PROTOBUF_FIELD_OFFSET(EthStats, _impl_.oerrors_), 0, 0,
551 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
552 // uint64 rx_nombuf = 30;
553 {PROTOBUF_FIELD_OFFSET(EthStats, _impl_.rx_nombuf_), 0, 0,
554 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
555 }},
556 // no aux_entries
557 {{
558 }},
559};
560
562 ::uint8_t* target,
563 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
564 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dpdklibs.opmon.EthStats)
565 ::uint32_t cached_has_bits = 0;
566 (void)cached_has_bits;
567
568 // uint64 ipackets = 1;
569 if (this->_internal_ipackets() != 0) {
570 target = stream->EnsureSpace(target);
571 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
572 1, this->_internal_ipackets(), target);
573 }
574
575 // uint64 opackets = 2;
576 if (this->_internal_opackets() != 0) {
577 target = stream->EnsureSpace(target);
578 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
579 2, this->_internal_opackets(), target);
580 }
581
582 // uint64 ibytes = 10;
583 if (this->_internal_ibytes() != 0) {
584 target = stream->EnsureSpace(target);
585 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
586 10, this->_internal_ibytes(), target);
587 }
588
589 // uint64 obytes = 11;
590 if (this->_internal_obytes() != 0) {
591 target = stream->EnsureSpace(target);
592 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
593 11, this->_internal_obytes(), target);
594 }
595
596 // uint64 imissed = 20;
597 if (this->_internal_imissed() != 0) {
598 target = stream->EnsureSpace(target);
599 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
600 20, this->_internal_imissed(), target);
601 }
602
603 // uint64 ierrors = 21;
604 if (this->_internal_ierrors() != 0) {
605 target = stream->EnsureSpace(target);
606 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
607 21, this->_internal_ierrors(), target);
608 }
609
610 // uint64 oerrors = 22;
611 if (this->_internal_oerrors() != 0) {
612 target = stream->EnsureSpace(target);
613 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
614 22, this->_internal_oerrors(), target);
615 }
616
617 // uint64 rx_nombuf = 30;
618 if (this->_internal_rx_nombuf() != 0) {
619 target = stream->EnsureSpace(target);
620 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
621 30, this->_internal_rx_nombuf(), target);
622 }
623
624 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
625 target =
626 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
627 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
628 }
629 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dpdklibs.opmon.EthStats)
630 return target;
631}
632
633::size_t EthStats::ByteSizeLong() const {
634// @@protoc_insertion_point(message_byte_size_start:dunedaq.dpdklibs.opmon.EthStats)
635 ::size_t total_size = 0;
636
637 ::uint32_t cached_has_bits = 0;
638 // Prevent compiler warnings about cached_has_bits being unused
639 (void) cached_has_bits;
640
641 // uint64 ipackets = 1;
642 if (this->_internal_ipackets() != 0) {
643 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
644 this->_internal_ipackets());
645 }
646
647 // uint64 opackets = 2;
648 if (this->_internal_opackets() != 0) {
649 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
650 this->_internal_opackets());
651 }
652
653 // uint64 ibytes = 10;
654 if (this->_internal_ibytes() != 0) {
655 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
656 this->_internal_ibytes());
657 }
658
659 // uint64 obytes = 11;
660 if (this->_internal_obytes() != 0) {
661 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
662 this->_internal_obytes());
663 }
664
665 // uint64 imissed = 20;
666 if (this->_internal_imissed() != 0) {
667 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
668 this->_internal_imissed());
669 }
670
671 // uint64 ierrors = 21;
672 if (this->_internal_ierrors() != 0) {
673 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
674 this->_internal_ierrors());
675 }
676
677 // uint64 oerrors = 22;
678 if (this->_internal_oerrors() != 0) {
679 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
680 this->_internal_oerrors());
681 }
682
683 // uint64 rx_nombuf = 30;
684 if (this->_internal_rx_nombuf() != 0) {
685 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
686 this->_internal_rx_nombuf());
687 }
688
689 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
690}
691
692const ::google::protobuf::Message::ClassData EthStats::_class_data_ = {
693 ::google::protobuf::Message::CopyWithSourceCheck,
695};
696const ::google::protobuf::Message::ClassData*EthStats::GetClassData() const { return &_class_data_; }
697
698
699void EthStats::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
700 auto* const _this = static_cast<EthStats*>(&to_msg);
701 auto& from = static_cast<const EthStats&>(from_msg);
702 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dpdklibs.opmon.EthStats)
703 ABSL_DCHECK_NE(&from, _this);
704 ::uint32_t cached_has_bits = 0;
705 (void) cached_has_bits;
706
707 if (from._internal_ipackets() != 0) {
708 _this->_internal_set_ipackets(from._internal_ipackets());
709 }
710 if (from._internal_opackets() != 0) {
711 _this->_internal_set_opackets(from._internal_opackets());
712 }
713 if (from._internal_ibytes() != 0) {
714 _this->_internal_set_ibytes(from._internal_ibytes());
715 }
716 if (from._internal_obytes() != 0) {
717 _this->_internal_set_obytes(from._internal_obytes());
718 }
719 if (from._internal_imissed() != 0) {
720 _this->_internal_set_imissed(from._internal_imissed());
721 }
722 if (from._internal_ierrors() != 0) {
723 _this->_internal_set_ierrors(from._internal_ierrors());
724 }
725 if (from._internal_oerrors() != 0) {
726 _this->_internal_set_oerrors(from._internal_oerrors());
727 }
728 if (from._internal_rx_nombuf() != 0) {
729 _this->_internal_set_rx_nombuf(from._internal_rx_nombuf());
730 }
731 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
732}
733
734void EthStats::CopyFrom(const EthStats& from) {
735// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dpdklibs.opmon.EthStats)
736 if (&from == this) return;
737 Clear();
738 MergeFrom(from);
739}
740
741PROTOBUF_NOINLINE bool EthStats::IsInitialized() const {
742 return true;
743}
744
746 using std::swap;
747 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
748 ::google::protobuf::internal::memswap<
749 PROTOBUF_FIELD_OFFSET(EthStats, _impl_.rx_nombuf_)
751 - PROTOBUF_FIELD_OFFSET(EthStats, _impl_.ipackets_)>(
752 reinterpret_cast<char*>(&_impl_.ipackets_),
753 reinterpret_cast<char*>(&other->_impl_.ipackets_));
754}
755
761// ===================================================================
762
764 public:
765};
766
767QueueInfo::QueueInfo(::google::protobuf::Arena* arena)
768 : ::google::protobuf::Message(arena) {
769 SharedCtor(arena);
770 // @@protoc_insertion_point(arena_constructor:dunedaq.dpdklibs.opmon.QueueInfo)
771}
773 : ::google::protobuf::Message(), _impl_(from._impl_) {
774 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
775 from._internal_metadata_);
776 // @@protoc_insertion_point(copy_constructor:dunedaq.dpdklibs.opmon.QueueInfo)
777}
778inline void QueueInfo::SharedCtor(::_pb::Arena* arena) {
779 (void)arena;
780 new (&_impl_) Impl_{
781 decltype(_impl_.packets_received_){::uint64_t{0u}},
782 decltype(_impl_.bytes_received_){::uint64_t{0u}},
783 decltype(_impl_.full_rx_burst_){::uint64_t{0u}},
784 decltype(_impl_.max_burst_size_){0u},
785 /*decltype(_impl_._cached_size_)*/ {},
786 };
787}
789 // @@protoc_insertion_point(destructor:dunedaq.dpdklibs.opmon.QueueInfo)
790 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
791 SharedDtor();
792}
794 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
795}
798}
799
800PROTOBUF_NOINLINE void QueueInfo::Clear() {
801// @@protoc_insertion_point(message_clear_start:dunedaq.dpdklibs.opmon.QueueInfo)
802 ::uint32_t cached_has_bits = 0;
803 // Prevent compiler warnings about cached_has_bits being unused
804 (void) cached_has_bits;
805
806 ::memset(&_impl_.packets_received_, 0, static_cast<::size_t>(
807 reinterpret_cast<char*>(&_impl_.max_burst_size_) -
808 reinterpret_cast<char*>(&_impl_.packets_received_)) + sizeof(_impl_.max_burst_size_));
809 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
810}
811
812const char* QueueInfo::_InternalParse(
813 const char* ptr, ::_pbi::ParseContext* ctx) {
814 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
815 return ptr;
816}
817
818
819PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
820const ::_pbi::TcParseTable<2, 4, 0, 0, 2> QueueInfo::_table_ = {
821 {
822 0, // no _has_bits_
823 0, // no _extensions_
824 4, 24, // max_field_number, fast_idx_mask
825 offsetof(decltype(_table_), field_lookup_table),
826 4294967280, // skipmap
827 offsetof(decltype(_table_), field_entries),
828 4, // num_field_entries
829 0, // num_aux_entries
830 offsetof(decltype(_table_), field_names), // no aux_entries
832 ::_pbi::TcParser::GenericFallback, // fallback
833 }, {{
834 // uint32 max_burst_size = 4;
835 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(QueueInfo, _impl_.max_burst_size_), 63>(),
836 {32, 63, 0, PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.max_burst_size_)}},
837 // uint64 packets_received = 1;
838 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QueueInfo, _impl_.packets_received_), 63>(),
839 {8, 63, 0, PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.packets_received_)}},
840 // uint64 bytes_received = 2;
841 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QueueInfo, _impl_.bytes_received_), 63>(),
842 {16, 63, 0, PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.bytes_received_)}},
843 // uint64 full_rx_burst = 3;
844 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QueueInfo, _impl_.full_rx_burst_), 63>(),
845 {24, 63, 0, PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.full_rx_burst_)}},
846 }}, {{
847 65535, 65535
848 }}, {{
849 // uint64 packets_received = 1;
850 {PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.packets_received_), 0, 0,
851 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
852 // uint64 bytes_received = 2;
853 {PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.bytes_received_), 0, 0,
854 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
855 // uint64 full_rx_burst = 3;
856 {PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.full_rx_burst_), 0, 0,
857 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
858 // uint32 max_burst_size = 4;
859 {PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.max_burst_size_), 0, 0,
860 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
861 }},
862 // no aux_entries
863 {{
864 }},
865};
866
868 ::uint8_t* target,
869 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
870 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dpdklibs.opmon.QueueInfo)
871 ::uint32_t cached_has_bits = 0;
872 (void)cached_has_bits;
873
874 // uint64 packets_received = 1;
875 if (this->_internal_packets_received() != 0) {
876 target = stream->EnsureSpace(target);
877 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
878 1, this->_internal_packets_received(), target);
879 }
880
881 // uint64 bytes_received = 2;
882 if (this->_internal_bytes_received() != 0) {
883 target = stream->EnsureSpace(target);
884 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
885 2, this->_internal_bytes_received(), target);
886 }
887
888 // uint64 full_rx_burst = 3;
889 if (this->_internal_full_rx_burst() != 0) {
890 target = stream->EnsureSpace(target);
891 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
892 3, this->_internal_full_rx_burst(), target);
893 }
894
895 // uint32 max_burst_size = 4;
896 if (this->_internal_max_burst_size() != 0) {
897 target = stream->EnsureSpace(target);
898 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
899 4, this->_internal_max_burst_size(), target);
900 }
901
902 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
903 target =
904 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
905 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
906 }
907 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dpdklibs.opmon.QueueInfo)
908 return target;
909}
910
911::size_t QueueInfo::ByteSizeLong() const {
912// @@protoc_insertion_point(message_byte_size_start:dunedaq.dpdklibs.opmon.QueueInfo)
913 ::size_t total_size = 0;
914
915 ::uint32_t cached_has_bits = 0;
916 // Prevent compiler warnings about cached_has_bits being unused
917 (void) cached_has_bits;
918
919 // uint64 packets_received = 1;
920 if (this->_internal_packets_received() != 0) {
921 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
923 }
924
925 // uint64 bytes_received = 2;
926 if (this->_internal_bytes_received() != 0) {
927 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
929 }
930
931 // uint64 full_rx_burst = 3;
932 if (this->_internal_full_rx_burst() != 0) {
933 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
935 }
936
937 // uint32 max_burst_size = 4;
938 if (this->_internal_max_burst_size() != 0) {
939 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
941 }
942
943 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
944}
945
946const ::google::protobuf::Message::ClassData QueueInfo::_class_data_ = {
947 ::google::protobuf::Message::CopyWithSourceCheck,
949};
950const ::google::protobuf::Message::ClassData*QueueInfo::GetClassData() const { return &_class_data_; }
951
952
953void QueueInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
954 auto* const _this = static_cast<QueueInfo*>(&to_msg);
955 auto& from = static_cast<const QueueInfo&>(from_msg);
956 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dpdklibs.opmon.QueueInfo)
957 ABSL_DCHECK_NE(&from, _this);
958 ::uint32_t cached_has_bits = 0;
959 (void) cached_has_bits;
960
961 if (from._internal_packets_received() != 0) {
962 _this->_internal_set_packets_received(from._internal_packets_received());
963 }
964 if (from._internal_bytes_received() != 0) {
965 _this->_internal_set_bytes_received(from._internal_bytes_received());
966 }
967 if (from._internal_full_rx_burst() != 0) {
968 _this->_internal_set_full_rx_burst(from._internal_full_rx_burst());
969 }
970 if (from._internal_max_burst_size() != 0) {
971 _this->_internal_set_max_burst_size(from._internal_max_burst_size());
972 }
973 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
974}
975
977// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dpdklibs.opmon.QueueInfo)
978 if (&from == this) return;
979 Clear();
980 MergeFrom(from);
981}
982
983PROTOBUF_NOINLINE bool QueueInfo::IsInitialized() const {
984 return true;
985}
986
988 using std::swap;
989 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
990 ::google::protobuf::internal::memswap<
991 PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.max_burst_size_)
993 - PROTOBUF_FIELD_OFFSET(QueueInfo, _impl_.packets_received_)>(
994 reinterpret_cast<char*>(&_impl_.packets_received_),
995 reinterpret_cast<char*>(&other->_impl_.packets_received_));
996}
997
1003// ===================================================================
1004
1006 public:
1007};
1008
1009QueueEthXStats::QueueEthXStats(::google::protobuf::Arena* arena)
1010 : ::google::protobuf::Message(arena) {
1011 SharedCtor(arena);
1012 // @@protoc_insertion_point(arena_constructor:dunedaq.dpdklibs.opmon.QueueEthXStats)
1013}
1015 : ::google::protobuf::Message(), _impl_(from._impl_) {
1016 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1017 from._internal_metadata_);
1018 // @@protoc_insertion_point(copy_constructor:dunedaq.dpdklibs.opmon.QueueEthXStats)
1019}
1020inline void QueueEthXStats::SharedCtor(::_pb::Arena* arena) {
1021 (void)arena;
1022 new (&_impl_) Impl_{
1023 decltype(_impl_.packets_){::uint64_t{0u}},
1024 decltype(_impl_.bytes_){::uint64_t{0u}},
1025 decltype(_impl_.errors_){::uint64_t{0u}},
1026 /*decltype(_impl_._cached_size_)*/ {},
1027 };
1028}
1030 // @@protoc_insertion_point(destructor:dunedaq.dpdklibs.opmon.QueueEthXStats)
1031 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1032 SharedDtor();
1033}
1035 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1036}
1040
1041PROTOBUF_NOINLINE void QueueEthXStats::Clear() {
1042// @@protoc_insertion_point(message_clear_start:dunedaq.dpdklibs.opmon.QueueEthXStats)
1043 ::uint32_t cached_has_bits = 0;
1044 // Prevent compiler warnings about cached_has_bits being unused
1045 (void) cached_has_bits;
1046
1047 ::memset(&_impl_.packets_, 0, static_cast<::size_t>(
1048 reinterpret_cast<char*>(&_impl_.errors_) -
1049 reinterpret_cast<char*>(&_impl_.packets_)) + sizeof(_impl_.errors_));
1050 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1051}
1052
1054 const char* ptr, ::_pbi::ParseContext* ctx) {
1055 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1056 return ptr;
1057}
1058
1059
1060PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1061const ::_pbi::TcParseTable<2, 3, 0, 0, 2> QueueEthXStats::_table_ = {
1062 {
1063 0, // no _has_bits_
1064 0, // no _extensions_
1065 3, 24, // max_field_number, fast_idx_mask
1066 offsetof(decltype(_table_), field_lookup_table),
1067 4294967288, // skipmap
1068 offsetof(decltype(_table_), field_entries),
1069 3, // num_field_entries
1070 0, // num_aux_entries
1071 offsetof(decltype(_table_), field_names), // no aux_entries
1073 ::_pbi::TcParser::GenericFallback, // fallback
1074 }, {{
1075 {::_pbi::TcParser::MiniParse, {}},
1076 // uint64 packets = 1;
1077 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QueueEthXStats, _impl_.packets_), 63>(),
1078 {8, 63, 0, PROTOBUF_FIELD_OFFSET(QueueEthXStats, _impl_.packets_)}},
1079 // uint64 bytes = 2;
1080 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QueueEthXStats, _impl_.bytes_), 63>(),
1081 {16, 63, 0, PROTOBUF_FIELD_OFFSET(QueueEthXStats, _impl_.bytes_)}},
1082 // uint64 errors = 3;
1083 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QueueEthXStats, _impl_.errors_), 63>(),
1084 {24, 63, 0, PROTOBUF_FIELD_OFFSET(QueueEthXStats, _impl_.errors_)}},
1085 }}, {{
1086 65535, 65535
1087 }}, {{
1088 // uint64 packets = 1;
1089 {PROTOBUF_FIELD_OFFSET(QueueEthXStats, _impl_.packets_), 0, 0,
1090 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1091 // uint64 bytes = 2;
1092 {PROTOBUF_FIELD_OFFSET(QueueEthXStats, _impl_.bytes_), 0, 0,
1093 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1094 // uint64 errors = 3;
1095 {PROTOBUF_FIELD_OFFSET(QueueEthXStats, _impl_.errors_), 0, 0,
1096 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1097 }},
1098 // no aux_entries
1099 {{
1100 }},
1101};
1102
1104 ::uint8_t* target,
1105 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1106 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dpdklibs.opmon.QueueEthXStats)
1107 ::uint32_t cached_has_bits = 0;
1108 (void)cached_has_bits;
1109
1110 // uint64 packets = 1;
1111 if (this->_internal_packets() != 0) {
1112 target = stream->EnsureSpace(target);
1113 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1114 1, this->_internal_packets(), target);
1115 }
1116
1117 // uint64 bytes = 2;
1118 if (this->_internal_bytes() != 0) {
1119 target = stream->EnsureSpace(target);
1120 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1121 2, this->_internal_bytes(), target);
1122 }
1123
1124 // uint64 errors = 3;
1125 if (this->_internal_errors() != 0) {
1126 target = stream->EnsureSpace(target);
1127 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1128 3, this->_internal_errors(), target);
1129 }
1130
1131 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1132 target =
1133 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1134 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1135 }
1136 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dpdklibs.opmon.QueueEthXStats)
1137 return target;
1138}
1139
1141// @@protoc_insertion_point(message_byte_size_start:dunedaq.dpdklibs.opmon.QueueEthXStats)
1142 ::size_t total_size = 0;
1143
1144 ::uint32_t cached_has_bits = 0;
1145 // Prevent compiler warnings about cached_has_bits being unused
1146 (void) cached_has_bits;
1147
1148 // uint64 packets = 1;
1149 if (this->_internal_packets() != 0) {
1150 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1151 this->_internal_packets());
1152 }
1153
1154 // uint64 bytes = 2;
1155 if (this->_internal_bytes() != 0) {
1156 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1157 this->_internal_bytes());
1158 }
1159
1160 // uint64 errors = 3;
1161 if (this->_internal_errors() != 0) {
1162 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1163 this->_internal_errors());
1164 }
1165
1166 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1167}
1168
1169const ::google::protobuf::Message::ClassData QueueEthXStats::_class_data_ = {
1170 ::google::protobuf::Message::CopyWithSourceCheck,
1172};
1173const ::google::protobuf::Message::ClassData*QueueEthXStats::GetClassData() const { return &_class_data_; }
1174
1175
1176void QueueEthXStats::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
1177 auto* const _this = static_cast<QueueEthXStats*>(&to_msg);
1178 auto& from = static_cast<const QueueEthXStats&>(from_msg);
1179 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dpdklibs.opmon.QueueEthXStats)
1180 ABSL_DCHECK_NE(&from, _this);
1181 ::uint32_t cached_has_bits = 0;
1182 (void) cached_has_bits;
1183
1184 if (from._internal_packets() != 0) {
1185 _this->_internal_set_packets(from._internal_packets());
1186 }
1187 if (from._internal_bytes() != 0) {
1188 _this->_internal_set_bytes(from._internal_bytes());
1189 }
1190 if (from._internal_errors() != 0) {
1191 _this->_internal_set_errors(from._internal_errors());
1192 }
1193 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1194}
1195
1197// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dpdklibs.opmon.QueueEthXStats)
1198 if (&from == this) return;
1199 Clear();
1200 MergeFrom(from);
1201}
1202
1203PROTOBUF_NOINLINE bool QueueEthXStats::IsInitialized() const {
1204 return true;
1205}
1206
1208 using std::swap;
1209 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1210 ::google::protobuf::internal::memswap<
1211 PROTOBUF_FIELD_OFFSET(QueueEthXStats, _impl_.errors_)
1213 - PROTOBUF_FIELD_OFFSET(QueueEthXStats, _impl_.packets_)>(
1214 reinterpret_cast<char*>(&_impl_.packets_),
1215 reinterpret_cast<char*>(&other->_impl_.packets_));
1216}
1217
1223// ===================================================================
1224
1226 public:
1227};
1228
1229EthXStatsInfo::EthXStatsInfo(::google::protobuf::Arena* arena)
1230 : ::google::protobuf::Message(arena) {
1231 SharedCtor(arena);
1232 // @@protoc_insertion_point(arena_constructor:dunedaq.dpdklibs.opmon.EthXStatsInfo)
1233}
1235 : ::google::protobuf::Message(), _impl_(from._impl_) {
1236 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1237 from._internal_metadata_);
1238 // @@protoc_insertion_point(copy_constructor:dunedaq.dpdklibs.opmon.EthXStatsInfo)
1239}
1240inline void EthXStatsInfo::SharedCtor(::_pb::Arena* arena) {
1241 (void)arena;
1242 new (&_impl_) Impl_{
1243 decltype(_impl_.groups_sent_){::uint64_t{0u}},
1244 decltype(_impl_.total_groups_sent_){::uint64_t{0u}},
1245 decltype(_impl_.rx_good_packets_){::uint64_t{0u}},
1246 decltype(_impl_.rx_good_bytes_){::uint64_t{0u}},
1247 decltype(_impl_.rx_dropped_packets_){::uint64_t{0u}},
1248 decltype(_impl_.rx_unicast_packets_){::uint64_t{0u}},
1249 decltype(_impl_.rx_multicast_packets_){::uint64_t{0u}},
1250 decltype(_impl_.rx_broadcast_packets_){::uint64_t{0u}},
1251 decltype(_impl_.rx_unknown_protocol_packets_){::uint64_t{0u}},
1252 decltype(_impl_.rx_xon_packets_){::uint64_t{0u}},
1253 decltype(_impl_.rx_xoff_packets_){::uint64_t{0u}},
1254 decltype(_impl_.rx_size_64_packets_){::uint64_t{0u}},
1255 decltype(_impl_.rx_size_65_to_127_packets_){::uint64_t{0u}},
1256 decltype(_impl_.rx_size_128_to_255_packets_){::uint64_t{0u}},
1257 decltype(_impl_.rx_size_256_to_511_packets_){::uint64_t{0u}},
1258 decltype(_impl_.rx_size_512_to_1023_packets_){::uint64_t{0u}},
1259 decltype(_impl_.rx_size_1024_to_1522_packets_){::uint64_t{0u}},
1260 decltype(_impl_.rx_size_1523_to_max_packets_){::uint64_t{0u}},
1261 decltype(_impl_.rx_mac_short_pkt_dropped_){::uint64_t{0u}},
1262 decltype(_impl_.tx_good_packets_){::uint64_t{0u}},
1263 decltype(_impl_.tx_good_bytes_){::uint64_t{0u}},
1264 decltype(_impl_.tx_unicast_packets_){::uint64_t{0u}},
1265 decltype(_impl_.tx_multicast_packets_){::uint64_t{0u}},
1266 decltype(_impl_.tx_broadcast_packets_){::uint64_t{0u}},
1267 decltype(_impl_.tx_dropped_packets_){::uint64_t{0u}},
1268 decltype(_impl_.tx_link_down_dropped_){::uint64_t{0u}},
1269 decltype(_impl_.tx_xon_packets_){::uint64_t{0u}},
1270 decltype(_impl_.tx_xoff_packets_){::uint64_t{0u}},
1271 decltype(_impl_.tx_size_64_packets_){::uint64_t{0u}},
1272 decltype(_impl_.tx_size_65_to_127_packets_){::uint64_t{0u}},
1273 decltype(_impl_.tx_size_128_to_255_packets_){::uint64_t{0u}},
1274 decltype(_impl_.tx_size_256_to_511_packets_){::uint64_t{0u}},
1275 decltype(_impl_.tx_size_512_to_1023_packets_){::uint64_t{0u}},
1276 decltype(_impl_.tx_size_1024_to_1522_packets_){::uint64_t{0u}},
1277 decltype(_impl_.tx_size_1523_to_max_packets_){::uint64_t{0u}},
1278 /*decltype(_impl_._cached_size_)*/ {},
1279 };
1280}
1282 // @@protoc_insertion_point(destructor:dunedaq.dpdklibs.opmon.EthXStatsInfo)
1283 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1284 SharedDtor();
1285}
1287 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1288}
1291}
1292
1293PROTOBUF_NOINLINE void EthXStatsInfo::Clear() {
1294// @@protoc_insertion_point(message_clear_start:dunedaq.dpdklibs.opmon.EthXStatsInfo)
1295 ::uint32_t cached_has_bits = 0;
1296 // Prevent compiler warnings about cached_has_bits being unused
1297 (void) cached_has_bits;
1298
1299 ::memset(&_impl_.groups_sent_, 0, static_cast<::size_t>(
1300 reinterpret_cast<char*>(&_impl_.tx_size_1523_to_max_packets_) -
1301 reinterpret_cast<char*>(&_impl_.groups_sent_)) + sizeof(_impl_.tx_size_1523_to_max_packets_));
1302 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1303}
1304
1306 const char* ptr, ::_pbi::ParseContext* ctx) {
1307 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1308 return ptr;
1309}
1310
1311
1312PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1313const ::_pbi::TcParseTable<5, 35, 0, 0, 19> EthXStatsInfo::_table_ = {
1314 {
1315 0, // no _has_bits_
1316 0, // no _extensions_
1317 155, 248, // max_field_number, fast_idx_mask
1318 offsetof(decltype(_table_), field_lookup_table),
1319 4294902752, // skipmap
1320 offsetof(decltype(_table_), field_entries),
1321 35, // num_field_entries
1322 0, // num_aux_entries
1323 offsetof(decltype(_table_), field_names), // no aux_entries
1325 ::_pbi::TcParser::GenericFallback, // fallback
1326 }, {{
1327 {::_pbi::TcParser::MiniParse, {}},
1328 // uint64 groups_sent = 1;
1329 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.groups_sent_), 63>(),
1330 {8, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.groups_sent_)}},
1331 // uint64 total_groups_sent = 2;
1332 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.total_groups_sent_), 63>(),
1333 {16, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.total_groups_sent_)}},
1334 // uint64 rx_good_packets = 3;
1335 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.rx_good_packets_), 63>(),
1336 {24, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_good_packets_)}},
1337 // uint64 rx_good_bytes = 4;
1338 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.rx_good_bytes_), 63>(),
1339 {32, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_good_bytes_)}},
1340 // uint64 rx_dropped_packets = 5;
1341 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.rx_dropped_packets_), 63>(),
1342 {40, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_dropped_packets_)}},
1343 {::_pbi::TcParser::MiniParse, {}},
1344 {::_pbi::TcParser::MiniParse, {}},
1345 {::_pbi::TcParser::MiniParse, {}},
1346 {::_pbi::TcParser::MiniParse, {}},
1347 {::_pbi::TcParser::MiniParse, {}},
1348 // uint64 rx_unicast_packets = 11;
1349 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.rx_unicast_packets_), 63>(),
1350 {88, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_unicast_packets_)}},
1351 // uint64 rx_multicast_packets = 12;
1352 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.rx_multicast_packets_), 63>(),
1353 {96, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_multicast_packets_)}},
1354 // uint64 rx_broadcast_packets = 13;
1355 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.rx_broadcast_packets_), 63>(),
1356 {104, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_broadcast_packets_)}},
1357 // uint64 rx_unknown_protocol_packets = 14;
1358 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.rx_unknown_protocol_packets_), 63>(),
1359 {112, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_unknown_protocol_packets_)}},
1360 // uint64 rx_xon_packets = 15;
1361 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsInfo, _impl_.rx_xon_packets_), 63>(),
1362 {120, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_xon_packets_)}},
1363 // uint64 rx_xoff_packets = 16;
1364 {::_pbi::TcParser::FastV64S2,
1365 {384, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_xoff_packets_)}},
1366 // uint64 rx_size_64_packets = 49;
1367 {::_pbi::TcParser::FastV64S2,
1368 {904, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_64_packets_)}},
1369 // uint64 rx_size_65_to_127_packets = 50;
1370 {::_pbi::TcParser::FastV64S2,
1371 {912, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_65_to_127_packets_)}},
1372 // uint64 rx_size_128_to_255_packets = 51;
1373 {::_pbi::TcParser::FastV64S2,
1374 {920, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_128_to_255_packets_)}},
1375 // uint64 rx_size_256_to_511_packets = 52;
1376 {::_pbi::TcParser::FastV64S2,
1377 {928, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_256_to_511_packets_)}},
1378 // uint64 rx_size_512_to_1023_packets = 53;
1379 {::_pbi::TcParser::FastV64S2,
1380 {936, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_512_to_1023_packets_)}},
1381 // uint64 rx_size_1024_to_1522_packets = 54;
1382 {::_pbi::TcParser::FastV64S2,
1383 {944, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_1024_to_1522_packets_)}},
1384 // uint64 rx_size_1523_to_max_packets = 55;
1385 {::_pbi::TcParser::FastV64S2,
1386 {952, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_1523_to_max_packets_)}},
1387 // uint64 tx_broadcast_packets = 104;
1388 {::_pbi::TcParser::FastV64S2,
1389 {1728, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_broadcast_packets_)}},
1390 // uint64 tx_dropped_packets = 105;
1391 {::_pbi::TcParser::FastV64S2,
1392 {1736, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_dropped_packets_)}},
1393 // uint64 tx_link_down_dropped = 106;
1394 {::_pbi::TcParser::FastV64S2,
1395 {1744, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_link_down_dropped_)}},
1396 // uint64 tx_xon_packets = 107;
1397 {::_pbi::TcParser::FastV64S2,
1398 {1752, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_xon_packets_)}},
1399 // uint64 rx_mac_short_pkt_dropped = 60;
1400 {::_pbi::TcParser::FastV64S2,
1401 {992, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_mac_short_pkt_dropped_)}},
1402 {::_pbi::TcParser::MiniParse, {}},
1403 {::_pbi::TcParser::MiniParse, {}},
1404 {::_pbi::TcParser::MiniParse, {}},
1405 }}, {{
1406 49, 0, 7,
1407 63360, 11, 65535, 19, 65535, 19, 61447, 19, 65535, 28, 65535, 28,
1408 63503, 28,
1409 65535, 65535
1410 }}, {{
1411 // uint64 groups_sent = 1;
1412 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.groups_sent_), 0, 0,
1413 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1414 // uint64 total_groups_sent = 2;
1415 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.total_groups_sent_), 0, 0,
1416 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1417 // uint64 rx_good_packets = 3;
1418 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_good_packets_), 0, 0,
1419 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1420 // uint64 rx_good_bytes = 4;
1421 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_good_bytes_), 0, 0,
1422 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1423 // uint64 rx_dropped_packets = 5;
1424 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_dropped_packets_), 0, 0,
1425 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1426 // uint64 rx_unicast_packets = 11;
1427 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_unicast_packets_), 0, 0,
1428 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1429 // uint64 rx_multicast_packets = 12;
1430 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_multicast_packets_), 0, 0,
1431 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1432 // uint64 rx_broadcast_packets = 13;
1433 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_broadcast_packets_), 0, 0,
1434 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1435 // uint64 rx_unknown_protocol_packets = 14;
1436 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_unknown_protocol_packets_), 0, 0,
1437 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1438 // uint64 rx_xon_packets = 15;
1439 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_xon_packets_), 0, 0,
1440 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1441 // uint64 rx_xoff_packets = 16;
1442 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_xoff_packets_), 0, 0,
1443 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1444 // uint64 rx_size_64_packets = 49;
1445 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_64_packets_), 0, 0,
1446 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1447 // uint64 rx_size_65_to_127_packets = 50;
1448 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_65_to_127_packets_), 0, 0,
1449 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1450 // uint64 rx_size_128_to_255_packets = 51;
1451 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_128_to_255_packets_), 0, 0,
1452 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1453 // uint64 rx_size_256_to_511_packets = 52;
1454 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_256_to_511_packets_), 0, 0,
1455 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1456 // uint64 rx_size_512_to_1023_packets = 53;
1457 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_512_to_1023_packets_), 0, 0,
1458 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1459 // uint64 rx_size_1024_to_1522_packets = 54;
1460 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_1024_to_1522_packets_), 0, 0,
1461 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1462 // uint64 rx_size_1523_to_max_packets = 55;
1463 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_size_1523_to_max_packets_), 0, 0,
1464 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1465 // uint64 rx_mac_short_pkt_dropped = 60;
1466 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.rx_mac_short_pkt_dropped_), 0, 0,
1467 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1468 // uint64 tx_good_packets = 100;
1469 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_good_packets_), 0, 0,
1470 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1471 // uint64 tx_good_bytes = 101;
1472 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_good_bytes_), 0, 0,
1473 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1474 // uint64 tx_unicast_packets = 102;
1475 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_unicast_packets_), 0, 0,
1476 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1477 // uint64 tx_multicast_packets = 103;
1478 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_multicast_packets_), 0, 0,
1479 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1480 // uint64 tx_broadcast_packets = 104;
1481 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_broadcast_packets_), 0, 0,
1482 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1483 // uint64 tx_dropped_packets = 105;
1484 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_dropped_packets_), 0, 0,
1485 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1486 // uint64 tx_link_down_dropped = 106;
1487 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_link_down_dropped_), 0, 0,
1488 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1489 // uint64 tx_xon_packets = 107;
1490 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_xon_packets_), 0, 0,
1491 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1492 // uint64 tx_xoff_packets = 108;
1493 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_xoff_packets_), 0, 0,
1494 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1495 // uint64 tx_size_64_packets = 149;
1496 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_size_64_packets_), 0, 0,
1497 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1498 // uint64 tx_size_65_to_127_packets = 150;
1499 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_size_65_to_127_packets_), 0, 0,
1500 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1501 // uint64 tx_size_128_to_255_packets = 151;
1502 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_size_128_to_255_packets_), 0, 0,
1503 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1504 // uint64 tx_size_256_to_511_packets = 152;
1505 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_size_256_to_511_packets_), 0, 0,
1506 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1507 // uint64 tx_size_512_to_1023_packets = 153;
1508 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_size_512_to_1023_packets_), 0, 0,
1509 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1510 // uint64 tx_size_1024_to_1522_packets = 154;
1511 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_size_1024_to_1522_packets_), 0, 0,
1512 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1513 // uint64 tx_size_1523_to_max_packets = 155;
1514 {PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_size_1523_to_max_packets_), 0, 0,
1515 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
1516 }},
1517 // no aux_entries
1518 {{
1519 }},
1520};
1521
1523 ::uint8_t* target,
1524 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1525 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dpdklibs.opmon.EthXStatsInfo)
1526 ::uint32_t cached_has_bits = 0;
1527 (void)cached_has_bits;
1528
1529 // uint64 groups_sent = 1;
1530 if (this->_internal_groups_sent() != 0) {
1531 target = stream->EnsureSpace(target);
1532 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1533 1, this->_internal_groups_sent(), target);
1534 }
1535
1536 // uint64 total_groups_sent = 2;
1537 if (this->_internal_total_groups_sent() != 0) {
1538 target = stream->EnsureSpace(target);
1539 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1540 2, this->_internal_total_groups_sent(), target);
1541 }
1542
1543 // uint64 rx_good_packets = 3;
1544 if (this->_internal_rx_good_packets() != 0) {
1545 target = stream->EnsureSpace(target);
1546 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1547 3, this->_internal_rx_good_packets(), target);
1548 }
1549
1550 // uint64 rx_good_bytes = 4;
1551 if (this->_internal_rx_good_bytes() != 0) {
1552 target = stream->EnsureSpace(target);
1553 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1554 4, this->_internal_rx_good_bytes(), target);
1555 }
1556
1557 // uint64 rx_dropped_packets = 5;
1558 if (this->_internal_rx_dropped_packets() != 0) {
1559 target = stream->EnsureSpace(target);
1560 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1561 5, this->_internal_rx_dropped_packets(), target);
1562 }
1563
1564 // uint64 rx_unicast_packets = 11;
1565 if (this->_internal_rx_unicast_packets() != 0) {
1566 target = stream->EnsureSpace(target);
1567 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1568 11, this->_internal_rx_unicast_packets(), target);
1569 }
1570
1571 // uint64 rx_multicast_packets = 12;
1572 if (this->_internal_rx_multicast_packets() != 0) {
1573 target = stream->EnsureSpace(target);
1574 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1575 12, this->_internal_rx_multicast_packets(), target);
1576 }
1577
1578 // uint64 rx_broadcast_packets = 13;
1579 if (this->_internal_rx_broadcast_packets() != 0) {
1580 target = stream->EnsureSpace(target);
1581 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1582 13, this->_internal_rx_broadcast_packets(), target);
1583 }
1584
1585 // uint64 rx_unknown_protocol_packets = 14;
1586 if (this->_internal_rx_unknown_protocol_packets() != 0) {
1587 target = stream->EnsureSpace(target);
1588 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1589 14, this->_internal_rx_unknown_protocol_packets(), target);
1590 }
1591
1592 // uint64 rx_xon_packets = 15;
1593 if (this->_internal_rx_xon_packets() != 0) {
1594 target = stream->EnsureSpace(target);
1595 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1596 15, this->_internal_rx_xon_packets(), target);
1597 }
1598
1599 // uint64 rx_xoff_packets = 16;
1600 if (this->_internal_rx_xoff_packets() != 0) {
1601 target = stream->EnsureSpace(target);
1602 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1603 16, this->_internal_rx_xoff_packets(), target);
1604 }
1605
1606 // uint64 rx_size_64_packets = 49;
1607 if (this->_internal_rx_size_64_packets() != 0) {
1608 target = stream->EnsureSpace(target);
1609 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1610 49, this->_internal_rx_size_64_packets(), target);
1611 }
1612
1613 // uint64 rx_size_65_to_127_packets = 50;
1614 if (this->_internal_rx_size_65_to_127_packets() != 0) {
1615 target = stream->EnsureSpace(target);
1616 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1617 50, this->_internal_rx_size_65_to_127_packets(), target);
1618 }
1619
1620 // uint64 rx_size_128_to_255_packets = 51;
1621 if (this->_internal_rx_size_128_to_255_packets() != 0) {
1622 target = stream->EnsureSpace(target);
1623 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1624 51, this->_internal_rx_size_128_to_255_packets(), target);
1625 }
1626
1627 // uint64 rx_size_256_to_511_packets = 52;
1628 if (this->_internal_rx_size_256_to_511_packets() != 0) {
1629 target = stream->EnsureSpace(target);
1630 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1631 52, this->_internal_rx_size_256_to_511_packets(), target);
1632 }
1633
1634 // uint64 rx_size_512_to_1023_packets = 53;
1635 if (this->_internal_rx_size_512_to_1023_packets() != 0) {
1636 target = stream->EnsureSpace(target);
1637 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1638 53, this->_internal_rx_size_512_to_1023_packets(), target);
1639 }
1640
1641 // uint64 rx_size_1024_to_1522_packets = 54;
1642 if (this->_internal_rx_size_1024_to_1522_packets() != 0) {
1643 target = stream->EnsureSpace(target);
1644 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1645 54, this->_internal_rx_size_1024_to_1522_packets(), target);
1646 }
1647
1648 // uint64 rx_size_1523_to_max_packets = 55;
1649 if (this->_internal_rx_size_1523_to_max_packets() != 0) {
1650 target = stream->EnsureSpace(target);
1651 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1652 55, this->_internal_rx_size_1523_to_max_packets(), target);
1653 }
1654
1655 // uint64 rx_mac_short_pkt_dropped = 60;
1656 if (this->_internal_rx_mac_short_pkt_dropped() != 0) {
1657 target = stream->EnsureSpace(target);
1658 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1659 60, this->_internal_rx_mac_short_pkt_dropped(), target);
1660 }
1661
1662 // uint64 tx_good_packets = 100;
1663 if (this->_internal_tx_good_packets() != 0) {
1664 target = stream->EnsureSpace(target);
1665 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1666 100, this->_internal_tx_good_packets(), target);
1667 }
1668
1669 // uint64 tx_good_bytes = 101;
1670 if (this->_internal_tx_good_bytes() != 0) {
1671 target = stream->EnsureSpace(target);
1672 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1673 101, this->_internal_tx_good_bytes(), target);
1674 }
1675
1676 // uint64 tx_unicast_packets = 102;
1677 if (this->_internal_tx_unicast_packets() != 0) {
1678 target = stream->EnsureSpace(target);
1679 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1680 102, this->_internal_tx_unicast_packets(), target);
1681 }
1682
1683 // uint64 tx_multicast_packets = 103;
1684 if (this->_internal_tx_multicast_packets() != 0) {
1685 target = stream->EnsureSpace(target);
1686 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1687 103, this->_internal_tx_multicast_packets(), target);
1688 }
1689
1690 // uint64 tx_broadcast_packets = 104;
1691 if (this->_internal_tx_broadcast_packets() != 0) {
1692 target = stream->EnsureSpace(target);
1693 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1694 104, this->_internal_tx_broadcast_packets(), target);
1695 }
1696
1697 // uint64 tx_dropped_packets = 105;
1698 if (this->_internal_tx_dropped_packets() != 0) {
1699 target = stream->EnsureSpace(target);
1700 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1701 105, this->_internal_tx_dropped_packets(), target);
1702 }
1703
1704 // uint64 tx_link_down_dropped = 106;
1705 if (this->_internal_tx_link_down_dropped() != 0) {
1706 target = stream->EnsureSpace(target);
1707 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1708 106, this->_internal_tx_link_down_dropped(), target);
1709 }
1710
1711 // uint64 tx_xon_packets = 107;
1712 if (this->_internal_tx_xon_packets() != 0) {
1713 target = stream->EnsureSpace(target);
1714 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1715 107, this->_internal_tx_xon_packets(), target);
1716 }
1717
1718 // uint64 tx_xoff_packets = 108;
1719 if (this->_internal_tx_xoff_packets() != 0) {
1720 target = stream->EnsureSpace(target);
1721 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1722 108, this->_internal_tx_xoff_packets(), target);
1723 }
1724
1725 // uint64 tx_size_64_packets = 149;
1726 if (this->_internal_tx_size_64_packets() != 0) {
1727 target = stream->EnsureSpace(target);
1728 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1729 149, this->_internal_tx_size_64_packets(), target);
1730 }
1731
1732 // uint64 tx_size_65_to_127_packets = 150;
1733 if (this->_internal_tx_size_65_to_127_packets() != 0) {
1734 target = stream->EnsureSpace(target);
1735 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1736 150, this->_internal_tx_size_65_to_127_packets(), target);
1737 }
1738
1739 // uint64 tx_size_128_to_255_packets = 151;
1740 if (this->_internal_tx_size_128_to_255_packets() != 0) {
1741 target = stream->EnsureSpace(target);
1742 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1743 151, this->_internal_tx_size_128_to_255_packets(), target);
1744 }
1745
1746 // uint64 tx_size_256_to_511_packets = 152;
1747 if (this->_internal_tx_size_256_to_511_packets() != 0) {
1748 target = stream->EnsureSpace(target);
1749 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1750 152, this->_internal_tx_size_256_to_511_packets(), target);
1751 }
1752
1753 // uint64 tx_size_512_to_1023_packets = 153;
1754 if (this->_internal_tx_size_512_to_1023_packets() != 0) {
1755 target = stream->EnsureSpace(target);
1756 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1757 153, this->_internal_tx_size_512_to_1023_packets(), target);
1758 }
1759
1760 // uint64 tx_size_1024_to_1522_packets = 154;
1761 if (this->_internal_tx_size_1024_to_1522_packets() != 0) {
1762 target = stream->EnsureSpace(target);
1763 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1764 154, this->_internal_tx_size_1024_to_1522_packets(), target);
1765 }
1766
1767 // uint64 tx_size_1523_to_max_packets = 155;
1768 if (this->_internal_tx_size_1523_to_max_packets() != 0) {
1769 target = stream->EnsureSpace(target);
1770 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
1771 155, this->_internal_tx_size_1523_to_max_packets(), target);
1772 }
1773
1774 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1775 target =
1776 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1777 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1778 }
1779 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dpdklibs.opmon.EthXStatsInfo)
1780 return target;
1781}
1782
1784// @@protoc_insertion_point(message_byte_size_start:dunedaq.dpdklibs.opmon.EthXStatsInfo)
1785 ::size_t total_size = 0;
1786
1787 ::uint32_t cached_has_bits = 0;
1788 // Prevent compiler warnings about cached_has_bits being unused
1789 (void) cached_has_bits;
1790
1791 // uint64 groups_sent = 1;
1792 if (this->_internal_groups_sent() != 0) {
1793 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1794 this->_internal_groups_sent());
1795 }
1796
1797 // uint64 total_groups_sent = 2;
1798 if (this->_internal_total_groups_sent() != 0) {
1799 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1801 }
1802
1803 // uint64 rx_good_packets = 3;
1804 if (this->_internal_rx_good_packets() != 0) {
1805 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1807 }
1808
1809 // uint64 rx_good_bytes = 4;
1810 if (this->_internal_rx_good_bytes() != 0) {
1811 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1812 this->_internal_rx_good_bytes());
1813 }
1814
1815 // uint64 rx_dropped_packets = 5;
1816 if (this->_internal_rx_dropped_packets() != 0) {
1817 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1819 }
1820
1821 // uint64 rx_unicast_packets = 11;
1822 if (this->_internal_rx_unicast_packets() != 0) {
1823 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1825 }
1826
1827 // uint64 rx_multicast_packets = 12;
1828 if (this->_internal_rx_multicast_packets() != 0) {
1829 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1831 }
1832
1833 // uint64 rx_broadcast_packets = 13;
1834 if (this->_internal_rx_broadcast_packets() != 0) {
1835 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1837 }
1838
1839 // uint64 rx_unknown_protocol_packets = 14;
1840 if (this->_internal_rx_unknown_protocol_packets() != 0) {
1841 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1843 }
1844
1845 // uint64 rx_xon_packets = 15;
1846 if (this->_internal_rx_xon_packets() != 0) {
1847 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
1848 this->_internal_rx_xon_packets());
1849 }
1850
1851 // uint64 rx_xoff_packets = 16;
1852 if (this->_internal_rx_xoff_packets() != 0) {
1853 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1855 }
1856
1857 // uint64 rx_size_64_packets = 49;
1858 if (this->_internal_rx_size_64_packets() != 0) {
1859 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1861 }
1862
1863 // uint64 rx_size_65_to_127_packets = 50;
1864 if (this->_internal_rx_size_65_to_127_packets() != 0) {
1865 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1867 }
1868
1869 // uint64 rx_size_128_to_255_packets = 51;
1870 if (this->_internal_rx_size_128_to_255_packets() != 0) {
1871 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1873 }
1874
1875 // uint64 rx_size_256_to_511_packets = 52;
1876 if (this->_internal_rx_size_256_to_511_packets() != 0) {
1877 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1879 }
1880
1881 // uint64 rx_size_512_to_1023_packets = 53;
1882 if (this->_internal_rx_size_512_to_1023_packets() != 0) {
1883 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1885 }
1886
1887 // uint64 rx_size_1024_to_1522_packets = 54;
1888 if (this->_internal_rx_size_1024_to_1522_packets() != 0) {
1889 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1891 }
1892
1893 // uint64 rx_size_1523_to_max_packets = 55;
1894 if (this->_internal_rx_size_1523_to_max_packets() != 0) {
1895 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1897 }
1898
1899 // uint64 rx_mac_short_pkt_dropped = 60;
1900 if (this->_internal_rx_mac_short_pkt_dropped() != 0) {
1901 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1903 }
1904
1905 // uint64 tx_good_packets = 100;
1906 if (this->_internal_tx_good_packets() != 0) {
1907 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1909 }
1910
1911 // uint64 tx_good_bytes = 101;
1912 if (this->_internal_tx_good_bytes() != 0) {
1913 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1914 this->_internal_tx_good_bytes());
1915 }
1916
1917 // uint64 tx_unicast_packets = 102;
1918 if (this->_internal_tx_unicast_packets() != 0) {
1919 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1921 }
1922
1923 // uint64 tx_multicast_packets = 103;
1924 if (this->_internal_tx_multicast_packets() != 0) {
1925 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1927 }
1928
1929 // uint64 tx_broadcast_packets = 104;
1930 if (this->_internal_tx_broadcast_packets() != 0) {
1931 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1933 }
1934
1935 // uint64 tx_dropped_packets = 105;
1936 if (this->_internal_tx_dropped_packets() != 0) {
1937 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1939 }
1940
1941 // uint64 tx_link_down_dropped = 106;
1942 if (this->_internal_tx_link_down_dropped() != 0) {
1943 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1945 }
1946
1947 // uint64 tx_xon_packets = 107;
1948 if (this->_internal_tx_xon_packets() != 0) {
1949 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1950 this->_internal_tx_xon_packets());
1951 }
1952
1953 // uint64 tx_xoff_packets = 108;
1954 if (this->_internal_tx_xoff_packets() != 0) {
1955 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1957 }
1958
1959 // uint64 tx_size_64_packets = 149;
1960 if (this->_internal_tx_size_64_packets() != 0) {
1961 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1963 }
1964
1965 // uint64 tx_size_65_to_127_packets = 150;
1966 if (this->_internal_tx_size_65_to_127_packets() != 0) {
1967 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1969 }
1970
1971 // uint64 tx_size_128_to_255_packets = 151;
1972 if (this->_internal_tx_size_128_to_255_packets() != 0) {
1973 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1975 }
1976
1977 // uint64 tx_size_256_to_511_packets = 152;
1978 if (this->_internal_tx_size_256_to_511_packets() != 0) {
1979 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1981 }
1982
1983 // uint64 tx_size_512_to_1023_packets = 153;
1984 if (this->_internal_tx_size_512_to_1023_packets() != 0) {
1985 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1987 }
1988
1989 // uint64 tx_size_1024_to_1522_packets = 154;
1990 if (this->_internal_tx_size_1024_to_1522_packets() != 0) {
1991 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1993 }
1994
1995 // uint64 tx_size_1523_to_max_packets = 155;
1996 if (this->_internal_tx_size_1523_to_max_packets() != 0) {
1997 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
1999 }
2000
2001 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2002}
2003
2004const ::google::protobuf::Message::ClassData EthXStatsInfo::_class_data_ = {
2005 ::google::protobuf::Message::CopyWithSourceCheck,
2007};
2008const ::google::protobuf::Message::ClassData*EthXStatsInfo::GetClassData() const { return &_class_data_; }
2009
2010
2011void EthXStatsInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2012 auto* const _this = static_cast<EthXStatsInfo*>(&to_msg);
2013 auto& from = static_cast<const EthXStatsInfo&>(from_msg);
2014 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dpdklibs.opmon.EthXStatsInfo)
2015 ABSL_DCHECK_NE(&from, _this);
2016 ::uint32_t cached_has_bits = 0;
2017 (void) cached_has_bits;
2018
2019 if (from._internal_groups_sent() != 0) {
2020 _this->_internal_set_groups_sent(from._internal_groups_sent());
2021 }
2022 if (from._internal_total_groups_sent() != 0) {
2023 _this->_internal_set_total_groups_sent(from._internal_total_groups_sent());
2024 }
2025 if (from._internal_rx_good_packets() != 0) {
2026 _this->_internal_set_rx_good_packets(from._internal_rx_good_packets());
2027 }
2028 if (from._internal_rx_good_bytes() != 0) {
2029 _this->_internal_set_rx_good_bytes(from._internal_rx_good_bytes());
2030 }
2031 if (from._internal_rx_dropped_packets() != 0) {
2032 _this->_internal_set_rx_dropped_packets(from._internal_rx_dropped_packets());
2033 }
2034 if (from._internal_rx_unicast_packets() != 0) {
2035 _this->_internal_set_rx_unicast_packets(from._internal_rx_unicast_packets());
2036 }
2037 if (from._internal_rx_multicast_packets() != 0) {
2038 _this->_internal_set_rx_multicast_packets(from._internal_rx_multicast_packets());
2039 }
2040 if (from._internal_rx_broadcast_packets() != 0) {
2041 _this->_internal_set_rx_broadcast_packets(from._internal_rx_broadcast_packets());
2042 }
2043 if (from._internal_rx_unknown_protocol_packets() != 0) {
2044 _this->_internal_set_rx_unknown_protocol_packets(from._internal_rx_unknown_protocol_packets());
2045 }
2046 if (from._internal_rx_xon_packets() != 0) {
2047 _this->_internal_set_rx_xon_packets(from._internal_rx_xon_packets());
2048 }
2049 if (from._internal_rx_xoff_packets() != 0) {
2050 _this->_internal_set_rx_xoff_packets(from._internal_rx_xoff_packets());
2051 }
2052 if (from._internal_rx_size_64_packets() != 0) {
2053 _this->_internal_set_rx_size_64_packets(from._internal_rx_size_64_packets());
2054 }
2055 if (from._internal_rx_size_65_to_127_packets() != 0) {
2056 _this->_internal_set_rx_size_65_to_127_packets(from._internal_rx_size_65_to_127_packets());
2057 }
2058 if (from._internal_rx_size_128_to_255_packets() != 0) {
2059 _this->_internal_set_rx_size_128_to_255_packets(from._internal_rx_size_128_to_255_packets());
2060 }
2061 if (from._internal_rx_size_256_to_511_packets() != 0) {
2062 _this->_internal_set_rx_size_256_to_511_packets(from._internal_rx_size_256_to_511_packets());
2063 }
2064 if (from._internal_rx_size_512_to_1023_packets() != 0) {
2065 _this->_internal_set_rx_size_512_to_1023_packets(from._internal_rx_size_512_to_1023_packets());
2066 }
2067 if (from._internal_rx_size_1024_to_1522_packets() != 0) {
2068 _this->_internal_set_rx_size_1024_to_1522_packets(from._internal_rx_size_1024_to_1522_packets());
2069 }
2070 if (from._internal_rx_size_1523_to_max_packets() != 0) {
2071 _this->_internal_set_rx_size_1523_to_max_packets(from._internal_rx_size_1523_to_max_packets());
2072 }
2073 if (from._internal_rx_mac_short_pkt_dropped() != 0) {
2074 _this->_internal_set_rx_mac_short_pkt_dropped(from._internal_rx_mac_short_pkt_dropped());
2075 }
2076 if (from._internal_tx_good_packets() != 0) {
2077 _this->_internal_set_tx_good_packets(from._internal_tx_good_packets());
2078 }
2079 if (from._internal_tx_good_bytes() != 0) {
2080 _this->_internal_set_tx_good_bytes(from._internal_tx_good_bytes());
2081 }
2082 if (from._internal_tx_unicast_packets() != 0) {
2083 _this->_internal_set_tx_unicast_packets(from._internal_tx_unicast_packets());
2084 }
2085 if (from._internal_tx_multicast_packets() != 0) {
2086 _this->_internal_set_tx_multicast_packets(from._internal_tx_multicast_packets());
2087 }
2088 if (from._internal_tx_broadcast_packets() != 0) {
2089 _this->_internal_set_tx_broadcast_packets(from._internal_tx_broadcast_packets());
2090 }
2091 if (from._internal_tx_dropped_packets() != 0) {
2092 _this->_internal_set_tx_dropped_packets(from._internal_tx_dropped_packets());
2093 }
2094 if (from._internal_tx_link_down_dropped() != 0) {
2095 _this->_internal_set_tx_link_down_dropped(from._internal_tx_link_down_dropped());
2096 }
2097 if (from._internal_tx_xon_packets() != 0) {
2098 _this->_internal_set_tx_xon_packets(from._internal_tx_xon_packets());
2099 }
2100 if (from._internal_tx_xoff_packets() != 0) {
2101 _this->_internal_set_tx_xoff_packets(from._internal_tx_xoff_packets());
2102 }
2103 if (from._internal_tx_size_64_packets() != 0) {
2104 _this->_internal_set_tx_size_64_packets(from._internal_tx_size_64_packets());
2105 }
2106 if (from._internal_tx_size_65_to_127_packets() != 0) {
2107 _this->_internal_set_tx_size_65_to_127_packets(from._internal_tx_size_65_to_127_packets());
2108 }
2109 if (from._internal_tx_size_128_to_255_packets() != 0) {
2110 _this->_internal_set_tx_size_128_to_255_packets(from._internal_tx_size_128_to_255_packets());
2111 }
2112 if (from._internal_tx_size_256_to_511_packets() != 0) {
2113 _this->_internal_set_tx_size_256_to_511_packets(from._internal_tx_size_256_to_511_packets());
2114 }
2115 if (from._internal_tx_size_512_to_1023_packets() != 0) {
2116 _this->_internal_set_tx_size_512_to_1023_packets(from._internal_tx_size_512_to_1023_packets());
2117 }
2118 if (from._internal_tx_size_1024_to_1522_packets() != 0) {
2119 _this->_internal_set_tx_size_1024_to_1522_packets(from._internal_tx_size_1024_to_1522_packets());
2120 }
2121 if (from._internal_tx_size_1523_to_max_packets() != 0) {
2122 _this->_internal_set_tx_size_1523_to_max_packets(from._internal_tx_size_1523_to_max_packets());
2123 }
2124 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2125}
2126
2128// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dpdklibs.opmon.EthXStatsInfo)
2129 if (&from == this) return;
2130 Clear();
2131 MergeFrom(from);
2132}
2133
2134PROTOBUF_NOINLINE bool EthXStatsInfo::IsInitialized() const {
2135 return true;
2136}
2137
2139 using std::swap;
2140 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2141 ::google::protobuf::internal::memswap<
2142 PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.tx_size_1523_to_max_packets_)
2144 - PROTOBUF_FIELD_OFFSET(EthXStatsInfo, _impl_.groups_sent_)>(
2145 reinterpret_cast<char*>(&_impl_.groups_sent_),
2146 reinterpret_cast<char*>(&other->_impl_.groups_sent_));
2147}
2148
2154// ===================================================================
2155
2157 public:
2158};
2159
2160EthXStatsErrors::EthXStatsErrors(::google::protobuf::Arena* arena)
2161 : ::google::protobuf::Message(arena) {
2162 SharedCtor(arena);
2163 // @@protoc_insertion_point(arena_constructor:dunedaq.dpdklibs.opmon.EthXStatsErrors)
2164}
2166 : ::google::protobuf::Message(), _impl_(from._impl_) {
2167 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2168 from._internal_metadata_);
2169 // @@protoc_insertion_point(copy_constructor:dunedaq.dpdklibs.opmon.EthXStatsErrors)
2170}
2171inline void EthXStatsErrors::SharedCtor(::_pb::Arena* arena) {
2172 (void)arena;
2173 new (&_impl_) Impl_{
2174 decltype(_impl_.rx_missed_errors_){::uint64_t{0u}},
2175 decltype(_impl_.rx_errors_){::uint64_t{0u}},
2176 decltype(_impl_.rx_error_bytes_){::uint64_t{0u}},
2177 decltype(_impl_.rx_mbuf_allocation_errors_){::uint64_t{0u}},
2178 decltype(_impl_.rx_crc_errors_){::uint64_t{0u}},
2179 decltype(_impl_.rx_illegal_byte_errors_){::uint64_t{0u}},
2180 decltype(_impl_.rx_jabber_errors_){::uint64_t{0u}},
2181 decltype(_impl_.mac_local_errors_){::uint64_t{0u}},
2182 decltype(_impl_.mac_remote_errors_){::uint64_t{0u}},
2183 decltype(_impl_.rx_len_errors_){::uint64_t{0u}},
2184 decltype(_impl_.rx_undersized_errors_){::uint64_t{0u}},
2185 decltype(_impl_.rx_oversize_errors_){::uint64_t{0u}},
2186 decltype(_impl_.rx_fragmented_errors_){::uint64_t{0u}},
2187 decltype(_impl_.tx_errors_){::uint64_t{0u}},
2188 /*decltype(_impl_._cached_size_)*/ {},
2189 };
2190}
2192 // @@protoc_insertion_point(destructor:dunedaq.dpdklibs.opmon.EthXStatsErrors)
2193 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2194 SharedDtor();
2195}
2197 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2198}
2202
2203PROTOBUF_NOINLINE void EthXStatsErrors::Clear() {
2204// @@protoc_insertion_point(message_clear_start:dunedaq.dpdklibs.opmon.EthXStatsErrors)
2205 ::uint32_t cached_has_bits = 0;
2206 // Prevent compiler warnings about cached_has_bits being unused
2207 (void) cached_has_bits;
2208
2209 ::memset(&_impl_.rx_missed_errors_, 0, static_cast<::size_t>(
2210 reinterpret_cast<char*>(&_impl_.tx_errors_) -
2211 reinterpret_cast<char*>(&_impl_.rx_missed_errors_)) + sizeof(_impl_.tx_errors_));
2212 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2213}
2214
2216 const char* ptr, ::_pbi::ParseContext* ctx) {
2217 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2218 return ptr;
2219}
2220
2221
2222PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2223const ::_pbi::TcParseTable<4, 14, 0, 0, 7> EthXStatsErrors::_table_ = {
2224 {
2225 0, // no _has_bits_
2226 0, // no _extensions_
2227 100, 120, // max_field_number, fast_idx_mask
2228 offsetof(decltype(_table_), field_lookup_table),
2229 4261937024, // skipmap
2230 offsetof(decltype(_table_), field_entries),
2231 14, // num_field_entries
2232 0, // num_aux_entries
2233 offsetof(decltype(_table_), field_names), // no aux_entries
2235 ::_pbi::TcParser::GenericFallback, // fallback
2236 }, {{
2237 {::_pbi::TcParser::MiniParse, {}},
2238 // uint64 rx_missed_errors = 1;
2239 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsErrors, _impl_.rx_missed_errors_), 63>(),
2240 {8, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_missed_errors_)}},
2241 // uint64 rx_errors = 2;
2242 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsErrors, _impl_.rx_errors_), 63>(),
2243 {16, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_errors_)}},
2244 // uint64 rx_error_bytes = 3;
2245 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsErrors, _impl_.rx_error_bytes_), 63>(),
2246 {24, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_error_bytes_)}},
2247 // uint64 rx_mbuf_allocation_errors = 4;
2248 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsErrors, _impl_.rx_mbuf_allocation_errors_), 63>(),
2249 {32, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_mbuf_allocation_errors_)}},
2250 // uint64 rx_crc_errors = 5;
2251 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsErrors, _impl_.rx_crc_errors_), 63>(),
2252 {40, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_crc_errors_)}},
2253 // uint64 rx_illegal_byte_errors = 6;
2254 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsErrors, _impl_.rx_illegal_byte_errors_), 63>(),
2255 {48, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_illegal_byte_errors_)}},
2256 // uint64 rx_jabber_errors = 7;
2257 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EthXStatsErrors, _impl_.rx_jabber_errors_), 63>(),
2258 {56, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_jabber_errors_)}},
2259 // uint64 rx_oversize_errors = 24;
2260 {::_pbi::TcParser::FastV64S2,
2261 {448, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_oversize_errors_)}},
2262 // uint64 rx_fragmented_errors = 25;
2263 {::_pbi::TcParser::FastV64S2,
2264 {456, 63, 0, PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_fragmented_errors_)}},
2265 {::_pbi::TcParser::MiniParse, {}},
2266 {::_pbi::TcParser::MiniParse, {}},
2267 {::_pbi::TcParser::MiniParse, {}},
2268 {::_pbi::TcParser::MiniParse, {}},
2269 {::_pbi::TcParser::MiniParse, {}},
2270 {::_pbi::TcParser::MiniParse, {}},
2271 }}, {{
2272 100, 0, 1,
2273 65534, 13,
2274 65535, 65535
2275 }}, {{
2276 // uint64 rx_missed_errors = 1;
2277 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_missed_errors_), 0, 0,
2278 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2279 // uint64 rx_errors = 2;
2280 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_errors_), 0, 0,
2281 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2282 // uint64 rx_error_bytes = 3;
2283 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_error_bytes_), 0, 0,
2284 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2285 // uint64 rx_mbuf_allocation_errors = 4;
2286 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_mbuf_allocation_errors_), 0, 0,
2287 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2288 // uint64 rx_crc_errors = 5;
2289 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_crc_errors_), 0, 0,
2290 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2291 // uint64 rx_illegal_byte_errors = 6;
2292 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_illegal_byte_errors_), 0, 0,
2293 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2294 // uint64 rx_jabber_errors = 7;
2295 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_jabber_errors_), 0, 0,
2296 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2297 // uint64 mac_local_errors = 20;
2298 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.mac_local_errors_), 0, 0,
2299 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2300 // uint64 mac_remote_errors = 21;
2301 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.mac_remote_errors_), 0, 0,
2302 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2303 // uint64 rx_len_errors = 22;
2304 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_len_errors_), 0, 0,
2305 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2306 // uint64 rx_undersized_errors = 23;
2307 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_undersized_errors_), 0, 0,
2308 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2309 // uint64 rx_oversize_errors = 24;
2310 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_oversize_errors_), 0, 0,
2311 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2312 // uint64 rx_fragmented_errors = 25;
2313 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_fragmented_errors_), 0, 0,
2314 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2315 // uint64 tx_errors = 100;
2316 {PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.tx_errors_), 0, 0,
2317 (0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
2318 }},
2319 // no aux_entries
2320 {{
2321 }},
2322};
2323
2325 ::uint8_t* target,
2326 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2327 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dpdklibs.opmon.EthXStatsErrors)
2328 ::uint32_t cached_has_bits = 0;
2329 (void)cached_has_bits;
2330
2331 // uint64 rx_missed_errors = 1;
2332 if (this->_internal_rx_missed_errors() != 0) {
2333 target = stream->EnsureSpace(target);
2334 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2335 1, this->_internal_rx_missed_errors(), target);
2336 }
2337
2338 // uint64 rx_errors = 2;
2339 if (this->_internal_rx_errors() != 0) {
2340 target = stream->EnsureSpace(target);
2341 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2342 2, this->_internal_rx_errors(), target);
2343 }
2344
2345 // uint64 rx_error_bytes = 3;
2346 if (this->_internal_rx_error_bytes() != 0) {
2347 target = stream->EnsureSpace(target);
2348 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2349 3, this->_internal_rx_error_bytes(), target);
2350 }
2351
2352 // uint64 rx_mbuf_allocation_errors = 4;
2353 if (this->_internal_rx_mbuf_allocation_errors() != 0) {
2354 target = stream->EnsureSpace(target);
2355 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2356 4, this->_internal_rx_mbuf_allocation_errors(), target);
2357 }
2358
2359 // uint64 rx_crc_errors = 5;
2360 if (this->_internal_rx_crc_errors() != 0) {
2361 target = stream->EnsureSpace(target);
2362 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2363 5, this->_internal_rx_crc_errors(), target);
2364 }
2365
2366 // uint64 rx_illegal_byte_errors = 6;
2367 if (this->_internal_rx_illegal_byte_errors() != 0) {
2368 target = stream->EnsureSpace(target);
2369 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2370 6, this->_internal_rx_illegal_byte_errors(), target);
2371 }
2372
2373 // uint64 rx_jabber_errors = 7;
2374 if (this->_internal_rx_jabber_errors() != 0) {
2375 target = stream->EnsureSpace(target);
2376 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2377 7, this->_internal_rx_jabber_errors(), target);
2378 }
2379
2380 // uint64 mac_local_errors = 20;
2381 if (this->_internal_mac_local_errors() != 0) {
2382 target = stream->EnsureSpace(target);
2383 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2384 20, this->_internal_mac_local_errors(), target);
2385 }
2386
2387 // uint64 mac_remote_errors = 21;
2388 if (this->_internal_mac_remote_errors() != 0) {
2389 target = stream->EnsureSpace(target);
2390 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2391 21, this->_internal_mac_remote_errors(), target);
2392 }
2393
2394 // uint64 rx_len_errors = 22;
2395 if (this->_internal_rx_len_errors() != 0) {
2396 target = stream->EnsureSpace(target);
2397 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2398 22, this->_internal_rx_len_errors(), target);
2399 }
2400
2401 // uint64 rx_undersized_errors = 23;
2402 if (this->_internal_rx_undersized_errors() != 0) {
2403 target = stream->EnsureSpace(target);
2404 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2405 23, this->_internal_rx_undersized_errors(), target);
2406 }
2407
2408 // uint64 rx_oversize_errors = 24;
2409 if (this->_internal_rx_oversize_errors() != 0) {
2410 target = stream->EnsureSpace(target);
2411 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2412 24, this->_internal_rx_oversize_errors(), target);
2413 }
2414
2415 // uint64 rx_fragmented_errors = 25;
2416 if (this->_internal_rx_fragmented_errors() != 0) {
2417 target = stream->EnsureSpace(target);
2418 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2419 25, this->_internal_rx_fragmented_errors(), target);
2420 }
2421
2422 // uint64 tx_errors = 100;
2423 if (this->_internal_tx_errors() != 0) {
2424 target = stream->EnsureSpace(target);
2425 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
2426 100, this->_internal_tx_errors(), target);
2427 }
2428
2429 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2430 target =
2431 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2432 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2433 }
2434 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dpdklibs.opmon.EthXStatsErrors)
2435 return target;
2436}
2437
2439// @@protoc_insertion_point(message_byte_size_start:dunedaq.dpdklibs.opmon.EthXStatsErrors)
2440 ::size_t total_size = 0;
2441
2442 ::uint32_t cached_has_bits = 0;
2443 // Prevent compiler warnings about cached_has_bits being unused
2444 (void) cached_has_bits;
2445
2446 // uint64 rx_missed_errors = 1;
2447 if (this->_internal_rx_missed_errors() != 0) {
2448 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
2450 }
2451
2452 // uint64 rx_errors = 2;
2453 if (this->_internal_rx_errors() != 0) {
2454 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
2455 this->_internal_rx_errors());
2456 }
2457
2458 // uint64 rx_error_bytes = 3;
2459 if (this->_internal_rx_error_bytes() != 0) {
2460 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
2461 this->_internal_rx_error_bytes());
2462 }
2463
2464 // uint64 rx_mbuf_allocation_errors = 4;
2465 if (this->_internal_rx_mbuf_allocation_errors() != 0) {
2466 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
2468 }
2469
2470 // uint64 rx_crc_errors = 5;
2471 if (this->_internal_rx_crc_errors() != 0) {
2472 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
2473 this->_internal_rx_crc_errors());
2474 }
2475
2476 // uint64 rx_illegal_byte_errors = 6;
2477 if (this->_internal_rx_illegal_byte_errors() != 0) {
2478 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
2480 }
2481
2482 // uint64 rx_jabber_errors = 7;
2483 if (this->_internal_rx_jabber_errors() != 0) {
2484 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
2486 }
2487
2488 // uint64 mac_local_errors = 20;
2489 if (this->_internal_mac_local_errors() != 0) {
2490 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
2492 }
2493
2494 // uint64 mac_remote_errors = 21;
2495 if (this->_internal_mac_remote_errors() != 0) {
2496 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
2498 }
2499
2500 // uint64 rx_len_errors = 22;
2501 if (this->_internal_rx_len_errors() != 0) {
2502 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
2503 this->_internal_rx_len_errors());
2504 }
2505
2506 // uint64 rx_undersized_errors = 23;
2507 if (this->_internal_rx_undersized_errors() != 0) {
2508 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
2510 }
2511
2512 // uint64 rx_oversize_errors = 24;
2513 if (this->_internal_rx_oversize_errors() != 0) {
2514 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
2516 }
2517
2518 // uint64 rx_fragmented_errors = 25;
2519 if (this->_internal_rx_fragmented_errors() != 0) {
2520 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
2522 }
2523
2524 // uint64 tx_errors = 100;
2525 if (this->_internal_tx_errors() != 0) {
2526 total_size += 2 + ::_pbi::WireFormatLite::UInt64Size(
2527 this->_internal_tx_errors());
2528 }
2529
2530 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2531}
2532
2533const ::google::protobuf::Message::ClassData EthXStatsErrors::_class_data_ = {
2534 ::google::protobuf::Message::CopyWithSourceCheck,
2536};
2537const ::google::protobuf::Message::ClassData*EthXStatsErrors::GetClassData() const { return &_class_data_; }
2538
2539
2540void EthXStatsErrors::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2541 auto* const _this = static_cast<EthXStatsErrors*>(&to_msg);
2542 auto& from = static_cast<const EthXStatsErrors&>(from_msg);
2543 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dpdklibs.opmon.EthXStatsErrors)
2544 ABSL_DCHECK_NE(&from, _this);
2545 ::uint32_t cached_has_bits = 0;
2546 (void) cached_has_bits;
2547
2548 if (from._internal_rx_missed_errors() != 0) {
2549 _this->_internal_set_rx_missed_errors(from._internal_rx_missed_errors());
2550 }
2551 if (from._internal_rx_errors() != 0) {
2552 _this->_internal_set_rx_errors(from._internal_rx_errors());
2553 }
2554 if (from._internal_rx_error_bytes() != 0) {
2555 _this->_internal_set_rx_error_bytes(from._internal_rx_error_bytes());
2556 }
2557 if (from._internal_rx_mbuf_allocation_errors() != 0) {
2558 _this->_internal_set_rx_mbuf_allocation_errors(from._internal_rx_mbuf_allocation_errors());
2559 }
2560 if (from._internal_rx_crc_errors() != 0) {
2561 _this->_internal_set_rx_crc_errors(from._internal_rx_crc_errors());
2562 }
2563 if (from._internal_rx_illegal_byte_errors() != 0) {
2564 _this->_internal_set_rx_illegal_byte_errors(from._internal_rx_illegal_byte_errors());
2565 }
2566 if (from._internal_rx_jabber_errors() != 0) {
2567 _this->_internal_set_rx_jabber_errors(from._internal_rx_jabber_errors());
2568 }
2569 if (from._internal_mac_local_errors() != 0) {
2570 _this->_internal_set_mac_local_errors(from._internal_mac_local_errors());
2571 }
2572 if (from._internal_mac_remote_errors() != 0) {
2573 _this->_internal_set_mac_remote_errors(from._internal_mac_remote_errors());
2574 }
2575 if (from._internal_rx_len_errors() != 0) {
2576 _this->_internal_set_rx_len_errors(from._internal_rx_len_errors());
2577 }
2578 if (from._internal_rx_undersized_errors() != 0) {
2579 _this->_internal_set_rx_undersized_errors(from._internal_rx_undersized_errors());
2580 }
2581 if (from._internal_rx_oversize_errors() != 0) {
2582 _this->_internal_set_rx_oversize_errors(from._internal_rx_oversize_errors());
2583 }
2584 if (from._internal_rx_fragmented_errors() != 0) {
2585 _this->_internal_set_rx_fragmented_errors(from._internal_rx_fragmented_errors());
2586 }
2587 if (from._internal_tx_errors() != 0) {
2588 _this->_internal_set_tx_errors(from._internal_tx_errors());
2589 }
2590 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2591}
2592
2594// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dpdklibs.opmon.EthXStatsErrors)
2595 if (&from == this) return;
2596 Clear();
2597 MergeFrom(from);
2598}
2599
2600PROTOBUF_NOINLINE bool EthXStatsErrors::IsInitialized() const {
2601 return true;
2602}
2603
2605 using std::swap;
2606 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2607 ::google::protobuf::internal::memswap<
2608 PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.tx_errors_)
2610 - PROTOBUF_FIELD_OFFSET(EthXStatsErrors, _impl_.rx_missed_errors_)>(
2611 reinterpret_cast<char*>(&_impl_.rx_missed_errors_),
2612 reinterpret_cast<char*>(&other->_impl_.rx_missed_errors_));
2613}
2614
2620// ===================================================================
2621
2623 public:
2624};
2625
2626RTEWorkerInfo::RTEWorkerInfo(::google::protobuf::Arena* arena)
2627 : ::google::protobuf::Message(arena) {
2628 SharedCtor(arena);
2629 // @@protoc_insertion_point(arena_constructor:dunedaq.dpdklibs.opmon.RTEWorkerInfo)
2630}
2632 : ::google::protobuf::Message(), _impl_(from._impl_) {
2633 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2634 from._internal_metadata_);
2635 // @@protoc_insertion_point(copy_constructor:dunedaq.dpdklibs.opmon.RTEWorkerInfo)
2636}
2637inline void RTEWorkerInfo::SharedCtor(::_pb::Arena* arena) {
2638 (void)arena;
2639 new (&_impl_) Impl_{
2640 decltype(_impl_.num_unhandled_non_ipv4_){0u},
2641 decltype(_impl_.num_unhandled_non_udp_){0u},
2643 /*decltype(_impl_._cached_size_)*/ {},
2644 };
2645}
2647 // @@protoc_insertion_point(destructor:dunedaq.dpdklibs.opmon.RTEWorkerInfo)
2648 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2649 SharedDtor();
2650}
2652 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
2653}
2656}
2657
2658PROTOBUF_NOINLINE void RTEWorkerInfo::Clear() {
2659// @@protoc_insertion_point(message_clear_start:dunedaq.dpdklibs.opmon.RTEWorkerInfo)
2660 ::uint32_t cached_has_bits = 0;
2661 // Prevent compiler warnings about cached_has_bits being unused
2662 (void) cached_has_bits;
2663
2664 ::memset(&_impl_.num_unhandled_non_ipv4_, 0, static_cast<::size_t>(
2665 reinterpret_cast<char*>(&_impl_.num_unhandled_non_jumbo_udp_) -
2666 reinterpret_cast<char*>(&_impl_.num_unhandled_non_ipv4_)) + sizeof(_impl_.num_unhandled_non_jumbo_udp_));
2667 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2668}
2669
2671 const char* ptr, ::_pbi::ParseContext* ctx) {
2672 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
2673 return ptr;
2674}
2675
2676
2677PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2678const ::_pbi::TcParseTable<2, 3, 0, 0, 2> RTEWorkerInfo::_table_ = {
2679 {
2680 0, // no _has_bits_
2681 0, // no _extensions_
2682 3, 24, // max_field_number, fast_idx_mask
2683 offsetof(decltype(_table_), field_lookup_table),
2684 4294967288, // skipmap
2685 offsetof(decltype(_table_), field_entries),
2686 3, // num_field_entries
2687 0, // num_aux_entries
2688 offsetof(decltype(_table_), field_names), // no aux_entries
2690 ::_pbi::TcParser::GenericFallback, // fallback
2691 }, {{
2692 {::_pbi::TcParser::MiniParse, {}},
2693 // uint32 num_unhandled_non_ipv4 = 1;
2694 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RTEWorkerInfo, _impl_.num_unhandled_non_ipv4_), 63>(),
2695 {8, 63, 0, PROTOBUF_FIELD_OFFSET(RTEWorkerInfo, _impl_.num_unhandled_non_ipv4_)}},
2696 // uint32 num_unhandled_non_udp = 2;
2697 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RTEWorkerInfo, _impl_.num_unhandled_non_udp_), 63>(),
2698 {16, 63, 0, PROTOBUF_FIELD_OFFSET(RTEWorkerInfo, _impl_.num_unhandled_non_udp_)}},
2699 // uint32 num_unhandled_non_jumbo_udp = 3;
2700 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RTEWorkerInfo, _impl_.num_unhandled_non_jumbo_udp_), 63>(),
2701 {24, 63, 0, PROTOBUF_FIELD_OFFSET(RTEWorkerInfo, _impl_.num_unhandled_non_jumbo_udp_)}},
2702 }}, {{
2703 65535, 65535
2704 }}, {{
2705 // uint32 num_unhandled_non_ipv4 = 1;
2706 {PROTOBUF_FIELD_OFFSET(RTEWorkerInfo, _impl_.num_unhandled_non_ipv4_), 0, 0,
2707 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2708 // uint32 num_unhandled_non_udp = 2;
2709 {PROTOBUF_FIELD_OFFSET(RTEWorkerInfo, _impl_.num_unhandled_non_udp_), 0, 0,
2710 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2711 // uint32 num_unhandled_non_jumbo_udp = 3;
2712 {PROTOBUF_FIELD_OFFSET(RTEWorkerInfo, _impl_.num_unhandled_non_jumbo_udp_), 0, 0,
2713 (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
2714 }},
2715 // no aux_entries
2716 {{
2717 }},
2718};
2719
2721 ::uint8_t* target,
2722 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2723 // @@protoc_insertion_point(serialize_to_array_start:dunedaq.dpdklibs.opmon.RTEWorkerInfo)
2724 ::uint32_t cached_has_bits = 0;
2725 (void)cached_has_bits;
2726
2727 // uint32 num_unhandled_non_ipv4 = 1;
2728 if (this->_internal_num_unhandled_non_ipv4() != 0) {
2729 target = stream->EnsureSpace(target);
2730 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2731 1, this->_internal_num_unhandled_non_ipv4(), target);
2732 }
2733
2734 // uint32 num_unhandled_non_udp = 2;
2735 if (this->_internal_num_unhandled_non_udp() != 0) {
2736 target = stream->EnsureSpace(target);
2737 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2738 2, this->_internal_num_unhandled_non_udp(), target);
2739 }
2740
2741 // uint32 num_unhandled_non_jumbo_udp = 3;
2742 if (this->_internal_num_unhandled_non_jumbo_udp() != 0) {
2743 target = stream->EnsureSpace(target);
2744 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
2745 3, this->_internal_num_unhandled_non_jumbo_udp(), target);
2746 }
2747
2748 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2749 target =
2750 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2751 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2752 }
2753 // @@protoc_insertion_point(serialize_to_array_end:dunedaq.dpdklibs.opmon.RTEWorkerInfo)
2754 return target;
2755}
2756
2758// @@protoc_insertion_point(message_byte_size_start:dunedaq.dpdklibs.opmon.RTEWorkerInfo)
2759 ::size_t total_size = 0;
2760
2761 ::uint32_t cached_has_bits = 0;
2762 // Prevent compiler warnings about cached_has_bits being unused
2763 (void) cached_has_bits;
2764
2765 // uint32 num_unhandled_non_ipv4 = 1;
2766 if (this->_internal_num_unhandled_non_ipv4() != 0) {
2767 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2769 }
2770
2771 // uint32 num_unhandled_non_udp = 2;
2772 if (this->_internal_num_unhandled_non_udp() != 0) {
2773 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2775 }
2776
2777 // uint32 num_unhandled_non_jumbo_udp = 3;
2778 if (this->_internal_num_unhandled_non_jumbo_udp() != 0) {
2779 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
2781 }
2782
2783 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2784}
2785
2786const ::google::protobuf::Message::ClassData RTEWorkerInfo::_class_data_ = {
2787 ::google::protobuf::Message::CopyWithSourceCheck,
2789};
2790const ::google::protobuf::Message::ClassData*RTEWorkerInfo::GetClassData() const { return &_class_data_; }
2791
2792
2793void RTEWorkerInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
2794 auto* const _this = static_cast<RTEWorkerInfo*>(&to_msg);
2795 auto& from = static_cast<const RTEWorkerInfo&>(from_msg);
2796 // @@protoc_insertion_point(class_specific_merge_from_start:dunedaq.dpdklibs.opmon.RTEWorkerInfo)
2797 ABSL_DCHECK_NE(&from, _this);
2798 ::uint32_t cached_has_bits = 0;
2799 (void) cached_has_bits;
2800
2801 if (from._internal_num_unhandled_non_ipv4() != 0) {
2802 _this->_internal_set_num_unhandled_non_ipv4(from._internal_num_unhandled_non_ipv4());
2803 }
2804 if (from._internal_num_unhandled_non_udp() != 0) {
2805 _this->_internal_set_num_unhandled_non_udp(from._internal_num_unhandled_non_udp());
2806 }
2807 if (from._internal_num_unhandled_non_jumbo_udp() != 0) {
2808 _this->_internal_set_num_unhandled_non_jumbo_udp(from._internal_num_unhandled_non_jumbo_udp());
2809 }
2810 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2811}
2812
2814// @@protoc_insertion_point(class_specific_copy_from_start:dunedaq.dpdklibs.opmon.RTEWorkerInfo)
2815 if (&from == this) return;
2816 Clear();
2817 MergeFrom(from);
2818}
2819
2820PROTOBUF_NOINLINE bool RTEWorkerInfo::IsInitialized() const {
2821 return true;
2822}
2823
2825 using std::swap;
2826 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2827 ::google::protobuf::internal::memswap<
2828 PROTOBUF_FIELD_OFFSET(RTEWorkerInfo, _impl_.num_unhandled_non_jumbo_udp_)
2830 - PROTOBUF_FIELD_OFFSET(RTEWorkerInfo, _impl_.num_unhandled_non_ipv4_)>(
2831 reinterpret_cast<char*>(&_impl_.num_unhandled_non_ipv4_),
2832 reinterpret_cast<char*>(&other->_impl_.num_unhandled_non_ipv4_));
2833}
2834
2840// @@protoc_insertion_point(namespace_scope)
2841} // namespace opmon
2842} // namespace dpdklibs
2843} // namespace dunedaq
2844namespace google {
2845namespace protobuf {
2846} // namespace protobuf
2847} // namespace google
2848// @@protoc_insertion_point(global_scope)
2849#include "google/protobuf/port_undef.inc"
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_dpdklibs_2fopmon_2fIfaceWrapper_2eproto_getter()
::absl::once_flag descriptor_table_dpdklibs_2fopmon_2fIfaceWrapper_2eproto_once
::_pb::Metadata file_level_metadata_dpdklibs_2fopmon_2fIfaceWrapper_2eproto[6]
const ::_pbi::DescriptorTable descriptor_table_dpdklibs_2fopmon_2fIfaceWrapper_2eproto
static constexprconst ::_pb::ServiceDescriptor ** file_level_service_descriptors_dpdklibs_2fopmon_2fIfaceWrapper_2eproto
static constexprconst ::_pb::EnumDescriptor ** file_level_enum_descriptors_dpdklibs_2fopmon_2fIfaceWrapper_2eproto
static const ClassData _class_data_
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
void MergeFrom(const EthStats &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
void SetCachedSize(int size) const final
static const ::google::protobuf::internal::TcParseTable< 4, 8, 0, 0, 2 > _table_
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void CopyFrom(const EthStats &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SharedCtor(::google::protobuf::Arena *arena)
::google::protobuf::Metadata GetMetadata() const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
void MergeFrom(const EthXStatsErrors &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::google::protobuf::Metadata GetMetadata() const final
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
static const ::google::protobuf::internal::TcParseTable< 4, 14, 0, 0, 7 > _table_
void InternalSwap(EthXStatsErrors *other)
void SharedCtor(::google::protobuf::Arena *arena)
void CopyFrom(const EthXStatsErrors &from)
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
const ::google::protobuf::Message::ClassData * GetClassData() const final
::google::protobuf::Metadata GetMetadata() const final
::uint64_t _internal_rx_size_256_to_511_packets() const
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::uint64_t _internal_tx_size_128_to_255_packets() const
::uint64_t _internal_tx_size_256_to_511_packets() const
::uint64_t _internal_rx_unknown_protocol_packets() const
::uint64_t _internal_tx_size_1523_to_max_packets() const
::uint64_t _internal_rx_size_512_to_1023_packets() const
::uint64_t _internal_tx_size_512_to_1023_packets() const
::uint64_t _internal_tx_size_1024_to_1522_packets() const
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
::uint64_t _internal_rx_size_1523_to_max_packets() const
void CopyFrom(const EthXStatsInfo &from)
void SharedCtor(::google::protobuf::Arena *arena)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::uint64_t _internal_rx_size_128_to_255_packets() const
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::uint64_t _internal_rx_size_1024_to_1522_packets() const
static const ::google::protobuf::internal::TcParseTable< 5, 35, 0, 0, 19 > _table_
void MergeFrom(const EthXStatsInfo &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
void SharedCtor(::google::protobuf::Arena *arena)
void CopyFrom(const QueueEthXStats &from)
static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2 > _table_
void MergeFrom(const QueueEthXStats &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
::google::protobuf::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void MergeFrom(const QueueInfo &from)
void CopyFrom(const QueueInfo &from)
::google::protobuf::Metadata GetMetadata() const final
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
void SetCachedSize(int size) const final
static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 0, 2 > _table_
void SharedCtor(::google::protobuf::Arena *arena)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
const ::google::protobuf::Message::ClassData * GetClassData() const final
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::google::protobuf::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void SharedCtor(::google::protobuf::Arena *arena)
const char * _InternalParse(const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
void CopyFrom(const RTEWorkerInfo &from)
const ::google::protobuf::Message::ClassData * GetClassData() const final
void MergeFrom(const RTEWorkerInfo &from)
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
::uint32_t _internal_num_unhandled_non_jumbo_udp() const
static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2 > _table_
::uint8_t * _InternalSerialize(::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EthStatsDefaultTypeInternal _EthStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QueueEthXStatsDefaultTypeInternal _QueueEthXStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EthXStatsErrorsDefaultTypeInternal _EthXStatsErrors_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QueueInfoDefaultTypeInternal _QueueInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EthXStatsInfoDefaultTypeInternal _EthXStatsInfo_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RTEWorkerInfoDefaultTypeInternal _RTEWorkerInfo_default_instance_
The DUNE-DAQ namespace.
FELIX Initialization std::string initerror FELIX queue timed std::string queuename Unexpected chunk size
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
mutable::google::protobuf::internal::CachedSize _cached_size_
const ::uint32_t TableStruct_wib_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::_pb::Message *const file_default_instances[]
Definition wib.pb.cc:1192