Class: Nl::Linux::Tc::Messages::DoNewtfilterRequest

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

Overview

Get / dump tc filter information.

Constant Summary collapse

TYPE =
44
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:



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

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

#egress_block ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#family ⇒ Integer

Returns:

  • (Integer)


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

def family; fixed_header.family; end

#handle ⇒ Integer

Returns:

  • (Integer)


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

def handle; fixed_header.handle; end

#ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ifindex; fixed_header.ifindex; end

#info ⇒ Integer

Returns:

  • (Integer)


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

def info; fixed_header.info; end

#ingress_block ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#kind ⇒ String

Returns:

  • (String)

See Also:



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

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

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



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

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

#parent ⇒ Integer

Returns:

  • (Integer)


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

def parent; fixed_header.parent; end

#rate ⇒ Structs::GnetEstimator



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

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