#[repr(C)]pub struct nbft_info_subsystem_ns {Show 20 fields
pub index: c_int,
pub discovery: *mut nbft_info_discovery,
pub security: *mut nbft_info_security,
pub num_hfis: c_int,
pub hfis: *mut *mut nbft_info_hfi,
pub transport: [c_char; 8],
pub traddr: [c_char; 40],
pub trsvcid: *mut c_char,
pub subsys_port_id: __u16,
pub nsid: __u32,
pub nid_type: nbft_info_nid_type,
pub nid: *mut __u8,
pub subsys_nqn: *mut c_char,
pub pdu_header_digest_required: bool,
pub data_digest_required: bool,
pub controller_id: c_int,
pub asqsz: c_int,
pub dhcp_root_path_string: *mut c_char,
pub discovered: bool,
pub unavailable: bool,
}Expand description
struct nbft_info_subsystem_ns - Subsystem Namespace (SSNS) info @index: SSNS Descriptor Index in the descriptor list. @discovery: Primary Discovery Controller associated with this SSNS Descriptor. @security: Security Profile Descriptor associated with this namespace. @num_hfis: Number of HFIs. @hfis: List of HFIs associated with this namespace. Includes the primary HFI at the first position and all secondary HFIs. This array is null-terminated. @transport: Transport Type string (e.g. ‘tcp’). @traddr: Subsystem Transport Address. @trsvcid: Subsystem Transport Service Identifier. @subsys_port_id: The Subsystem Port ID. @nsid: The Namespace ID of this descriptor or when @nid should be used instead. @nid_type: Namespace Identifier Type, see &enum nbft_info_nid_type. @nid: The Namespace Identifier value. @subsys_nqn: Subsystem and Namespace NQN. @pdu_header_digest_required: PDU Header Digest (HDGST) Flag: the use of NVM Header Digest Enabled is required. @data_digest_required: Data Digest (DDGST) Flag: the use of NVM Data Digest Enabled is required. @controller_id: Controller ID (SSNS Extended Information Descriptor): The controller ID associated with the Admin Queue or 0 if not supported. @asqsz: Admin Submission Queue Size (SSNS Extended Information Descriptor) or 0 if not supported. @dhcp_root_path_string: DHCP Root Path Override string (SSNS Extended Information Descriptor). @discovered: Indicates that this namespace was acquired through discovery. @unavailable: Namespace is unavailable as indicated by the pre-OS driver.
Fields§
§index: c_int§discovery: *mut nbft_info_discovery§security: *mut nbft_info_security§num_hfis: c_int§hfis: *mut *mut nbft_info_hfi§transport: [c_char; 8]§traddr: [c_char; 40]§trsvcid: *mut c_char§subsys_port_id: __u16§nsid: __u32§nid_type: nbft_info_nid_type§nid: *mut __u8§subsys_nqn: *mut c_char§pdu_header_digest_required: bool§data_digest_required: bool§controller_id: c_int§asqsz: c_int§dhcp_root_path_string: *mut c_char§discovered: boolTrait Implementations§
Source§impl Clone for nbft_info_subsystem_ns
impl Clone for nbft_info_subsystem_ns
Source§fn clone(&self) -> nbft_info_subsystem_ns
fn clone(&self) -> nbft_info_subsystem_ns
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more