tfInterfaceGetPhysPort
| int tfInterfaceGetPhysPort | ( |
| ttUserInterface interfaceHandle, | |
| int physPortl | |
| ); |
Function Description
This function gets the physical port for the given interface.
Parameters
- interfaceHandle
- The interface handle.
- phyPort
- The physical port set by the user.
Returns
- >=0
- This is the physical port that has been assigned (by the user through tfInterfaceSetPhysPort()) to interfaceHandle.
- -1
- This indicates failure because interfaceHandle is invalid.
Usage
Associate a physical port with an interface handle by using tfInterfaceSetPhysPort(). Use this function to acquire the physical port for each interfaceHandle. For details on Strong End System Model see Appendix C: Strong End System Model / Weak End System Model.