Class: Nl::Linux::Tc::Messages::DumpGetqdiscReply

Inherits:
Raw::Message
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/tc.rb

Overview

Get / dump tc qdisc information.

Constant Summary collapse

TYPE =
36
FIXED_HEADER =
Structs::Tcmsg
ATTRIBUTE_SET =
AttributeSets::Attrs
ATTRIBUTES =
Ractor.make_shareable(%i[kind options stats xstats rate fcnt stats2 stab chain ingress_block egress_block])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#chain ⇒ Integer

Returns:

  • (Integer)

See Also:



14302
# File 'nl-linux/generated/nl/linux/tc.rb', line 14302

def chain; attributes[:"chain"]&.value; end

#egress_block ⇒ Integer

Returns:

  • (Integer)

See Also:



14310
# File 'nl-linux/generated/nl/linux/tc.rb', line 14310

def egress_block; attributes[:"egress_block"]&.value; end

#family ⇒ Integer

Returns:

  • (Integer)


14254
# File 'nl-linux/generated/nl/linux/tc.rb', line 14254

def family; fixed_header.family; end

#fcnt ⇒ Integer

Returns:

  • (Integer)

See Also:



14290
# File 'nl-linux/generated/nl/linux/tc.rb', line 14290

def fcnt; attributes[:"fcnt"]&.value; end

#handle ⇒ Integer

Returns:

  • (Integer)


14260
# File 'nl-linux/generated/nl/linux/tc.rb', line 14260

def handle; fixed_header.handle; end

#ifindex ⇒ Integer

Returns:

  • (Integer)


14257
# File 'nl-linux/generated/nl/linux/tc.rb', line 14257

def ifindex; fixed_header.ifindex; end

#info ⇒ Integer

Returns:

  • (Integer)


14266
# File 'nl-linux/generated/nl/linux/tc.rb', line 14266

def info; fixed_header.info; end

#ingress_block ⇒ Integer

Returns:

  • (Integer)

See Also:



14306
# File 'nl-linux/generated/nl/linux/tc.rb', line 14306

def ingress_block; attributes[:"ingress_block"]&.value; end

#kind ⇒ String

Returns:

  • (String)

See Also:



14270
# File 'nl-linux/generated/nl/linux/tc.rb', line 14270

def kind; attributes[:"kind"]&.value; end

#options ⇒ SubMessages::OptionsMsg::Basic, ...



14274
# File 'nl-linux/generated/nl/linux/tc.rb', line 14274

def options; attributes[:"options"]&.value; end

#parent ⇒ Integer

Returns:

  • (Integer)


14263
# File 'nl-linux/generated/nl/linux/tc.rb', line 14263

def parent; fixed_header.parent; end

#rate ⇒ Structs::GnetEstimator



14286
# File 'nl-linux/generated/nl/linux/tc.rb', line 14286

def rate; attributes[:"rate"]&.value; end

#stab ⇒ AttributeSets::TcaStabAttrs



14298
# File 'nl-linux/generated/nl/linux/tc.rb', line 14298

def stab; attributes[:"stab"]&.value; end

#stats ⇒ Structs::TcStats



14278
# File 'nl-linux/generated/nl/linux/tc.rb', line 14278

def stats; attributes[:"stats"]&.value; end

#stats2 ⇒ AttributeSets::TcaStatsAttrs



14294
# File 'nl-linux/generated/nl/linux/tc.rb', line 14294

def stats2; attributes[:"stats2"]&.value; end