beautypg.com

Zgate_udp_port_filtering_type – Zilog EZ80F91GA User Manual

Page 79

background image

UM024502-1012

ZGATE Logging Page

ZGATE Embedded Security Development Kit

User Manual

67

ZGATE_udp_port_filtering_type

Function Prototype

INT16 ZGATE_udp_port_filtering_type( void );

Parameters

None.

Return Value

ZGATE_FILTER_DISABLED

ZGATE does not examine the destination UDP port
number when deciding whether to forward or dis-
card received UDP datagrams.

ZGATE_BLACKLIST_FILTERING

ZGATE discards received UDP datagrams if the
destination UDP port number field matches an entry
in the

udp_port

filtering list.

ZGATE_WHITELIST_FILTERING

ZGATE forwards received UDP datagrams if the
destination UDP port number field matches an entry
in the

udp_port

filtering list.

Description

This function returns the filtering mode of the UDP destination port number filter.