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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

This function is used to add a route for an interface. It allows packets for a different network to be routed by<br />

the interface.<br />

Parameters<br />

AH<br />

BX<br />

DX:SI<br />

ES:DI<br />

0x83 (= ADD_STATIC_ROUTE)<br />

Device entry of the gateway, 0: Ethernet, 1: PPP server, 2: PPP client, 3: User device driver<br />

If BX = 3, DX:SI must contain User device handle pointer.<br />

Pointer to user Route_Entry structure<br />

Return Value<br />

Comments<br />

DX = 0, AX = 0: Success<br />

DX = -1: AX contains error code<br />

The Route_Entry structure is defined in tcpipapi.h:<br />

Related Topics<br />

Top of list<br />

Index page<br />

DEL_STATIC_ROUTE API function<br />

Interrupt 0xAC service 0x84: DEL_STATIC_ROUTE, Delete a route for an interface<br />

Parameters<br />

AH<br />

ES:DI<br />

This function is used to delete a route from an interface.<br />

0x84 (= DEL_STATIC_ROUTE)<br />

Pointer to user Route_Entry structure<br />

Return Value<br />

Comments<br />

DX: 0, AX 0 success<br />

DX:-1, AX contains error code<br />

Only structure members destIPAddress and destNetmask must be valid at the function's call.<br />

Page 144 / 400

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

Saved successfully!

Ooh no, something went wrong!