Class: Nl::Linux::Nl80211::AttributeSets::TxqStatsAttrs

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

Defined Under Namespace

Classes: Attribute, BacklogBytes, BacklogPackets, Collisions, Drops, EcnMarks, Flows, MaxFlows, Overlimit, Overmemory, TxBytes, TxPackets

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:



5924
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5924

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



5930
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5930

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

Instance Method Details

#backlog_bytes ⇒ Integer

Returns:

  • (Integer)

See Also:



5877
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5877

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

#backlog_packets ⇒ Integer

Returns:

  • (Integer)

See Also:



5881
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5881

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

#collisions ⇒ Integer

Returns:

  • (Integer)

See Also:



5905
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5905

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

#drops ⇒ Integer

Returns:

  • (Integer)

See Also:



5889
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5889

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

#ecn_marks ⇒ Integer

Returns:

  • (Integer)

See Also:



5893
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5893

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

#flows ⇒ Integer

Returns:

  • (Integer)

See Also:



5885
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5885

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

#max_flows ⇒ Integer

Returns:

  • (Integer)

See Also:



5917
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5917

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

#overlimit ⇒ Integer

Returns:

  • (Integer)

See Also:



5897
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5897

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

#overmemory ⇒ Integer

Returns:

  • (Integer)

See Also:



5901
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5901

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

#tx_bytes ⇒ Integer

Returns:

  • (Integer)

See Also:



5909
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5909

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

#tx_packets ⇒ Integer

Returns:

  • (Integer)

See Also:



5913
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 5913

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