Class: Nl::Linux::RtRoute::Messages::DoGetrouteReply

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



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

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

#dport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dst ⇒ String

Returns:

  • (String)

See Also:



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

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

#encap ⇒ String

Returns:

  • (String)

See Also:



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

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

#encap_type ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#expires ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flow ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowlabel ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gateway ⇒ String

Returns:

  • (String)

See Also:



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

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

#iif ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ip_proto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#metrics ⇒ AttributeSets::Metrics



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

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

#mfc_stats ⇒ String

Returns:

  • (String)

See Also:



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

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

#multipath ⇒ String

Returns:

  • (String)

See Also:



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

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

#newdst ⇒ String

Returns:

  • (String)

See Also:



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

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

#nh_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#oif ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pad ⇒ String

Returns:

  • (String)

See Also:



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

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

#pref ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#prefsrc ⇒ String

Returns:

  • (String)

See Also:



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

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

#priority ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rtm_dst_len ⇒ Integer

Returns:

  • (Integer)


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

def rtm_dst_len; fixed_header.rtm_dst_len; end

#rtm_family ⇒ Integer

Returns:

  • (Integer)


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

def rtm_family; fixed_header.rtm_family; end

#rtm_flags ⇒ Integer

Returns:

  • (Integer)


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

def rtm_flags; fixed_header.rtm_flags; end

#rtm_protocol ⇒ Integer

Returns:

  • (Integer)


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

def rtm_protocol; fixed_header.rtm_protocol; end

#rtm_scope ⇒ Integer

Returns:

  • (Integer)


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

def rtm_scope; fixed_header.rtm_scope; end

#rtm_src_len ⇒ Integer

Returns:

  • (Integer)


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

def rtm_src_len; fixed_header.rtm_src_len; end

#rtm_table ⇒ Integer

Returns:

  • (Integer)


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

def rtm_table; fixed_header.rtm_table; end

#rtm_tos ⇒ Integer

Returns:

  • (Integer)


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

def rtm_tos; fixed_header.rtm_tos; end

#rtm_type ⇒ Integer

Returns:

  • (Integer)


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

def rtm_type; fixed_header.rtm_type; end

#sport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#src ⇒ String

Returns:

  • (String)

See Also:



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

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

#table ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ttl_propagate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#uid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#via ⇒ String

Returns:

  • (String)

See Also:



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

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