Class: Nl::Linux::RtRoute::AttributeSets::Metrics

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

Defined Under Namespace

Classes: Advmss, Attribute, CcAlgo, Cwnd, FastopenNoCookie, Features, Hoplimit, Initcwnd, Initrwnd, Lock, Mtu, Quickack, Reordering, RtoMin, Rtt, Rttvar, Ssthresh, Window

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:



745
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 745

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



751
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 751

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

Instance Method Details

#advmss ⇒ Integer

Returns:

  • (Integer)

See Also:



702
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 702

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

#cc_algo ⇒ String

Returns:

  • (String)

See Also:



734
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 734

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

#cwnd ⇒ Integer

Returns:

  • (Integer)

See Also:



698
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 698

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

Returns:

  • (Integer)

See Also:



738
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 738

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

#features ⇒ Integer

Returns:

  • (Integer)

See Also:



718
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 718

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

#hoplimit ⇒ Integer

Returns:

  • (Integer)

See Also:



710
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 710

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

#initcwnd ⇒ Integer

Returns:

  • (Integer)

See Also:



714
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 714

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

#initrwnd ⇒ Integer

Returns:

  • (Integer)

See Also:



726
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 726

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

#lock ⇒ Integer

Returns:

  • (Integer)

See Also:



674
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 674

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

#mtu ⇒ Integer

Returns:

  • (Integer)

See Also:



678
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 678

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

#quickack ⇒ Integer

Returns:

  • (Integer)

See Also:



730
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 730

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

#reordering ⇒ Integer

Returns:

  • (Integer)

See Also:



706
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 706

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

#rto_min ⇒ Integer

Returns:

  • (Integer)

See Also:



722
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 722

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

#rtt ⇒ Integer

Returns:

  • (Integer)

See Also:



686
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 686

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

#rttvar ⇒ Integer

Returns:

  • (Integer)

See Also:



690
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 690

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

#ssthresh ⇒ Integer

Returns:

  • (Integer)

See Also:



694
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 694

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

#window ⇒ Integer

Returns:

  • (Integer)

See Also:



682
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 682

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