Class: Nl::Linux::RtLink::AttributeSets::Ifla6Attrs

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

Defined Under Namespace

Classes: AddrGenMode, Attribute, Cacheinfo, Conf, Flags, Icmp6stats, Mcast, RaMtu, Stats, Token

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#addr_gen_mode ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#cacheinfo ⇒ Structs::IflaCacheinfo

Returns:

See Also:



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

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

#conf ⇒ Array<Integer>

u32 indexed by ipv6-devconf - 1 on output, on input it's a nest

Returns:

  • (Array<Integer>)

See Also:



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

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

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#icmp6stats ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



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

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

#mcast ⇒ String

Returns:

  • (String)

See Also:



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

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

#ra_mtu ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stats ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



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

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

#token ⇒ String

Returns:

  • (String)

See Also:



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

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