Class MacInternetProtocolStats.BsdIpstat

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

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

    • BsdIpstat

      public BsdIpstat(int total, int badsum, int tooshort, int toosmall, int badhlen, int badlen, int delivered)
      Creates an ipstat carrier.
      Parameters:
      total - total packets received
      badsum - packets with bad checksum
      tooshort - packets too short
      toosmall - packets with not enough data
      badhlen - packets with bad header length
      badlen - packets with bad length
      delivered - datagrams delivered to upper level