linux/include/uapi/scsi/fc/fc_ns.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * Copyright(c) 2007 Intel Corporation. All rights reserved.
 *
 * Maintained at www.Open-FCoE.org
 */

#ifndef _FC_NS_H_
#define _FC_NS_H_

#include <linux/types.h>

/*
 * Fibre Channel Services - Name Service (dNS)
 * From T11.org FC-GS-2 Rev 5.3 November 1998.
 */

/*
 * Common-transport sub-type for Name Server.
 */
#define FC_NS_SUBTYPE

/*
 * Name server Requests.
 * Note:  this is an incomplete list, some unused requests are omitted.
 */
enum fc_ns_req {};

/*
 * Port type values.
 */
enum fc_ns_pt {};

/*
 * Port type object.
 */
struct fc_ns_pt_obj {};

/*
 * Port ID object
 */
struct fc_ns_fid {};

/*
 * fp_flags in port ID object, for responses only.
 */
#define FC_NS_FID_LAST

/*
 * FC4-types object.
 */
#define FC_NS_TYPES
#define FC_NS_BPW

struct fc_ns_fts {};

/*
 * FC4-features object.
 */
struct fc_ns_ff	{};

/*
 * GID_PT request.
 */
struct fc_ns_gid_pt {};

/*
 * GID_FT or GPN_FT request.
 */
struct fc_ns_gid_ft {};

/*
 * GPN_FT response.
 */
struct fc_gpn_ft_resp {};

/*
 * GID_PN request
 */
struct fc_ns_gid_pn {};

/*
 * GID_PN response or GSPN_ID request
 */
struct fc_gid_pn_resp {};

/*
 * GSPN_ID response
 */
struct fc_gspn_resp {};

/*
 * RFT_ID request - register FC-4 types for ID.
 */
struct fc_ns_rft_id {};

/*
 * RPN_ID request - register port name for ID.
 * RNN_ID request - register node name for ID.
 */
struct fc_ns_rn_id {} __attribute__((packed));

/*
 * RSNN_NN request - register symbolic node name
 */
struct fc_ns_rsnn {} __attribute__((packed));

/*
 * RSPN_ID request - register symbolic port name
 */
struct fc_ns_rspn {} __attribute__((packed));

/*
 * RFF_ID request - register FC-4 Features for ID.
 */
struct fc_ns_rff_id {} __attribute__((packed));

#endif /* _FC_NS_H_ */