Rtfwnl2EnableInterface
Rtfwnl2EnableInterface enables or disables a Network Link Layer (NL2) interface.
Syntax
bool Rtfwnl2EnableInterface(
[in] TCHAR * Name,
[in] bool Enable
);
Parameters
[in] Name
A pointer to the name of an existing NL2 interface. This value is not case sensitive.
[in] Enable
True enables the interface. False disables the interface.
Return Value
If the function succeeds, it returns true. If the function fails, it returns false.
Remarks
Rtfwnl2EnableInterface causes the enabled interface’s configuration to be re-validated, which can cause various errors, depending on the configuration data for this and other interfaces.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
Rtfwnl2Api.h |
Rtfwnl2Api.lib |
See Also: