src/stack/sock6/sock6prot.c File Reference

The file implements the SOCKET6 Family. More...


Functions

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


Detailed Description

The file implements the SOCKET6 Family.

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

Function Documentation

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