RTNAL_ETHERNET_FILTER

Structure RTNAL_ETHERNET_FILTER is a parameter to RtndIoctl to set, get, or remove an Ethernet type filter with ioctls RTNAL_IOCTL_SET_RX_ETHERTYPE_FILTER, RTNAL_IOCTL_GET_RX_ETHERTYPE_FILTER, and RTNAL_IOCTL_CLEAR_RX_ETHERTYPE_FILTER.

Syntax

typedef struct RTNAL_ETHERNET_FILTER{	
       ULONG   filterIndex;
       ULONG   queueNumber;
   	USHORT  etherType;
   	BOOL    bAddTimeStamp;
   	BOOL    bLowLatencyInterrupt;
}RTNAL_ETHERTYPE_FILTER, *PRTNAL_ETHERTYPE_FILTER;

Fields

filterIndex

Indicates which entry in the filter should be used with the match pattern of etherType. The range of filter indexes is device-specific. For the RtNalIGB and RtNalI10GB drivers, this value is a number between 0-7.

queueNumber

The interface queue number.

etherType

A two-octet field in an Ethernet frame used to indicate which protocol is encapsulated in the payload of an Ethernet Frame. Ethernet frames with a matching etherType are enabled for receive on the driver queue.

bAddTimeStamp

If bAddTimeStamp is TRUE, all packets with a matching etherType will be timestamped.

bLowLatencyInterrupt

When set, packets that match this filter generate a low latency interrupt.

Requirements

Minimum Supported Version RTX64 4.0
Header rtnapi.h, RtNalApi.h
Library RtNal.lib