Class: Nl::Linux::Nftables::AttributeSets::FlowtableAttrs
Defined Under Namespace
Classes: Attribute, Flags, Handle, Hook, Name, Pad, Table, Use
Constant Summary
Constants inherited
from AttributeSet
AttributeSet::SELECTOR_NAMES
Class Method Summary
collapse
Instance Method Summary
collapse
#<<, #[], build_attributes, decode, #encode, #initialize
Class Method Details
Looks up Attribute class by name.
2519
|
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2519
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
2525
|
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2525
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#flags ⇒ Integer
2512
|
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2512
def flags; self[:"flags"]&.value; end
|
#handle ⇒ Integer
2508
|
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2508
def handle; self[:"handle"]&.value; end
|
2500
|
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2500
def hook; self[:"hook"]&.value; end
|
#name ⇒ String
2496
|
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2496
def name; self[:"name"]&.value; end
|
#table ⇒ String
2492
|
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2492
def table; self[:"table"]&.value; end
|
#use ⇒ Integer
2504
|
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2504
def use; self[:"use"]&.value; end
|