INtime SDK Help
hpeSetPromiscuousMode
INtime SDK v7.1 > About INtime > Networking and I/O > High-Performance Ethernet > hpeSetPromiscuousMode

Enables or disable receipt of all packets (promiscuous mode).

HPESTATUS hpeSetPromiscuousMode(
    HPEHANDLE devhandle,
    BOOL on
);

Parameters

devhandle
A handle value for the device.
on
TRUE – enables promiscuous mode
FALSE- disable promiscuous mode.

Return Values

A status value indicating the success or failure of the operation:

E_OK The operation completed successfully.
E_EXIST The handle given is not a handle for an open HPE interface.

Requirements

Versions Defined in Include Link to
INtime 6.0 (HPE3) intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also