Class: Nl::Linux::Nftables::SubMessages::ExprOps::Reject

Inherits:
SubMessage
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/nftables.rb

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::ExprRejectAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#icmp_code ⇒ Integer

Returns:

  • (Integer)

See Also:



4537
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4537

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

#type ⇒ Integer

Known enum values are defined in Enums::RejectTypes.

Returns:

  • (Integer)

See Also:



4533
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4533

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