01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Comments<br />

void far * DevGetPhysAddr; // Ethernet driver only, returns MAC address,<br />

// else pass a Null pointer.<br />

void far * DevFreeRecv; // Free own allocated buffer,<br />

// optional (pass a Null pointer if not used).<br />

void far * DevIoctl; // Currently not supported, pass a Null pointer.<br />

int far * ErrorCode; // Contains error code, if driver install<br />

// (API call 0xAC 0xA0) failed.<br />

void far * Reserved4; // reserved for future extensions<br />

void far * Reserved5;<br />

void far * Reserved6;<br />

} DevUserDriver;<br />

This is the main structure which is needed for installing your own device drivers/interfaces for the TCP/IP stack of the <strong>@CHIP</strong>-<br />

<strong>RTOS</strong>.<br />

Related Topics<br />

Top of list<br />

Index page<br />

API function DEV_OPEN_IFACE - Open/install a user TCP/IP device driver/interface<br />

DevUserIfaceHandle type - IfaceHandle structure member<br />

DevUserLinkLayer type - LinkLayerHandle structure member<br />

UserEthDhcp_Entry type - Dhcp_Data structure member<br />

DevUserIfaceHandle<br />

Comments<br />

A handle of this type is returned in the IfaceHandle member of the DevUserDriver structure used in the<br />

DEV_OPEN_IFACE API.<br />

typedef void far * DevUserIfaceHandle; // handle type, to identify a user interface<br />

The data referenced by this handle is private and internal to the <strong>@CHIP</strong>-<strong>RTOS</strong> TCP/IP stack.<br />

Related Topics<br />

Top of list<br />

Index page<br />

API function DEV_OPEN_IFACE - Open/install a user TCP/IP device driver/interface<br />

DevUserLinkLayer<br />

Top of list<br />

Index page<br />

typedef void far * DevUserLinkLayer; // handle type to identify link layer,<br />

// (needed for internal use)<br />

GetSocketOption<br />

Page 164 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!