C
BOOL UDPProcess( NODE_INFO * remoteNode, IP_ADDR * localIP, WORD len );
Description
This function handles an incoming UDP segment to determine if it is acceptable and should be handed to one of the stack applications for processing.
Preconditions
UDPInit() has been called an a UDP segment is ready in the MAC buffer.
Parameters
Parameters |
Description |
remoteNode |
The remote node that sent this segment. |
localIP |
The destination IP address for this segment. |
len |
Total length of the UDP segment. |
Return Values
Return Values |
Description |
TRUE |
A valid packet is waiting and the stack applications should be called to handle it. |
FALSE |
The packet was discarded. |