次の方法で共有


OAL_KITLETH_SEND_FRAME (Compact 2013)

10/16/2014

This function pointer sends an Ethernet frame to the network.

Syntax

typedef UINT16 (*OAL_KITLETH_SEND_FRAME)(
  UINT8 *pData,
  UINT32 size
);

Parameters

  • pData
    [in] Pointer to the packet data.
  • size
    [in] Length of the packet data, in bytes.

Return Value

Returns 0 on success. If any other value is returned, the function call failed.

Remarks

The pfnSendFrame member of the OAL_KITL_ETH_DRIVER structure points to the custom function that implements OAL_KITLETH_SEND_FRAME.

Requirements

Header

oal_kitl.h

Library

Developer Implemented

See Also

Reference

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