2 * Copyright (c) 2015 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 package org.openvpp.vppjapi;
18 public class vppInterfaceCounters {
23 public long rxUnicast;
24 public long rxMulticast;
25 public long rxBroadcast;
26 public long rxDiscard;
27 public long rxFifoFull;
29 public long rxUnknownProto;
35 public long txUnicast;
36 public long txMulticast;
37 public long txBroadcast;
38 public long txDiscard;
39 public long txFifoFull;
41 public long txUnknownProto;
44 public vppInterfaceCounters(
45 long rxOctets, long rxIp4, long rxIp6, long rxUni, long rxMulti,
46 long rxBcast, long rxDiscard, long rxFifoFull, long rxError,
47 long rxUnknownProto, long rxMiss,
48 long txOctets, long txIp4, long txIp6, long txUni, long txMulti,
49 long txBcast, long txDiscard, long txFifoFull, long txError,
50 long txUnknownProto, long txMiss)
52 this.rxOctets = rxOctets;
55 this.rxUnicast = rxUni;
56 this.rxMulticast = rxMulti;
57 this.rxBroadcast = rxBcast;
58 this.rxDiscard = rxDiscard;
59 this.rxFifoFull = rxFifoFull;
60 this.rxError = rxError;
61 this.rxUnknownProto = rxUnknownProto;
64 this.txOctets = txOctets;
67 this.txUnicast = txUni;
68 this.txMulticast = txMulti;
69 this.txBroadcast = txBcast;
70 this.txDiscard = txDiscard;
71 this.txFifoFull = txFifoFull;
72 this.txError = txError;
73 this.txUnknownProto = txUnknownProto;