Class: Nl::Linux::RtLink::AttributeSets::LinkinfoGre6Attrs

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, ErspanDir, ErspanHwid, ErspanIndex, ErspanVer, Flags, Flowinfo, Fwmark, Iflags, Ikey, Link, Local, Oflags, Okey, 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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#collect_metadata ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_dport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_sport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_type ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#erspan_dir ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#erspan_hwid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#erspan_index ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#erspan_ver ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowinfo ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#fwmark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#iflags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ikey ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

#local ⇒ String

Returns:

  • (String)

See Also:



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

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

#oflags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#okey ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#remote ⇒ String

Returns:

  • (String)

See Also:



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

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

#ttl ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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