OAL_KITLETH_CURRENT_PACKET_FILTER (Compact 2013)

10/16/2014

This function pointer updates the current packet filter for the KITL Ethernet device driver.

Syntax

typedef VOID (*OAL_KITLETH_CURRENT_PACKET_FILTER)(
  UINT32 filter
);

Parameters

  • filter
    [in] Specifies the packet filter. The following table shows the filters that can be used.

    Flag

    Description

    PACKET_TYPE_DIRECTED

    Filters on directed packets.

    PACKET_TYPE_MULTICAST

    Filters on multicast packets.

    PACKET_TYPE_ALL_MULTICAST

    Filters on all multicast packets.

    PACKET_TYPE_BROADCAST

    Filters on broadcast packets.

    PACKET_TYPE_SOURCE_ROUTING

    Filters on source routed packets.

    PACKET_TYPE_PROMISCUOUS

    Filters on promiscuous packets.

    PACKET_TYPE_SMT

    Filters on SMT packets.

    PACKET_TYPE_ALL_LOCAL

    Filters on all local packets.

    PACKET_TYPE_MAC_FRAME

    Filters on MAC frames.

    PACKET_TYPE_FUNCTIONAL

    Filters on functional packets.

    PACKET_TYPE_ALL_FUNCTIONAL

    Filters on all functional packets.

    PACKET_TYPE_GROUP

    Filters on group packets.

Return Value

None.

Remarks

The pfnCurrentPacketFilter member of the OAL_KITL_ETH_DRIVER structure points to the custom function that implements OAL_KITLETH_CURRENT_PACKET_FILTER.

Requirements

Header

oal_kitl.h

Library

Developer Implemented

See Also

Reference

KITL Functions for Ethernet Drivers
KITL Functions for Production-Quality OAL