Class: Nl::Linux::RtRule::Messages::DumpGetruleRequest

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

Overview

Dump all FIB rules

Constant Summary collapse

TYPE =
34
FIXED_HEADER =
Structs::FibRuleHdr
ATTRIBUTE_SET =
AttributeSets::FibRuleAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[])

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

#action ⇒ Integer

Returns:

  • (Integer)


800
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 800

def action; fixed_header.action; end

#dst_len ⇒ Integer

Returns:

  • (Integer)


788
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 788

def dst_len; fixed_header.dst_len; end

#family ⇒ Integer

Returns:

  • (Integer)


785
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 785

def family; fixed_header.family; end

#flags ⇒ Integer

Returns:

  • (Integer)


803
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 803

def flags; fixed_header.flags; end

#src_len ⇒ Integer

Returns:

  • (Integer)


791
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 791

def src_len; fixed_header.src_len; end

#table ⇒ Integer

Returns:

  • (Integer)


797
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 797

def table; fixed_header.table; end

#tos ⇒ Integer

Returns:

  • (Integer)


794
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 794

def tos; fixed_header.tos; end