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 delete the default gateway.<br />

Parameters<br />

AH<br />

ES:DI<br />

0x81 (= DEL_DEFAULT_GATEWAY)<br />

Pointer to an unsigned long containing the gateway IP to be deleted in network byte order.<br />

Return Value<br />

Comments<br />

DX: 0, AX 0 success<br />

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

If this function is used, the gateway entry in the chip.ini becomes invalidated, but unchanged.<br />

Related Topics<br />

Top of list<br />

Index page<br />

ADD_DEFAULT_GATEWAY API function<br />

IP Gateway chip.ini Configuration<br />

PPP server Gateway chip.ini Configuration<br />

Interrupt 0xAC service 0x82: GET_DEFAULT_GATEWAY, Get the current default gateway<br />

Parameters<br />

AH<br />

ES:DI<br />

This function is used to get the default gateway for all interfaces.<br />

0x82 (= GET_DEFAULT_GATEWAY)<br />

Output Parameter: Pointer to user's unsigned long variable where the gateway IP will be written.<br />

Return Value<br />

Top of list<br />

Index page<br />

DX = 0, AX = 0: Success. Location at [ES:DI] contains the gateway IP in network byte order.<br />

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

Interrupt 0xAC service 0x83: ADD_STATIC_ROUTE, Add a route for an interface<br />

Page 143 / 400

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

Saved successfully!

Ooh no, something went wrong!