beautypg.com

Zgate_eth_addr_filtering_type – Zilog EZ80F91GA User Manual

Page 75

background image

UM024502-1012

ZGATE Logging Page

ZGATE Embedded Security Development Kit

User Manual

63

ZGATE_eth_addr_filtering_type

Function Prototype

INT16 ZGATE_eth_addr_filtering_type( void );

Parameters

None.

Return Value

ZGATE_FILTER_DISABLED

ZGATE does not examine the source address field
when deciding whether to forward or discard
received Ethernet frames.

ZGATE_BLACKLIST_FILTERING

ZGATE discards received Ethernet frames if the
source address field matches an entry in the

eth_addr

filtering list.

ZGATE_WHITELIST_FILTERING

ZGATE forwards received Ethernet frames if the
source address field matches an entry in the

eth_addr

filtering list.

Description

This function returns the filtering mode of the Ethernet source address filter.