Module org.jnetpcap

Interface PcapStatEx

All Superinterfaces:
PcapStat

public sealed interface PcapStatEx extends PcapStat
The Interface PcapStatEx.
Author:
Sly Technologies Inc, repos@slytechs.com, mark
  • Field Details

    • PCAP_STAT_EX_LENGTH

      static final int PCAP_STAT_EX_LENGTH
      The length of the pcap_stat_ex structure in bytes.
  • Method Details

    • size

      int size()
      Size of this structure in bytes. Is used to differentiate between the standard size pcap_stat structure and pcap_stat_ex. The lengths will be different.
      Returns:
      the int
    • recv

      long recv()
      Recv.
      Specified by:
      recv in interface PcapStat
      Returns:
      the long
      See Also:
    • drop

      long drop()
      Drop.
      Specified by:
      drop in interface PcapStat
      Returns:
      the long
      See Also:
    • ifdrop

      long ifdrop()
      Ifdrop.
      Specified by:
      ifdrop in interface PcapStat
      Returns:
      the long
      See Also:
    • capt

      long capt()
      Capt.
      Specified by:
      capt in interface PcapStat
      Returns:
      the long
      See Also:
    • sent

      long sent()
      Sent.
      Specified by:
      sent in interface PcapStat
      Returns:
      the long
      See Also:
    • netdrop

      long netdrop()
      Netdrop.
      Specified by:
      netdrop in interface PcapStat
      Returns:
      the long
      See Also:
    • rxPackets

      long rxPackets()
      total packets received.
      Returns:
      the long
    • txPackets

      long txPackets()
      total packets transmitted.
      Returns:
      the long
    • rxBytes

      long rxBytes()
      total bytes received.
      Returns:
      the long
    • txBytes

      long txBytes()
      total bytes transmitted.
      Returns:
      the long
    • rxErrors

      long rxErrors()
      bad packets received.
      Returns:
      the long
    • txErrors

      long txErrors()
      packet transmit problems.
      Returns:
      the long
    • rxDropped

      long rxDropped()
      no space in Rx buffers.
      Returns:
      the long
    • txDropped

      long txDropped()
      no space available for Tx.
      Returns:
      the long
    • multicast

      long multicast()
      multicast packets received.
      Returns:
      the long
    • collisions

      long collisions()
      Collisions.
      Returns:
      the long
    • rxLengthErrors

      long rxLengthErrors()
      Rx length errors.
      Returns:
      the long
    • rxOverErrors

      long rxOverErrors()
      receiver ring buff overflow.
      Returns:
      the long
    • rxCrcErrors

      long rxCrcErrors()
      recv'd pkt with crc error.
      Returns:
      the long
    • rxFrameErrors

      long rxFrameErrors()
      recv'd frame alignment error.
      Returns:
      the long
    • rxFifoErrors

      long rxFifoErrors()
      recv'r fifo overrun.
      Returns:
      the long
    • rxMissedErrors

      long rxMissedErrors()
      recv'r missed packet.
      Returns:
      the long
    • txAbortedErrors

      long txAbortedErrors()
      Tx aborted errors.
      Returns:
      the long
    • txCarrierErrors

      long txCarrierErrors()
      Tx carrier errros.
      Returns:
      the long
    • txFifoErrors

      long txFifoErrors()
      Tx fifo errors.
      Returns:
      the long
    • txHeartbeatErrors

      long txHeartbeatErrors()
      Tx heartbeat errors.
      Returns:
      the long
    • txWindowErrrors

      long txWindowErrrors()
      Tx window errrors.
      Returns:
      the long