Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_common.h File Reference
#include "ocs_common_shared.h"
#include "ocs_sm.h"
#include "spv.h"
#include "ocs_scsi_ini.h"
#include "ocs_scsi_tgt.h"

Go to the source code of this file.

Detailed Description

Contains declarations shared between the alex layer and HAL/SLI4

Definition in file ocs_common.h.

Data Structures

struct  ocs_domain_record_t
 Description of discovered Fabric Domain. More...
 
struct  ocs_node_group_dir_t
 Node group directory entry. More...
 
struct  ocs_sport_t
 SLI Port object. More...
 
struct  ocs_domain_t
 Fibre Channel domain object. More...
 
struct  ocs_domain_exec_arg_t
 
struct  ocs_sport_exec_arg_t
 
struct  ocs_remote_node_t
 Remote Node object. More...
 
struct  ocs_remote_node_group_t
 
struct  ocs_node_t
 FC Node object. More...
 
struct  ocs_vport_spec_t
 Virtual port specification. More...
 

Macros

#define OCS_SERVICE_PARMS_LENGTH   0x74
 
#define OCS_DISPLAY_NAME_LENGTH   32
 
#define OCS_DISPLAY_BUS_INFO_LENGTH   16
 
#define OCS_WWN_LENGTH   32
 

Typedefs

typedef struct ocs_ns_s ocs_ns_t
 

Enumerations

enum  ocs_xport_e { OCS_XPORT_FC, OCS_XPORT_ISCSI }
 
enum  ocs_sport_topology_e { OCS_SPORT_TOPOLOGY_UNKNOWN =0, OCS_SPORT_TOPOLOGY_FABRIC, OCS_SPORT_TOPOLOGY_P2P, OCS_SPORT_TOPOLOGY_LOOP }
 
enum  ocs_node_shutd_rsn_e { OCS_NODE_SHUTDOWN_DEFAULT = 0, OCS_NODE_SHUTDOWN_EXPLICIT_LOGO, OCS_NODE_SHUTDOWN_IMPLICIT_LOGO }
 
enum  ocs_node_send_ls_acc_e { OCS_NODE_SEND_LS_ACC_NONE = 0, OCS_NODE_SEND_LS_ACC_PLOGI, OCS_NODE_SEND_LS_ACC_PRLI }
 

Functions

void ocs_mgmt_domain_exec_cb (ocs_domain_t *domain, void *)
 
void ocs_mgmt_sport_exec_cb (ocs_sport_t *sport, void *)
 

Macro Details

#define OCS_DISPLAY_BUS_INFO_LENGTH   16

Definition at line 50 of file ocs_common.h.

#define OCS_DISPLAY_NAME_LENGTH   32

Definition at line 49 of file ocs_common.h.

#define OCS_SERVICE_PARMS_LENGTH   0x74

Definition at line 48 of file ocs_common.h.

#define OCS_WWN_LENGTH   32

Definition at line 52 of file ocs_common.h.

Type Details

typedef struct ocs_ns_s ocs_ns_t

Definition at line 64 of file ocs_common.h.

Enumeration Details

Enumerator
OCS_NODE_SEND_LS_ACC_NONE 
OCS_NODE_SEND_LS_ACC_PLOGI 
OCS_NODE_SEND_LS_ACC_PRLI 

Definition at line 323 of file ocs_common.h.

Enumerator
OCS_NODE_SHUTDOWN_DEFAULT 
OCS_NODE_SHUTDOWN_EXPLICIT_LOGO 
OCS_NODE_SHUTDOWN_IMPLICIT_LOGO 

Definition at line 317 of file ocs_common.h.

Enumerator
OCS_SPORT_TOPOLOGY_UNKNOWN 
OCS_SPORT_TOPOLOGY_FABRIC 
OCS_SPORT_TOPOLOGY_P2P 
OCS_SPORT_TOPOLOGY_LOOP 

Definition at line 116 of file ocs_common.h.

Enumerator
OCS_XPORT_FC 
OCS_XPORT_ISCSI 

Definition at line 46 of file ocs_common.h.

Function Details

void ocs_mgmt_domain_exec_cb ( ocs_domain_t *  domain,
void *   
)

Definition at line 1603 of file ocs_domain.c.

void ocs_mgmt_sport_exec_cb ( ocs_sport_t *  sport,
void *   
)

Definition at line 1608 of file ocs_sport.c.