Package org.pcap4j.core
Class PcapStatEx
- java.lang.Object
-
- org.pcap4j.core.PcapStatEx
-
public final class PcapStatEx extends java.lang.Object
- Since:
- pcap4j 1.2.1
- Author:
- Kaito Yamada
-
-
Method Summary
Modifier and Type Method Description java.math.BigInteger
getNumCollisions()
java.math.BigInteger
getRxNumBytes()
java.math.BigInteger
getRxNumCrcErrors()
java.math.BigInteger
getRxNumFifoErrors()
java.math.BigInteger
getRxNumFrameErrors()
java.math.BigInteger
getRxNumLenghErrors()
java.math.BigInteger
getRxNumMissedErrors()
java.math.BigInteger
getRxNumMulticastPackets()
java.math.BigInteger
getRxNumPackets()
java.math.BigInteger
getRxNumPacketsDropped()
java.math.BigInteger
getRxNumPacketsError()
java.math.BigInteger
getTxNumAbortedErrors()
java.math.BigInteger
getTxNumBytes()
java.math.BigInteger
getTxNumCarrierErrors()
java.math.BigInteger
getTxNumFifoErrors()
java.math.BigInteger
getTxNumHeartbeatErrors()
java.math.BigInteger
getTxNumOverflowErrors()
java.math.BigInteger
getTxNumPackets()
java.math.BigInteger
getTxNumPacketsDropped()
java.math.BigInteger
getTxNumPacketsError()
java.math.BigInteger
getTxNumWindowErrors()
-
-
-
Method Detail
-
getRxNumPackets
public java.math.BigInteger getRxNumPackets()
- Returns:
- the number of packets received.
-
getTxNumPackets
public java.math.BigInteger getTxNumPackets()
- Returns:
- the number of packets transmitted.
-
getRxNumBytes
public java.math.BigInteger getRxNumBytes()
- Returns:
- the number of bytes received.
-
getTxNumBytes
public java.math.BigInteger getTxNumBytes()
- Returns:
- the number of bytes transmitted.
-
getRxNumPacketsError
public java.math.BigInteger getRxNumPacketsError()
- Returns:
- the number of packets received with error.
-
getTxNumPacketsError
public java.math.BigInteger getTxNumPacketsError()
- Returns:
- the number of packets transmitted with error.
-
getRxNumPacketsDropped
public java.math.BigInteger getRxNumPacketsDropped()
- Returns:
- the number of packets the receiver dropped.
-
getTxNumPacketsDropped
public java.math.BigInteger getTxNumPacketsDropped()
- Returns:
- the number of packets the transmitter dropped.
-
getRxNumMulticastPackets
public java.math.BigInteger getRxNumMulticastPackets()
- Returns:
- the number of multicast packets received.
-
getNumCollisions
public java.math.BigInteger getNumCollisions()
- Returns:
- the number of collisions.
-
getRxNumLenghErrors
public java.math.BigInteger getRxNumLenghErrors()
- Returns:
- the number of length errors in the receiver.
-
getTxNumOverflowErrors
public java.math.BigInteger getTxNumOverflowErrors()
- Returns:
- the number of buffer overflow errors in the transmitter.
-
getRxNumCrcErrors
public java.math.BigInteger getRxNumCrcErrors()
- Returns:
- the number of CRC errors in the receiver.
-
getRxNumFrameErrors
public java.math.BigInteger getRxNumFrameErrors()
- Returns:
- the number of frame alignment errors in the receiver.
-
getRxNumFifoErrors
public java.math.BigInteger getRxNumFifoErrors()
- Returns:
- the number of fifo overrun errors in the receiver.
-
getRxNumMissedErrors
public java.math.BigInteger getRxNumMissedErrors()
- Returns:
- the number of packets the receiver missed.
-
getTxNumAbortedErrors
public java.math.BigInteger getTxNumAbortedErrors()
- Returns:
- the number of aborted errors in the transmitter.
-
getTxNumCarrierErrors
public java.math.BigInteger getTxNumCarrierErrors()
- Returns:
- the number of times carrier sense signal lost during transmission.
-
getTxNumFifoErrors
public java.math.BigInteger getTxNumFifoErrors()
- Returns:
- the number of fifo underrun errors in the transmitter.
-
getTxNumHeartbeatErrors
public java.math.BigInteger getTxNumHeartbeatErrors()
- Returns:
- the number of heartbeat errors in the transmitter.
-
getTxNumWindowErrors
public java.math.BigInteger getTxNumWindowErrors()
- Returns:
- the number of window errors in the transmitter.
-
-