Class: Nl::Linux::Devlink::Messages::DumpRegionReadRequest

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/devlink.rb

Overview

Read region data.

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
46
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Devlink
ATTRIBUTES =
Ractor.make_shareable(%i[bus_name dev_name port_index region_name region_snapshot_id region_chunk_addr region_chunk_len region_direct index])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#bus_name ⇒ String

Returns:

  • (String)

See Also:



6380
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6380

def bus_name; attributes[:"bus_name"]&.value; end

#dev_name ⇒ String

Returns:

  • (String)

See Also:



6384
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6384

def dev_name; attributes[:"dev_name"]&.value; end

#index ⇒ Integer

Unique devlink instance index.

Returns:

  • (Integer)

See Also:



6413
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6413

def index; attributes[:"index"]&.value; end

#port_index ⇒ Integer

Returns:

  • (Integer)

See Also:



6388
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6388

def port_index; attributes[:"port_index"]&.value; end

#region_chunk_addr ⇒ Integer

Returns:

  • (Integer)

See Also:



6400
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6400

def region_chunk_addr; attributes[:"region_chunk_addr"]&.value; end

#region_chunk_len ⇒ Integer

Returns:

  • (Integer)

See Also:



6404
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6404

def region_chunk_len; attributes[:"region_chunk_len"]&.value; end

#region_direct ⇒ Integer

Returns:

  • (Integer)

See Also:



6408
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6408

def region_direct; attributes[:"region_direct"]&.value; end

#region_name ⇒ String

Returns:

  • (String)

See Also:



6392
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6392

def region_name; attributes[:"region_name"]&.value; end

#region_snapshot_id ⇒ Integer

Returns:

  • (Integer)

See Also:



6396
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6396

def region_snapshot_id; attributes[:"region_snapshot_id"]&.value; end