Home > C: Programming > Function Descriptions > History back  Previous chapter  Next chapter  Print  

is_SetPacketFilter

uEye Camera Manual Version 3.80

is_SetPacketFilter

Windows_Logo

Linux_Logo

GigE

GigE

Syntax

INT is_SetPacketFilter (INT iAdapterID, UINT uFilterSetting)

Description

Using is_SetPacketFilter(), you can set the packet filter for a network adapter.

 

Hinweis

The is_SetPacketFilter() function is only supported by the cameras of the GigE uEye series.

 

Hinweis

Only incoming packets are filtered.

Regardless of this setting, ICMP (Ping) and ARP packets are always forwarded to the operating system.

 

Input Parameters

iAdapterID

Internal adapter ID of the network adapter. It is returned by the is_GetEthDeviceInfo() function in the UEYE_ETH_ADAPTER_INFO structure.

uFilterSetting


IS_ETH_PCKTFLT_PASSALL

Forward all packets to the operating system.

IS_ETH_PCKTFLT_BLOCKUEGET

Block GigE uEye data packets directed to the operating system (recommended).

IS_ETH_PCKTFLT_BLOCKALL

Block all packets directed to the operating system.

     

Return Values

IS_SUCCESS

Function executed successfully

IS_INVALID_PARAMETER

uFilterSetting is invalid.

IS_CANT_OPEN_DEVICE

Driver could not be found.

IS_IO_REQUEST_FAILED

Driver communication failed.

Related Functions

is_GetEthDeviceInfo()
is_SetAutoCfgIpSetup()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com