The Virtual Interface Architecture

Appendix A: VIPL Calls

Hardware Connection

VipOpenNic

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.

VipCloseNic

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...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Network Security Platforms
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.