ddn.util.monaco.network

Types 4

Network I/O counters structure.

Represents network traffic statistics for an interface.

Fields
ulong bytesSent
ulong bytesRecv
ulong packetsSent
ulong packetsRecv
ulong errin
ulong errout
ulong dropin
ulong dropout
structNetIfAddr

Network interface address structure.

Represents an address assigned to a network interface.

Fields
string address
string netmask
string broadcast
string ptp

Network interface statistics structure.

Represents statistics about a network interface.

Fields
bool isUp
string duplex
uint speed
uint mtu

Network connection structure.

Represents an active network connection.

Fields
int fd
string type
string localAddress
ushort localPort
string remoteAddress
ushort remotePort
int pid
ulong inode

Functions 4

fnNetIoCounters[string] netIoCounters(bool pernic = true) @safeGets network I/O counters.
fnNetIfAddr[][string] netIfAddrs() @safeGets network interface addresses.
fnNetIfStats[string] netIfStats() @safeGets network interface statistics.
fnNetConnection[] netConnections(string kind = "inet") @safeGets active network connections.