Zgate_set_th_hw – Zilog EZ80F91GA User Manual
Page 83

UM024502-1012
ZGATE Logging Page
ZGATE Embedded Security Development Kit
User Manual
71
ZGATE_set_th_HW
Function Prototype
INT16 ZGATE_set_th_HW( INT32 HW_Thresh );
Parameters
HW_Thresh
The new threshold filtering high-water (upper) threshold. This
high-water threshold must be greater than 100 and must be at
least double the low-water threshold.
Return Value
TRUE
The threshold filtering high-water threshold was successfully
changed.
FALSE
The specified high-water threshold value is invalid.
Description
After ZGATE detects that a node on the local network is sending packets to ZTP at a rate
approaching the high-water threshold, subsequent packets from that source IP address will
be blocked until the node’s transmission rate falls below the low-water threshold. This
API is used to alter the high-water threshold.