beautypg.com

Zgate_remove_eth_frame – Zilog EZ80F91GA User Manual

Page 92

background image

ZGATE API Reference

UM024502-1012

80

ZGATE Embedded Security Development Kit
User Manual

ZGATE_remove_eth_frame

Function Prototype

INT16 ZGATE_remove_eth_frame( INT32 FrameType );

Parameters

FrameType

Ethernet frame type to be removed from the Ethernet frame type
static filtering list. The value of FrameType must be between 0
and 65535.

Return Value

TRUE

FrameType was successfully removed from the Ethernet frame
type static filtering list.

FALSE

FrameType is invalid, does not exist in the Ethernet frame type
static filtering list or Ethernet frame type filtering is disabled.

Description

When the Ethernet Frame Type filter is operating in WHITELIST (forwarding) or
BLACKLIST (blocking) Mode, it extracts the Type field from inbound Ethernet frames
and compares the frame type to entries in the Ethernet Frame Type filtering list. If a match
is found, the frame is forwarded to ZTP if the filter operates in WHITELIST Mode and
blocked from TCP if the filter operates in BLACKLIST Mode.

This API is used to remove an entry from the Ethernet Frame Type static filtering list.
Entries cannot be removed from the list if the Ethernet Frame Type filter is disabled.