Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_ioctl_fc.c File Reference
#include "ocs.h"
#include "ocs_ioctl.h"
#include "ocs_ioctl_xport.h"
#include "ocs_gendump.h"

Go to the source code of this file.

Functions

void ocs_info_get_xport_address (ocs_t *ocs, ocs_ioctl_driver_info_t *info)
 Retrieve transport port address. More...
 
int32_t ocs_device_ioctl_xport (ocs_t *ocs, unsigned int cmd, unsigned long arg)
 Perform transport specific ioctl operation. More...
 

Function Details

int32_t ocs_device_ioctl_xport ( ocs_t *  ocs,
unsigned int  cmd,
unsigned long  arg 
)

Perform transport specific ioctl operation.

Transport specific IOCTL code is found here

Parameters
ocspointer to device structure
cmdIOCTL command to execute
argIOCTL specific command argument
Returns
returns 0 for success, a negative error code value for failure.

Definition at line 76 of file ocs_ioctl_fc.c.

void ocs_info_get_xport_address ( ocs_t *  ocs,
ocs_ioctl_driver_info_t *  info 
)

Retrieve transport port address.

Returns the transport's port address into the appropriate element of the info structure argument

Parameters
ocspointer device structure
infopointer to the driver info structure
Returns
none

Definition at line 56 of file ocs_ioctl_fc.c.