Functions | |
void | Sock6SpawnAbort (HANDLE h) |
int | Sock6Notify (HANDLE h, int Notification) |
HANDLE | Sock6ValidateRoute (HANDLE h) |
PBM_Pkt * | Sock6CreatePacket (HANDLE hSock, uint Payload, uint NextHeader) |
PBM_Pkt* Sock6CreatePacket | ( | HANDLE | hSock, | |
uint | Payload, | |||
uint | NextHeader | |||
) |
Description
The function creates an IPv6 packet for the SOCKET6 Family. It fills in the IPv6 header of the packet with values from the socket if a valid handle is passed, else with defaults.
[in] | hSock | Handle of the socket for which the packet is being created. |
[in] | Payload | Size of the packet |
[in] | NextHeader | Size of the packet |
Success | - Pointer to the packet created | |
Error | - NULL |
int Sock6Notify | ( | HANDLE | h, | |
int | Notification | |||
) |
Description
This function is called by Layer4 to notify the socket of any read/write/connection status activity.
[in] | h | Socket handle on which activity has been detected |
[in] | Notification | Notification Event detected. |
1 | - Message was accepted | |
0 | - Message was not accepted |
void Sock6SpawnAbort | ( | HANDLE | h | ) |
Description
This function is called to abort a socket spawned via a call to Sock6PcbResolve
[in] | h | Socket handle of the Spawned socket. |
Not | Applicable. |
HANDLE Sock6ValidateRoute | ( | HANDLE | h | ) |
Description
This function finds and caches a route in the SOCK6 object. The Foreign IP associated with the socket is used to determine the route.
[in] | h | Socket handle on which route is to be cached |
Success | - Handle to the ROUTE6 object | |
Error | - 0 |