src/stack/sock6/sock6.h File Reference

SOCK6 private definitions. More...


Functions

void Sock6IntAbort (SOCK6 *ps)
int Sock6PrAttach (SOCK6 *ps)
int Sock6PrDetach (SOCK6 *ps)
void Sock6PrCtlError (SOCK6 *ps, uint Code)


Detailed Description

SOCK6 private definitions.

NOTE: (C) Copyright 2008, Texas Instruments, Inc.

Function Documentation

void Sock6IntAbort ( SOCK6 ps  ) 

Description
The function cleans up the internal memory for the V6 Socket.

Parameters:
[in] ps Pointer to the SOCK6 Object which will be cleaned up.
Return values:
Not Applicable.

int Sock6PrAttach ( SOCK6 ps  ) 

Description
The function attaches the SOCKET to the appropriate global family list.

Parameters:
[in] ps The pointer to the socket which we will attach to the corresponding list.
Return values:
Success - 0
Error - Non Zero

void Sock6PrCtlError ( SOCK6 ps,
uint  Code 
)

Description
The function notifies the socket of a problem. Sets the appropriate error code on the socket.

Parameters:
[in] ps The pointer to the socket to which the error needs to be notified.
[in] Code Error code indicating the problem.
Return values:
None 

int Sock6PrDetach ( SOCK6 ps  ) 

Description
The function detaches the SOCKET from the appropriate global family list.

Parameters:
[in] ps The pointer to the socket which we will detach from the corresponding list.
Return values:
Success - 0
Error - Non Zero


Copyright 2009, Texas Instruments Incorporated