Class: Nl::Linux::RtLink::AttributeSets::LinkinfoIp6tnlAttrs

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

Defined Under Namespace

Classes: Attribute, CollectMetadata, EncapDport, EncapFlags, EncapLimit, EncapSport, EncapType, Flags, Flowinfo, Fwmark, Link, Local, Proto, Remote, Ttl

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#collect_metadata ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_dport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_sport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_type ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowinfo ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#fwmark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

#local ⇒ String

Returns:

  • (String)

See Also:



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

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

#proto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#remote ⇒ String

Returns:

  • (String)

See Also:



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

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

#ttl ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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