beautypg.com

Zgate_get_blocked_stats – Zilog EZ80F91GA User Manual

Page 72

background image

ZGATE API Reference

UM024502-1012

60

ZGATE Embedded Security Development Kit
User Manual

ZGATE_get_blocked_stats

Function Prototype

void ZGATE_get_blocked_stats( char * pBuff );

Parameters

pBuff

A pointer to a buffer into which the received packet statistics will
be placed. This buffer should be at least 60 bytes in length.

Return Value

None.

Description

This function generates a NULL-terminated ASCII string containing a count of the pack-
ets blocked by each of the ZGATE static filtering layers. The string contains the number of
packets blocked by the following four filters, and in the following sequence: Ethernet fil-
ter, IP filter, UDP filter and TCP filter.