@CHIP-RTOS C Library V2.06 - TCP/IP API
PPP_Client_Open_IPv6
Open a PPP connection with IPv6 address configuration. int PPP_Client_Open_IPv6 ( PPPClient_Init_IPv6 far *ptr,
int *error ); Parameters
ptr
- Pointer to a
PPPClient_Init_IPv6
type data structure (declared in tcpipapi.h)
error
- Output parameter: Failure
code, 0 on success.
Return Value
- 0 = success
Non-zero = Failure (see error
output parameter)
Comments
- IPv6 address configuration is done by an auto negotiation process.
At connection time the peers negotiate an Interface-ID for the PPP device and
auto configure their link-local scope addresses. After sucessful
return of this function the PPPClieipAddrStr and
PPPClieRemipAddrStr members of the PPPClient_Init_IPv6
data structure are filled with the negotiated IPv6 addresses.
On success, the structure at ptr
contains the needed
IP data for further TCP/IP socket communication.
Refer to the PPP6CLIE.C example for how to use this API.
Also refer to
PPPClient_Init_IPv6
data structure documentation.
Note: Only one PPP client connection can be opened
at a time!!
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
n/a | n/a | n/a | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|