Class: Nl::Linux::RtLink::AttributeSets::LinkinfoGreAttrs

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, IgnoreDf, Ikey, Link, Local, Oflags, Okey, Pmtudisc, Remote, Tos, 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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#collect_metadata ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_dport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_sport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#encap_type ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#erspan_dir ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#erspan_hwid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#erspan_index ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#erspan_ver ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowinfo ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#fwmark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#iflags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ignore_df ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ikey ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

#local ⇒ String

Returns:

  • (String)

See Also:



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

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

#oflags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#okey ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pmtudisc ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#remote ⇒ String

Returns:

  • (String)

See Also:



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

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

#tos ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ttl ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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