tfCancelCollisionDetection
Table of Contents >> Optional Protocols >> AutoIP Configuration
#include <trsocket.h> |
ttUserIpAddress tfCancelCollisionDetection | ( |
ttUserInterface interfaceHandle, | |
ttUserIpAddress ipAddress | |
); | |
Conditional parameter. See details in Parameters below. |
Function Description
This function cancels a collision detection that had been registered with tfUseCollisionDetection().
The user will pass the IP address that is being checked for collision. tfCancelCollisionDetection() will search the list of collision detection entries, and remove the matching entry and timer if any. Collision detection for that IP address will stop.
Parameters
- interfaceHandle
- Interface ID as returned by tfAddInterface(). NOTE: This parameter is conditional and only present when TM_USE_STRONG_ESL is defined at compile time. For more information, please see Appendix C: Strong End System Model / Weak End System Model.
- ipAddress
- The IP address that is currently being checked for collision.
Returns
- TM_ENOERROR
- Success.
- TM_ENOENT
- No collision detection entry matching the IP address in 'ipAddress' was found.
Table of Contents >> Optional Protocols >> AutoIP Configuration