Class: Nl::Linux::Tc::Messages::DoNewchainRequest

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

Overview

Get / dump tc chain information.

Constant Summary collapse

TYPE =
100
FIXED_HEADER =
Structs::Tcmsg
ATTRIBUTE_SET =
AttributeSets::Attrs
ATTRIBUTES =
Ractor.make_shareable(%i[kind options rate 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:



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

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

#egress_block ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#family ⇒ Integer

Returns:

  • (Integer)


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

def family; fixed_header.family; end

#handle ⇒ Integer

Returns:

  • (Integer)


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

def handle; fixed_header.handle; end

#ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ifindex; fixed_header.ifindex; end

#info ⇒ Integer

Returns:

  • (Integer)


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

def info; fixed_header.info; end

#ingress_block ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#kind ⇒ String

Returns:

  • (String)

See Also:



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

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

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



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

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

#parent ⇒ Integer

Returns:

  • (Integer)


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

def parent; fixed_header.parent; end

#rate ⇒ Structs::GnetEstimator



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

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