RTFW_NAL_CONFIGURATION

RTFW_NAL_CONFIGURATION represents the configuration of the Network Abstraction Layer (NAL). See structure RTFW_NETWORK_INTERFACE for configuration parameters specific to a network interface.

Syntax

typedef struct _RTFW_NAL_CONFIGURATION(
    size_t Size;
    bool AutoStart;
    DWORD IdealProcessor;
    unsigned int IoctlDispatchIdealProcessor;
    unsigned int IoctlDispatchPriority;
} RTFW_NAL_CONFIGURATION, * PRTFW_NAL_CONFIGURATION;

Members

Size

The size of this structure (in bytes). Client code must set this member to sizeof(RTFW_NAL_CONFIGURATION) before passing this structure to any function.

AutoStart

If true, the NAL automatically starts when the subsystem starts. If false, the NAL does not automatically start.

IdealProcessor

The NAL’s ideal processor. This must specify the processor number of an RTSS processor, otherwise RtfwSetNALConfiguration fails and sets the last error value to ERROR_INVALID_PARAMETER. If this value is RTFW_FIRST_RTSS_PROCESSOR, it refers to the first RTSS processor, regardless of the actual number of the first RTSS processor.

IoctlDispatchIdealProcessor

The NAL’s dispatch thread ideal processor. The specified value must be a non-negative integer referencing an RTSS processor number.

IoctlDispatchPriority

The priority of the NAL’s dispatch thread.

Requirements

Minimum Required Version RTX64 4.0
Header RtfwAPI.h
Library RtfwAPI.lib

See Also:

RTFW_NETWORK_INTERFACE

RTFW_SUBSYSTEM_CONFIGURATION

RtfwSetNALConfiguration

RtfwGetNALConfiguration