Class: Nl::Linux::Devlink::AttributeSets::DlDpipeMatch

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/devlink.rb

Defined Under Namespace

Classes: Attribute, DpipeFieldId, DpipeHeaderGlobal, DpipeHeaderId, DpipeHeaderIndex, DpipeMatchType

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



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

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#dpipe_field_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def dpipe_field_id; self[:"dpipe_field_id"]&.value; end

#dpipe_header_global ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def dpipe_header_global; self[:"dpipe_header_global"]&.value; end

#dpipe_header_id ⇒ Integer

Known enum values are defined in Enums::DpipeHeaderId.

Returns:

  • (Integer)

See Also:



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

def dpipe_header_id; self[:"dpipe_header_id"]&.value; end

#dpipe_header_index ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def dpipe_header_index; self[:"dpipe_header_index"]&.value; end

#dpipe_match_type ⇒ Integer

Known enum values are defined in Enums::DpipeMatchType.

Returns:

  • (Integer)

See Also:



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

def dpipe_match_type; self[:"dpipe_match_type"]&.value; end