beautypg.com

Zgate_set_th_interval – Zilog EZ80F91GA User Manual

Page 82

background image

ZGATE API Reference

UM024502-1012

70

ZGATE Embedded Security Development Kit
User Manual

ZGATE_set_th_interval

Function Prototype

INT16 ZGATE_set_th_interval( INT32 Interval );

Parameters

Interval

The threshold filtering interval duration, in seconds. The interval
must be at least 10 and no more than 1800 seconds.

Return Value

TRUE

The threshold filtering interval was successfully changed.

FALSE

The specified interval is invalid.

Description

ZGATE’s threshold filtering module constantly measures packet flow over a specific inter-
val of time to determine if the packet flow from a particular source has exceeded filtering
thresholds. This API is used to set the ZGATE threshold filtering interval.