Class: Nl::Linux::RtRoute::Messages::DumpGetrouteReply

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

Overview

Dump route information.

Constant Summary collapse

TYPE =
24
FIXED_HEADER =
Structs::Rtmsg
ATTRIBUTE_SET =
AttributeSets::RouteAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[dst src iif oif gateway priority prefsrc metrics multipath flow cacheinfo table mark mfc_stats via newdst pref encap_type encap expires pad uid ttl_propagate ip_proto sport dport nh_id 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

#cacheinfo ⇒ Structs::RtaCacheinfo



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

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

#dport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dst ⇒ String

Returns:

  • (String)

See Also:



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

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

#encap ⇒ String

Returns:

  • (String)

See Also:



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

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

#encap_type ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#expires ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flow ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowlabel ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gateway ⇒ String

Returns:

  • (String)

See Also:



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

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

#iif ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ip_proto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#metrics ⇒ AttributeSets::Metrics



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

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

#mfc_stats ⇒ String

Returns:

  • (String)

See Also:



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

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

#multipath ⇒ String

Returns:

  • (String)

See Also:



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

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

#newdst ⇒ String

Returns:

  • (String)

See Also:



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

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

#nh_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#oif ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pad ⇒ String

Returns:

  • (String)

See Also:



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

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

#pref ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#prefsrc ⇒ String

Returns:

  • (String)

See Also:



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

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

#priority ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rtm_dst_len ⇒ Integer

Returns:

  • (Integer)


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

def rtm_dst_len; fixed_header.rtm_dst_len; end

#rtm_family ⇒ Integer

Returns:

  • (Integer)


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

def rtm_family; fixed_header.rtm_family; end

#rtm_flags ⇒ Integer

Returns:

  • (Integer)


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

def rtm_flags; fixed_header.rtm_flags; end

#rtm_protocol ⇒ Integer

Returns:

  • (Integer)


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

def rtm_protocol; fixed_header.rtm_protocol; end

#rtm_scope ⇒ Integer

Returns:

  • (Integer)


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

def rtm_scope; fixed_header.rtm_scope; end

#rtm_src_len ⇒ Integer

Returns:

  • (Integer)


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

def rtm_src_len; fixed_header.rtm_src_len; end

#rtm_table ⇒ Integer

Returns:

  • (Integer)


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

def rtm_table; fixed_header.rtm_table; end

#rtm_tos ⇒ Integer

Returns:

  • (Integer)


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

def rtm_tos; fixed_header.rtm_tos; end

#rtm_type ⇒ Integer

Returns:

  • (Integer)


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

def rtm_type; fixed_header.rtm_type; end

#sport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#src ⇒ String

Returns:

  • (String)

See Also:



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

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

#table ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ttl_propagate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#uid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#via ⇒ String

Returns:

  • (String)

See Also:



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

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