Class: Nl::Linux::RtRule::Messages::DumpGetruleReply

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 =
32
FIXED_HEADER =
Structs::FibRuleHdr
ATTRIBUTE_SET =
AttributeSets::FibRuleAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[iifname goto priority fwmark flow tun_id suppress_ifgroup suppress_prefixlen table fwmask oifname l3mdev uid_range protocol ip_proto sport_range dport_range dscp flowlabel flowlabel_mask sport_mask dport_mask dscp_mask])

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)


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

def action; fixed_header.action; end

#dport_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dport_range ⇒ Structs::FibRulePortRange



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

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

#dscp ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dscp_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dst_len ⇒ Integer

Returns:

  • (Integer)


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

def dst_len; fixed_header.dst_len; end

#family ⇒ Integer

Returns:

  • (Integer)


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

def family; fixed_header.family; end

#flags ⇒ Integer

Returns:

  • (Integer)


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

def flags; fixed_header.flags; end

#flow ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowlabel ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowlabel_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#fwmark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#fwmask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#goto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#iifname ⇒ String

Returns:

  • (String)

See Also:



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

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

#ip_proto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#l3mdev ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#oifname ⇒ String

Returns:

  • (String)

See Also:



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

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

#priority ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#protocol ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#sport_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#sport_range ⇒ Structs::FibRulePortRange



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

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

#src_len ⇒ Integer

Returns:

  • (Integer)


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

def src_len; fixed_header.src_len; end

#suppress_ifgroup ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#suppress_prefixlen ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#table ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tos ⇒ Integer

Returns:

  • (Integer)


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

def tos; fixed_header.tos; end

#tun_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#uid_range ⇒ Structs::FibRuleUidRange



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

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