Class: Nl::Linux::RtRoute::Messages::DoDelrouteRequest

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

Overview

Delete an existing route

Constant Summary collapse

TYPE =
25
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



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

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

#dport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dst ⇒ String

Returns:

  • (String)

See Also:



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

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

#encap ⇒ String

Returns:

  • (String)

See Also:



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

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

#encap_type ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#expires ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flow ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowlabel ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gateway ⇒ String

Returns:

  • (String)

See Also:



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

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

#iif ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ip_proto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#metrics ⇒ AttributeSets::Metrics



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

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

#mfc_stats ⇒ String

Returns:

  • (String)

See Also:



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

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

#multipath ⇒ String

Returns:

  • (String)

See Also:



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

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

#newdst ⇒ String

Returns:

  • (String)

See Also:



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

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

#nh_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#oif ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pad ⇒ String

Returns:

  • (String)

See Also:



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

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

#pref ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#prefsrc ⇒ String

Returns:

  • (String)

See Also:



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

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

#priority ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rtm_dst_len ⇒ Integer

Returns:

  • (Integer)


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

def rtm_dst_len; fixed_header.rtm_dst_len; end

#rtm_family ⇒ Integer

Returns:

  • (Integer)


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

def rtm_family; fixed_header.rtm_family; end

#rtm_flags ⇒ Integer

Returns:

  • (Integer)


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

def rtm_flags; fixed_header.rtm_flags; end

#rtm_protocol ⇒ Integer

Returns:

  • (Integer)


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

def rtm_protocol; fixed_header.rtm_protocol; end

#rtm_scope ⇒ Integer

Returns:

  • (Integer)


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

def rtm_scope; fixed_header.rtm_scope; end

#rtm_src_len ⇒ Integer

Returns:

  • (Integer)


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

def rtm_src_len; fixed_header.rtm_src_len; end

#rtm_table ⇒ Integer

Returns:

  • (Integer)


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

def rtm_table; fixed_header.rtm_table; end

#rtm_tos ⇒ Integer

Returns:

  • (Integer)


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

def rtm_tos; fixed_header.rtm_tos; end

#rtm_type ⇒ Integer

Returns:

  • (Integer)


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

def rtm_type; fixed_header.rtm_type; end

#sport ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#src ⇒ String

Returns:

  • (String)

See Also:



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

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

#table ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ttl_propagate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#uid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#via ⇒ String

Returns:

  • (String)

See Also:



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

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