TCPIP_IPV4_FILTER_TYPE Enumeration

C

typedef enum {
TCPIP_IPV4_FILTER_NONE = 0x00,
TCPIP_IPV4_FILTER_UNICAST = 0x01,
TCPIP_IPV4_FILTER_BROADCAST = 0x02,
TCPIP_IPV4_FILTER_MULTICAST = 0x04
} TCPIP_IPV4_FILTER_TYPE;

Description

IPv4 packet filters.

This is the list of the packet filters that are supported by this IPv4 implementation. There are 3 types of IPv4 packets currently supported:

  • unicast

  • broadcast

  • multicast

An IPV4 packet is accepted if the filter corresponding to the packet type is not set.

Parameters

ParametersDescription
TCPIP_IPV4_FILTER_NONE = 0x00No packet filter active. All packets are accepted.
TCPIP_IPV4_FILTER_UNICAST = 0x01Unicast packets will be filtered out.
TCPIP_IPV4_FILTER_BROADCAST = 0x02Broadcast packets will be filtered out.
TCPIP_IPV4_FILTER_MULTICAST = 0x04Multicast packets will be filtered out.

Returns

None.

Remarks

Multiple filters can be set.

If no filter is set, all packets are accepted; this is the default case.