#ifndef _FC_ENCODE_H_
#define _FC_ENCODE_H_
#include <asm/unaligned.h>
#include <linux/utsname.h>
#include <scsi/fc/fc_ms.h>
#define FC_FCTL_REQ …
#define FC_FCTL_RESP …
struct fc_ns_rft { … };
struct fc_ct_req { … };
static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp)
{ … }
static inline struct fc_ct_req *fc_ct_hdr_fill(const struct fc_frame *fp,
unsigned int op, size_t req_size,
enum fc_ct_fs_type fs_type,
u8 subtype)
{ … }
static inline int fc_ct_ns_fill(struct fc_lport *lport,
u32 fc_id, struct fc_frame *fp,
unsigned int op, enum fc_rctl *r_ctl,
enum fc_fh_type *fh_type)
{ … }
static inline void fc_ct_ms_fill_attr(struct fc_fdmi_attr_entry *entry,
const char *in, size_t len)
{ … }
static inline int fc_ct_ms_fill(struct fc_lport *lport,
u32 fc_id, struct fc_frame *fp,
unsigned int op, enum fc_rctl *r_ctl,
enum fc_fh_type *fh_type)
{ … }
static inline int fc_ct_fill(struct fc_lport *lport,
u32 fc_id, struct fc_frame *fp,
unsigned int op, enum fc_rctl *r_ctl,
enum fc_fh_type *fh_type, u32 *did)
{ … }
static inline void fc_plogi_fill(struct fc_lport *lport, struct fc_frame *fp,
unsigned int op)
{ … }
static inline void fc_flogi_fill(struct fc_lport *lport, struct fc_frame *fp)
{ … }
static inline void fc_fdisc_fill(struct fc_lport *lport, struct fc_frame *fp)
{ … }
static inline void fc_logo_fill(struct fc_lport *lport, struct fc_frame *fp)
{ … }
static inline void fc_rtv_fill(struct fc_lport *lport, struct fc_frame *fp)
{ … }
static inline void fc_rec_fill(struct fc_lport *lport, struct fc_frame *fp)
{ … }
static inline void fc_prli_fill(struct fc_lport *lport, struct fc_frame *fp)
{ … }
static inline void fc_scr_fill(struct fc_lport *lport, struct fc_frame *fp)
{ … }
static inline int fc_els_fill(struct fc_lport *lport,
u32 did,
struct fc_frame *fp, unsigned int op,
enum fc_rctl *r_ctl, enum fc_fh_type *fh_type)
{ … }
#endif