Class MacInternetProtocolStats.BsdUdpstat

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

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

    • BsdUdpstat

      public BsdUdpstat(int ipackets, int hdrops, int badsum, int badlen, int opackets, int noportmcast, int rcv6Swcsum, int snd6Swcsum)
      Creates a udpstat carrier.
      Parameters:
      ipackets - datagrams received
      hdrops - datagrams dropped for bad header
      badsum - datagrams dropped for bad checksum
      badlen - datagrams dropped for bad length
      opackets - datagrams sent
      noportmcast - multicast datagrams with no port
      rcv6Swcsum - IPv6 datagrams received with software checksum
      snd6Swcsum - IPv6 datagrams sent with software checksum