The Virtual Interface Architecture

Synopsis
VIP_RETURN VipOpenNic( IN const VIP_CHAR *DeviceName, OUT VIP_NIC_HANDLE *NicHandle )
Parameters
| DeviceName : | Symbolic name of the device (VI Provider instance) associated with the NIC. |
| NicHandle : | Handle returned. The handle is used with the other functions to specify a particular instance of a VI NIC. |
Description
VipOpenNic associates a process with a VI NIC, and provides a NIC handle to the VI Consumer.
The NIC handle is used in subsequent functions in order to specify a particular NIC. A process is allowed to open the same VI NIC multiple times. Each time a process calls VipOpenNic with the same device name, a different NIC handle is returned that references the same NIC.
Returns
VIP_SUCCESS Operation completed successfully.
VIP_ERROR_RESOURCE An error was detected due to insufficient resources.
VIP_INVALID_PARAMETER One of the parameters was invalid.
Synopsis
VIP_RETURN VipCloseNic( IN VIP_NIC_HANDLE NicHandle )
Parameters
| NicHandle : | The NIC handle. |
Description
VipCloseNic removes the association between the calling process and the VI NIC that was established via the corresponding VipOpenNic function.
When a VI...