tfInterfaceSetPhysPort

Jump to: navigation, search
int tfInterfaceSetPhysPort (
ttUserInterface interfaceHandle,
int physPortl
);


Function Description

This function sets the physical port for the given interface.


Parameters

  • interfaceHandle
    The interface handle.
  • phyPort
    The physical port set by the user.


Returns

  • TM_ENOERROR
    Success
  • TM_EINVAL
    Failure: The interfaceHandle or physPort is invalid.


Usage

Associate a physical port with an interface handle using this API. You can acquire the physical port for each interface by using tfInterfaceGetPhysPort(). For details on Strong End System Model see Appendix C: Strong End System Model / Weak End System Model.