Class: Nl::Linux::RtRule::Messages::DoDelruleRequest

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

Overview

Remove an existing FIB rule

Constant Summary collapse

TYPE =
33
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)


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

def action; fixed_header.action; end

#dport_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dport_range ⇒ Structs::FibRulePortRange



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

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

#dscp ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dscp_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dst_len ⇒ Integer

Returns:

  • (Integer)


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

def dst_len; fixed_header.dst_len; end

#family ⇒ Integer

Returns:

  • (Integer)


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

def family; fixed_header.family; end

#flags ⇒ Integer

Returns:

  • (Integer)


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

def flags; fixed_header.flags; end

#flow ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowlabel ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flowlabel_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#fwmark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#fwmask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#goto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#iifname ⇒ String

Returns:

  • (String)

See Also:



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

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

#ip_proto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#l3mdev ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#oifname ⇒ String

Returns:

  • (String)

See Also:



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

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

#priority ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#protocol ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#sport_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#sport_range ⇒ Structs::FibRulePortRange



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

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

#src_len ⇒ Integer

Returns:

  • (Integer)


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

def src_len; fixed_header.src_len; end

#suppress_ifgroup ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#suppress_prefixlen ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#table ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tos ⇒ Integer

Returns:

  • (Integer)


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

def tos; fixed_header.tos; end

#tun_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#uid_range ⇒ Structs::FibRuleUidRange



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

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