/* Builds fc hdr and ct hdr for FDMI requests.  */
u16 fc_fdmi_reqhdr_build(struct fchs_s *fchs, void *pyld, u32 s_id, u16 cmd_code)
/* Builds fc hdr and ct hdr for FDMI requests.  */
u16 fc_fdmi_reqhdr_build(struct fchs_s *fchs, void *pyld, u32 s_id, u16 cmd_code)
{
	struct ct_hdr_s       *cthdr = (struct ct_hdr_s *) pyld;
	u32        d_id = bfa_os_hton3b(FC_MGMT_SERVER);
	fc_gs_fchdr_build(fchs, d_id, s_id, 0);
	fc_gs_fdmi_cthdr_build(cthdr, s_id, cmd_code);
	return sizeof(struct ct_hdr_s);
}