- java.lang.Object
-
- org.pcap4j.core.PcapStatEx
-
public final class PcapStatEx extends java.lang.Object- Since:
- pcap4j 1.2.1
-
-
Field Summary
Fields Modifier and Type Field Description private java.math.BigIntegernumCollisionsprivate java.math.BigIntegerrxNumBytesprivate java.math.BigIntegerrxNumCrcErrorsprivate java.math.BigIntegerrxNumFifoErrorsprivate java.math.BigIntegerrxNumFrameErrorsprivate java.math.BigIntegerrxNumLenghErrorsprivate java.math.BigIntegerrxNumMissedErrorsprivate java.math.BigIntegerrxNumMulticastPacketsprivate java.math.BigIntegerrxNumPacketsprivate java.math.BigIntegerrxNumPacketsDroppedprivate java.math.BigIntegerrxNumPacketsErrorprivate java.math.BigIntegertxNumAbortedErrorsprivate java.math.BigIntegertxNumBytesprivate java.math.BigIntegertxNumCarrierErrorsprivate java.math.BigIntegertxNumFifoErrorsprivate java.math.BigIntegertxNumHeartbeatErrorsprivate java.math.BigIntegertxNumOverflowErrorsprivate java.math.BigIntegertxNumPacketsprivate java.math.BigIntegertxNumPacketsDroppedprivate java.math.BigIntegertxNumPacketsErrorprivate java.math.BigIntegertxNumWindowErrors
-
Constructor Summary
Constructors Constructor Description PcapStatEx(NativeMappings.pcap_stat_ex stat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigIntegergetNumCollisions()java.math.BigIntegergetRxNumBytes()java.math.BigIntegergetRxNumCrcErrors()java.math.BigIntegergetRxNumFifoErrors()java.math.BigIntegergetRxNumFrameErrors()java.math.BigIntegergetRxNumLenghErrors()java.math.BigIntegergetRxNumMissedErrors()java.math.BigIntegergetRxNumMulticastPackets()java.math.BigIntegergetRxNumPackets()java.math.BigIntegergetRxNumPacketsDropped()java.math.BigIntegergetRxNumPacketsError()java.math.BigIntegergetTxNumAbortedErrors()java.math.BigIntegergetTxNumBytes()java.math.BigIntegergetTxNumCarrierErrors()java.math.BigIntegergetTxNumFifoErrors()java.math.BigIntegergetTxNumHeartbeatErrors()java.math.BigIntegergetTxNumOverflowErrors()java.math.BigIntegergetTxNumPackets()java.math.BigIntegergetTxNumPacketsDropped()java.math.BigIntegergetTxNumPacketsError()java.math.BigIntegergetTxNumWindowErrors()
-
-
-
Field Detail
-
rxNumPackets
private final java.math.BigInteger rxNumPackets
-
txNumPackets
private final java.math.BigInteger txNumPackets
-
rxNumBytes
private final java.math.BigInteger rxNumBytes
-
txNumBytes
private final java.math.BigInteger txNumBytes
-
rxNumPacketsError
private final java.math.BigInteger rxNumPacketsError
-
txNumPacketsError
private final java.math.BigInteger txNumPacketsError
-
rxNumPacketsDropped
private final java.math.BigInteger rxNumPacketsDropped
-
txNumPacketsDropped
private final java.math.BigInteger txNumPacketsDropped
-
rxNumMulticastPackets
private final java.math.BigInteger rxNumMulticastPackets
-
numCollisions
private final java.math.BigInteger numCollisions
-
rxNumLenghErrors
private final java.math.BigInteger rxNumLenghErrors
-
txNumOverflowErrors
private final java.math.BigInteger txNumOverflowErrors
-
rxNumCrcErrors
private final java.math.BigInteger rxNumCrcErrors
-
rxNumFrameErrors
private final java.math.BigInteger rxNumFrameErrors
-
rxNumFifoErrors
private final java.math.BigInteger rxNumFifoErrors
-
rxNumMissedErrors
private final java.math.BigInteger rxNumMissedErrors
-
txNumAbortedErrors
private final java.math.BigInteger txNumAbortedErrors
-
txNumCarrierErrors
private final java.math.BigInteger txNumCarrierErrors
-
txNumFifoErrors
private final java.math.BigInteger txNumFifoErrors
-
txNumHeartbeatErrors
private final java.math.BigInteger txNumHeartbeatErrors
-
txNumWindowErrors
private final java.math.BigInteger txNumWindowErrors
-
-
Constructor Detail
-
PcapStatEx
PcapStatEx(NativeMappings.pcap_stat_ex stat)
-
-
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.
-
-