Class: Nl::Linux::RtRoute::Messages::DoGetrouteRequest

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

Overview

Dump route information.

Constant Summary collapse

TYPE =
26
FIXED_HEADER =
Structs::Rtmsg
ATTRIBUTE_SET =
AttributeSets::RouteAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[dst src iif oif mark uid ip_proto sport dport flowlabel])

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

#dport ⇒ Integer

Returns:

  • (Integer)

See Also:



826
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 826

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

#dst ⇒ String

Returns:

  • (String)

See Also:



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

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

#flowlabel ⇒ Integer

Returns:

  • (Integer)

See Also:



830
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 830

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

#iif ⇒ Integer

Returns:

  • (Integer)

See Also:



802
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 802

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

#ip_proto ⇒ Integer

Returns:

  • (Integer)

See Also:



818
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 818

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

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



810
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 810

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

#oif ⇒ Integer

Returns:

  • (Integer)

See Also:



806
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 806

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

#rtm_dst_len ⇒ Integer

Returns:

  • (Integer)


769
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 769

def rtm_dst_len; fixed_header.rtm_dst_len; end

#rtm_family ⇒ Integer

Returns:

  • (Integer)


766
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 766

def rtm_family; fixed_header.rtm_family; end

#rtm_flags ⇒ Integer

Returns:

  • (Integer)


790
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 790

def rtm_flags; fixed_header.rtm_flags; end

#rtm_protocol ⇒ Integer

Returns:

  • (Integer)


781
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 781

def rtm_protocol; fixed_header.rtm_protocol; end

#rtm_scope ⇒ Integer

Returns:

  • (Integer)


784
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 784

def rtm_scope; fixed_header.rtm_scope; end

#rtm_src_len ⇒ Integer

Returns:

  • (Integer)


772
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 772

def rtm_src_len; fixed_header.rtm_src_len; end

#rtm_table ⇒ Integer

Returns:

  • (Integer)


778
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 778

def rtm_table; fixed_header.rtm_table; end

#rtm_tos ⇒ Integer

Returns:

  • (Integer)


775
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 775

def rtm_tos; fixed_header.rtm_tos; end

#rtm_type ⇒ Integer

Returns:

  • (Integer)


787
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 787

def rtm_type; fixed_header.rtm_type; end

#sport ⇒ Integer

Returns:

  • (Integer)

See Also:



822
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 822

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

#src ⇒ String

Returns:

  • (String)

See Also:



798
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 798

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

#uid ⇒ Integer

Returns:

  • (Integer)

See Also:



814
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 814

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