Class PcapStatEx


  • public final class PcapStatEx
    extends java.lang.Object
    Since:
    pcap4j 1.2.1
    Author:
    Kaito Yamada
    • 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.