Class: Nl::Linux::RtLink::AttributeSets::LinkinfoHsrAttrs

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

Defined Under Namespace

Classes: Attribute, Interlink, MulticastSpec, Protocol, SeqNr, Slave1, Slave2, SupervisionAddr, Version

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:



5405
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5405

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



5411
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5411

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

Instance Method Details

Returns:

  • (Integer)

See Also:



5398
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5398

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

#multicast_spec ⇒ Integer

Returns:

  • (Integer)

See Also:



5378
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5378

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

#protocol ⇒ Integer

Returns:

  • (Integer)

See Also:



5394
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5394

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

#seq_nr ⇒ Integer

Returns:

  • (Integer)

See Also:



5386
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5386

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

#slave1 ⇒ Integer

Returns:

  • (Integer)

See Also:



5370
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5370

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

#slave2 ⇒ Integer

Returns:

  • (Integer)

See Also:



5374
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5374

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

#supervision_addr ⇒ String

Returns:

  • (String)

See Also:



5382
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5382

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

#version ⇒ Integer

Returns:

  • (Integer)

See Also:



5390
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5390

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