IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ pktSetReceiveMode()

int pktSetReceiveMode ( DevUserIfaceHandle  devHandle,
int  mode 
)

Set the receiver mode of a device.

Parameters
[in]devHandleDevice handle to identify the interface.
[in]mode1: Receive packets addressed to broadcast or own device MAC address
2: Receive all packets (promiscuous mode)
Returns
0 on success
-1 on failure
Since
V0.84
See also
Dev_Find_Iface_By_Name()





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:14 by Doxygen 1.8.13