Class: Nl::Linux::RtNeigh::AttributeSets::NdtAttrs

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

Defined Under Namespace

Classes: Attribute, Config, GcInterval, Name, Pad, Parms, Stats, Thresh1, Thresh2, Thresh3

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:



638
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 638

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



644
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 644

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

Instance Method Details

#config ⇒ Structs::NdtConfig

Returns:

See Also:



619
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 619

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

#gc_interval ⇒ Integer

Returns:

  • (Integer)

See Also:



631
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 631

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

#name ⇒ String

Returns:

  • (String)

See Also:



603
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 603

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

#parms ⇒ AttributeSets::NdtpaAttrs

Returns:

See Also:



623
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 623

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

#stats ⇒ Structs::NdtStats

Returns:

See Also:



627
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 627

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

#thresh1 ⇒ Integer

Returns:

  • (Integer)

See Also:



607
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 607

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

#thresh2 ⇒ Integer

Returns:

  • (Integer)

See Also:



611
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 611

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

#thresh3 ⇒ Integer

Returns:

  • (Integer)

See Also:



615
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 615

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