Platforms to show: All Mac Windows Linux Cross-Platform

Back to DarwinIFStatInterfaceMBS class.

DarwinIFStatInterfaceMBS.Baudrate as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The linespeed.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.Baudrate)

(Read only property)

DarwinIFStatInterfaceMBS.Collisions as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of collisions on csma interfaces.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.Collisions)

(Read only property)

DarwinIFStatInterfaceMBS.InputBytes as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Total number of octets received.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.InputBytes)

(Read only property)

Some examples using this property:

DarwinIFStatInterfaceMBS.InputErrors as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of input errors on interface.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.InputErrors)

(Read only property)

DarwinIFStatInterfaceMBS.InputMulticasts as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of packets received via multicast.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.InputMulticasts)

(Read only property)

DarwinIFStatInterfaceMBS.InputPackets as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of packets received.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.InputPackets)

(Read only property)

Some examples using this property:

DarwinIFStatInterfaceMBS.MTU as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The maximum transmission unit.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.MTU)

Maximum size of a packet.

none
(Read only property)

DarwinIFStatInterfaceMBS.Name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The name of the interface.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox it.Name

e.g. lo0 for localhost, en0 for the first ethernet interface, fw0 for the first firewire interface, etc.
(Read and Write property)

DarwinIFStatInterfaceMBS.OutputBytes as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Total number of octets sent.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.OutputBytes)

(Read only property)

Some examples using this property:

DarwinIFStatInterfaceMBS.OutputErrors as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of output errors.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.OutputErrors)

(Read only property)

DarwinIFStatInterfaceMBS.OutputMulticasts as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of packets sent via multicast.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.OutputMulticasts)

(Read only property)

DarwinIFStatInterfaceMBS.OutputPackets as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The number of packets sent.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.OutputPackets)

(Read only property)

Some examples using this property:

DarwinIFStatInterfaceMBS.PhysicalType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The physical network type.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.PhysicalType)

e.g., AUI, Thinnet, 10base-T, etc

Type is the type of device which includes 1 for ethernet and 6 for Wifi.
(Read and Write property)

DarwinIFStatInterfaceMBS.Type as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 4.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The network type.
Example
dim d as new DarwinIFStatMBS
call d.Update
dim it as DarwinIFStatInterfaceMBS = d.Item(0)
MsgBox str(it.type)

e.g. ethernet, tokenring, etc

from if_types.h:

Interface types for benefit of parsing media address headers.
This list is derived from the SNMP list of ifTypes, currently documented in RFC1573.

IFT_OTHER&h1none of the following
IFT_1822&h2old-style arpanet imp
IFT_HDH1822&h3HDH arpanet imp
IFT_X25DDN&h4x25 to imp
IFT_X25&h5PDN X25 interface (RFC877)
IFT_ETHER&h6Ethernet CSMACD
IFT_ISO88023&h7CMSA CD
IFT_ISO88024&h8Token Bus
IFT_ISO88025&h9Token Ring
IFT_ISO88026&haMAN
IFT_STARLAN&hb
IFT_P10&hcProteon 10MBit ring
IFT_P80&hdProteon 80MBit ring
IFT_HY&heHyperchannel
IFT_FDDI&hf
IFT_LAPB&h10
IFT_SDLC&h11
IFT_T1&h12
IFT_CEPT&h13E1 - european T1
IFT_ISDNBASIC&h14
IFT_ISDNPRIMARY&h15
IFT_PTPSERIAL&h16Proprietary PTP serial
IFT_PPP&h17RFC 1331
IFT_LOOP&h18loopback
IFT_EON&h19ISO over IP
IFT_XETHER&h1aobsolete 3MB experimental ethernet
IFT_NSIP&h1bXNS over IP
IFT_SLIP&h1cIP over generic TTY
IFT_ULTRA&h1dUltra Technologies
IFT_DS3&h1eGeneric T3
IFT_SIP&h1fSMDS
IFT_FRELAY&h20Frame Relay DTE only
IFT_RS232&h21
IFT_PARA&h22parallel-port
IFT_ARCNET&h23
IFT_ARCNETPLUS&h24
IFT_ATM&h25ATM cells
IFT_MIOX25&h26
IFT_SONET&h27SONET or SDH
IFT_X25PLE&h28
IFT_ISO88022LLC&h29
IFT_LOCALTALK&h2a
IFT_SMDSDXI&h2b
IFT_FRELAYDCE&h2cFrame Relay DCE
IFT_V35&h2d
IFT_HSSI&h2e
IFT_HIPPI&h2f
IFT_MODEM&h30Generic Modem
IFT_AAL5&h31AAL5 over ATM
IFT_SONETPATH&h32
IFT_SONETVT&h33
IFT_SMDSICIP&h34SMDS InterCarrier Interface
IFT_PROPVIRTUAL&h35Proprietary Virtual/internal
IFT_PROPMUX&h36Proprietary Multiplexing
IFT_GIF&h37
IFT_FAITH&h38
IFT_STF&h39
IFT_L2VLAN&h87Layer 2 Virtual LAN using 802.1Q
IFT_IEEE1394&h90IEEE1394 High Performance SerialBus*/
(Read and Write property)

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...