Function Prototypes:ttDevOneScatSendFunc

Jump to: navigation, search

Table of Contents >> Integrating Treck >> Adding a Device Driver


int (*ttDevOneScatSendFuncPtr) (
ttUserInterface interfaceHandle,
ttUserPacketPtr packetUPtr
);


Function Description

This device driver function is registered with the Treck stack via tfUseInterfaceOneScatSend. Treck will call this function when a packet is to be sent on the specified interface.


Parameters


Returns

  • int
    Valid values are TM_DEV_OKAY to indicate success and TM_DEV_ERROR to indicate failure.


Table of Contents >> Integrating Treck >> Adding a Device Driver