blob: a66d5a063cd30964b02c3660a2bedc01759ff5c1 [file] [log] [blame]
Murat Parlakisikf95672c2016-12-05 00:53:17 -08001// Copyright 2017, Big Switch Networks, Inc.
2//
3// LoxiGen is licensed under the Eclipse Public License,
4// version 1.0 (EPL), with the following special exception:
5//
6// LOXI Exception
7//
8// As a special exception to the terms of the EPL, you may
9// distribute libraries generated by LoxiGen (LoxiGen Libraries)
10// under the terms of your choice, provided that copyright and
11// licensing notices generated by LoxiGen are not altered or removed
12// from the LoxiGen Libraries and the notice provided below is (i)
13// included in the LoxiGen Libraries, if distributed in source code
14// form and (ii) included in any documentation for the LoxiGen
15// Libraries, if distributed in binary form.
16//
17// Notice: "Copyright 2017, Big Switch Networks, Inc.
18// This library was generated by the LoxiGen Compiler."
19//
20// You may not use this file except in compliance with the EPL or
21// LOXI Exception. You may obtain a copy of the EPL at:
22//
23// http://www.eclipse.org/legal/epl-v10.html
24//
25// Unless required by applicable law or agreed to in writing,
26// software distributed under the License is distributed on an "AS
27// IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
28// express or implied. See the EPL for the specific language
29// governing permissions and limitations under the EPL.
30
31#version 5
32#version 6
33
34struct of_port_stats_prop_experimenter_intel : of_port_stats_prop_experimenter {
35 uint16_t type == 0xffff;
36 uint16_t length;
37 uint32_t experimenter == 0x0000aa01;
38 uint32_t exp_type == 0x00000001;
39 pad(4);
40
41 uint64_t rx_1_to_64_packets;
42 uint64_t rx_65_to_127_packets;
43 uint64_t rx_128_to_255_packets;
44 uint64_t rx_256_to_511_packets;
45 uint64_t rx_512_to_1023_packets;
46 uint64_t rx_1024_to_1522_packets;
47 uint64_t rx_1523_to_max_packets;
48
49 uint64_t tx_1_to_64_packets;
50 uint64_t tx_65_to_127_packets;
51 uint64_t tx_128_to_255_packets;
52 uint64_t tx_256_to_511_packets;
53 uint64_t tx_512_to_1023_packets;
54 uint64_t tx_1024_to_1522_packets;
55 uint64_t tx_1523_to_max_packets;
56
57 uint64_t tx_multicast_packets;
58 uint64_t rx_broadcast_packets;
59 uint64_t tx_broadcast_packets;
60 uint64_t rx_undersized_errors;
61 uint64_t rx_oversize_errors;
62 uint64_t rx_fragmented_errors;
63 uint64_t rx_jabber_errors;
64};