Zgate_eth_frame_filtering_type – Zilog EZ80F91GA User Manual
Page 74
Advertising

ZGATE API Reference
UM024502-1012
62
ZGATE Embedded Security Development Kit
User Manual
ZGATE_eth_frame_filtering_type
Function Prototype
INT16 ZGATE_eth_frame_filtering_type( void );
Parameters
None.
Return Value
ZGATE_FILTER_DISABLED
ZGATE does not examine the Type field when
deciding whether to forward or discard received
Ethernet frames.
ZGATE_BLACKLIST_FILTERING
ZGATE discards received Ethernet frames if the
Type field matches an entry in the
eth_frame
fil-
tering list.
ZGATE_WHITELIST_FILTERING
ZGATE forwards received Ethernet frames if the
Type field matches an entry in the
eth_frame
fil-
tering list.
Description
This function returns the filtering mode of the Ethernet frame type filter.
Advertising