beautypg.com

Zgate_ip_addr_filtering_type – Zilog EZ80F91GA User Manual

Page 77

background image

UM024502-1012

ZGATE Logging Page

ZGATE Embedded Security Development Kit

User Manual

65

ZGATE_ip_addr_filtering_type

Function Prototype

INT16 ZGATE_ip_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 IP packets.

ZGATE_BLACKLIST_FILTERING

ZGATE discards received IP packets if the source
address field matches an entry in the

IP_Addr

fil-

tering list.

ZGATE_WHITELIST_FILTERING

ZGATE forwards received IP packets if the source
address field matches an entry in the

IP_Addr

fil-

tering list.

Description

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