KITL Functions for Ethernet Drivers (Compact 2013)

10/16/2014

The following table shows the production-quality OAL functions that apply to Ethernet, USB Ethernet, and USB RNDIS drivers. These functions are provided for you in the common kernel independent transport layer (KITL) library (OAL_Kitl.lib).

Programming element

Description

OAL_KITLETH_CURRENT_PACKET_FILTER

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

OAL_KITLETH_DEINIT

This function pointer de-initializes the KITL Ethernet device driver.

OAL_KITLETH_DISABLE_INTS

This function pointer disables the KITL transport interrupts if the transport is interrupt-based.

OAL_KITLETH_ENABLE_INTS

This function pointer enables the KITL transport interrupts if the transport is interrupt-based.

OAL_KITLETH_GET_FRAME

This function pointer checks to see if a frame has been received, and, if one has been received, it copies the frame to a buffer.

OAL_KITLETH_INIT_DMABUFFER

This function pointer initializes direct memory access (DMA) buffers for the KITL Ethernet device driver.

OAL_KITLETH_INIT

This function pointer initializes the KITL Ethernet device driver.

OAL_KITLETH_MULTICAST_LIST

This function pointer updates multicast addresses for the KITL Ethernet device driver.

OAL_KITLETH_POWER_OFF

This function pointer turns off the KITL Ethernet hardware.

OAL_KITLETH_POWER_ON

This function pointer turns on the KITL Ethernet hardware.

OAL_KITLETH_SEND_FRAME

This function pointer sends an Ethernet frame.

OALKitlCreateName

This function creates the KITL device name from the prefix and the media access control (MAC) address.

OALKitlIPtoString

This function converts the IP address to a string.

OALKitlMACtoString

This function converts the MAC address to a string.

OALKitlStringToIP

This function converts a string to an IP address.

OALKitlStringToMAC

This function converts a string to a MAC address.

See Also

Reference

KITL Functions for Production-Quality OAL
KITL Reference for Production-Quality OAL