Class MacInternetProtocolStats.BsdTcpstat

java.lang.Object
oshi.software.common.os.mac.MacInternetProtocolStats.BsdTcpstat
Enclosing class:
MacInternetProtocolStats

public static final class MacInternetProtocolStats.BsdTcpstat extends Object
Selected fields of the macOS tcpstat structure.
  • Constructor Details

    • BsdTcpstat

      public BsdTcpstat(int connattempt, int accepts, int drops, int conndrops, int sndpack, int sndrexmitpack, int rcvpack, int rcvbadsum, int rcvbadoff, int rcvmemdrop, int rcvshort)
      Creates a tcpstat carrier.
      Parameters:
      connattempt - connection attempts
      accepts - accepted connections
      drops - dropped connections
      conndrops - connections dropped during establishment
      sndpack - packets sent
      sndrexmitpack - packets retransmitted
      rcvpack - packets received
      rcvbadsum - packets received with bad checksum
      rcvbadoff - packets received with bad offset
      rcvmemdrop - packets dropped for lack of memory
      rcvshort - packets received too short