
ZGATE API Reference UM024502-1012
64
ZGATE Embedded Security Development Kit
User Manual
ZGATE_ip_prot_filtering_type
Function Prototype
INT16 ZGATE_ip_prot_filtering_type( void );
Parameters
None.
Return Value
ZGATE_FILTER_DISABLED ZGATE does not examine the protocol field when
deciding whether to forward or discard received IP
packets.
ZGATE_BLACKLIST_FILTERING ZGATE discards received IP packets if the protocol
field matches an entry in the
IP_Prot filtering list.
ZGATE_WHITELIST_FILTERING ZGATE forwards received IP packets if the protocol
field matches an entry in the
IP_Prot filtering list.
Description
This function returns the filtering mode of the IP protocol filter.
Commenti su questo manuale