www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - TCP/IP API


Get_IPConfig

Get IP, subnet mask of the default ethernet interface and/or gateway.

void Get_IPConfig ( char far *IP,
                    char far *Mask, char far *Gateway );

Parameters

IP

Output parameter:   Pointer to a 16 byte memory area where the IP address is to be stored as a null terminated string.

Mask

Output parameter:   Pointer to a 16 byte memory area where the subnet mask is to be stored as a null terminated string.

Gateway

Output parameter:   Pointer to a 16 byte memory area where the gateway address is to be stored as a null terminated string.

Return Value

-- none --

Comments

Any of the three output parameters can be set to NULL pointers if the respective output is not desired.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document