Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
fc_elsct.c File Reference
#include <linux/export.h>
#include <asm/unaligned.h>
#include <scsi/fc/fc_gs.h>
#include <scsi/fc/fc_ns.h>
#include <scsi/fc/fc_els.h>
#include <scsi/libfc.h>
#include <scsi/fc_encode.h>
#include "fc_libfc.h"

Go to the source code of this file.

Functions

struct fc_seqfc_elsct_send (struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void(*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timer_msec)
 
 EXPORT_SYMBOL (fc_elsct_send)
 
int fc_elsct_init (struct fc_lport *lport)
 
 EXPORT_SYMBOL (fc_elsct_init)
 
const charfc_els_resp_type (struct fc_frame *fp)
 

Function Documentation

EXPORT_SYMBOL ( fc_elsct_send  )
EXPORT_SYMBOL ( fc_elsct_init  )
const char* fc_els_resp_type ( struct fc_frame fp)

fc_els_resp_type() - Return a string describing the ELS response : The frame pointer or possible error code

Definition at line 91 of file fc_elsct.c.

int fc_elsct_init ( struct fc_lport lport)

fc_elsct_init() - Initialize the ELS/CT layer : The local port to initialize the ELS/CT layer for

Definition at line 78 of file fc_elsct.c.

struct fc_seq* fc_elsct_send ( struct fc_lport lport,
u32  did,
struct fc_frame fp,
unsigned int  op,
void(*)(struct fc_seq *, struct fc_frame *, void *)  resp,
void arg,
u32  timer_msec 
)
read

fc_elsct_send() - Send an ELS or CT frame : The local port to send the frame on : The destination ID for the frame : The frame to be sent : The operational code : The callback routine when the response is received

  • : The argument to pass to the response callback routine : The timeout period for the frame (in msecs)

Definition at line 43 of file fc_elsct.c.