InterfaceSettings Class
This class allows users to set the configuration of a network interface for the NL2 component.
Namespace:
IntervalZero.MaxRT.NL2.Config
Assembly:
IntervalZero.MaxRT.NL2.Config (in IntervalZero.MaxRT.NL2.Config.dll) Version: 1.0.0.0 (File version: 1.0.1)
Syntax
public class InterfaceSettings : MaxRT.InterfaceSettings, INotifyPropertyChanged
The InterfaceSettings type exposes the following members:
Constructors
|
|
Name | Description |
|---|---|---|
|
|
This constructor initializes a new instance of the InterfaceSettings class to represent an existing NL2 interface. |
Methods
| Name | Description | |
|---|---|---|
|
|
Users must use this method to add an MsixMessage object to the NL2 InterfaceSettings object. This method returns the object added to the list. Using the standard List.Add function will not update the NL2 InterfaceSettings object. |
|
|
|
Users must use this method to add an RxQueue object to the NL2 InterfaceSettings object. This method returns the object added to the list. Using the standard List.Add function will not update the NL2 InterfaceSettings object. |
|
|
|
Users must use this method to add a TxQueue object to the NL2 InterfaceSettings object. This method returns the object added to the list. Using the standard List.Add function will not update the NL2 InterfaceSettings object. |
|
|
|
A static method to create an NL2 interface. |
|
|
|
Deletes the NL2 interface. Note: This operation is irreversible and results in losing all configuration data associated with the deleted network interface. |
|
|
|
Returns a list of interfaces that are configured on the system for the TCP/IP component. |
|
|
|
Users must use this method to remove an MsixMessage object from the NL2 InterfaceSettings object. Using the standard List.Remove function will not update the NL2 InterfaceSettings object. |
|
|
|
Users must use this method to remove an RxQueue object from the NL2 InterfaceSettings object. Using the standard List.Remove function will not update the NL2 InterfaceSettings object. |
|
|
|
Users must use this method to remove a TxQueue object from the NL2 InterfaceSettings object. Using the standard List.Remove function will not update the NL2 InterfaceSettings object. |
Properties
| Name | Description | |
|---|---|---|
|
|
Accesses the device Instance ID used by this NL2 interface. This property is optional and can be set to the empty string without altering the behavior of this class. |
|
|
|
Accesses the driver's name for this NL2 interface. This property is either an absolute pathname or a file name of the RTDLL driver for this NL2 device. |
|
|
|
Controls whether the interface is enabled or disabled. To enable the interface, set this property to true. To disable the interface, set it to false. New interfaces are enabled by default. |
|
|
|
Accesses the FlowControlType enumeration specifying the flow control type used by this interface. |
|
|
|
Controls whether the interface is HardwareTimestampingEnabled. To enable hardware timestamping, set this property to true. To disable hardware timestamping, set it to false. This property is disabled by default. |
|
|
|
Gets or sets the EtherType if HardwareTimestampingEnabled is true. |
|
|
|
Accesses the IngressTimeStampingRuleType enumeration specifying the Ingress Timestamp rule type used by this interface. |
|
|
|
Gets or sets the UDP port if HardwareTimestampingEnabled is true. |
|
|
|
Accesses the InterruptType enumeration specifying the interrupt type used by this interface. |
|
|
|
Gets or sets a value indicating whether this interface is the wRTOS virtual network. |
|
|
|
Controls whether jumbo frames are enabled for the interface. |
|
|
|
If jumbo frames are enabled, specify the maximum jumbo packet size in bytes. The allowed range depends on the NIC. |
|
|
|
Gets or sets the MsixMessages list populated by the NL2 InterfaceSettings object. |
|
|
|
Gets or sets the message ID for non-queue (frame transmission or frame reception) interrupts if InterruptType is RTIN_MSIX. This property will be ignored if InterruptType is not RTIN_MSIX. |
|
|
|
Accesses the unique interface name of this NL2 interface. Case is preserved in the value assigned to this property, but case is ignored when comparing this property value to any string. |
|
|
|
Gets or sets the non-MSIX Interrupt Service Thread (IST) ideal processor if InterruptType is RTIN_MSIX. This property will be ignored if InterruptType is not RTIN_MSIX. |
|
|
|
Gets or sets the Interrupt Service Thread (IST) priority for non-MSI-X interrupt types if InterruptType is RTIN_MSIX. This property will be ignored if InterruptType is not RTIN_MSIX |
|
|
|
Accesses the PCI bus location for this NL2 interface. This property value is a string in the form "X;Y;Z", where X, Y, and Z represent the bus, device, and function values, respectively, for the device. |
|
|
|
Gets or sets the RxQueues list populated by the NL2 InterfaceSettings object. |
|
|
|
Accesses the SpeedDuplexType enumeration specifying the speed/duplex type used by this interface. |
|
|
|
Gets or sets the TxQueue list populated by the NL2 InterfaceSettings object. |
Events
| Name | Description | |
|---|---|---|
|
|
An event is triggered when a property value changes. |
See Also: