#ifndef _FC_LIBFC_H_
#define _FC_LIBFC_H_
#define FC_LIBFC_LOGGING …
#define FC_LPORT_LOGGING …
#define FC_DISC_LOGGING …
#define FC_RPORT_LOGGING …
#define FC_FCP_LOGGING …
#define FC_EM_LOGGING …
#define FC_EXCH_LOGGING …
#define FC_SCSI_LOGGING …
extern unsigned int fc_debug_logging;
#define FC_CHECK_LOGGING(LEVEL, CMD) …
#define FC_LIBFC_DBG(fmt, args...) …
#define FC_LPORT_DBG(lport, fmt, args...) …
#define FC_DISC_DBG(disc, fmt, args...) …
#define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) …
#define FC_RPORT_DBG(rdata, fmt, args...) …
#define FC_FCP_DBG(pkt, fmt, args...) …
#define FC_EXCH_DBG(exch, fmt, args...) …
#define FC_SCSI_DBG(lport, fmt, args...) …
extern struct fc4_prov *fc_active_prov[];
extern struct fc4_prov *fc_passive_prov[];
extern struct mutex fc_prov_mutex;
extern struct fc4_prov fc_rport_t0_prov;
extern struct fc4_prov fc_lport_els_prov;
extern struct fc4_prov fc_rport_fcp_init;
void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid);
void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp);
int fc_setup_exch_mgr(void);
void fc_destroy_exch_mgr(void);
int fc_setup_rport(void);
void fc_destroy_rport(void);
int fc_setup_fcp(void);
void fc_destroy_fcp(void);
const char *fc_els_resp_type(struct fc_frame *);
extern void fc_fc4_add_lport(struct fc_lport *);
extern void fc_fc4_del_lport(struct fc_lport *);
extern void fc_fc4_conf_lport_params(struct fc_lport *, enum fc_fh_type);
u32 fc_copy_buffer_to_sglist(void *buf, size_t len,
struct scatterlist *sg,
u32 *nents, size_t *offset,
u32 *crc);
#endif