Class: Nl::Linux::Nlctrl::AttributeSets::PolicyAttrs
Defined Under Namespace
Classes: Attribute, Bitfield32Mask, Mask, MaxLength, MaxValueS, MaxValueU, MinLength, MinValueS, MinValueU, Pad, PolicyIdx, PolicyMaxtype, Type
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.
453
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 453
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
459
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 459
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#bitfield32_mask ⇒ Integer
442
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 442
def bitfield32_mask; self[:"bitfield32_mask"]&.value; end
|
#mask ⇒ Integer
446
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 446
def mask; self[:"mask"]&.value; end
|
#max_length ⇒ Integer
430
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 430
def max_length; self[:"max_length"]&.value; end
|
#max_value_s ⇒ Integer
414
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 414
def max_value_s; self[:"max_value_s"]&.value; end
|
#max_value_u ⇒ Integer
422
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 422
def max_value_u; self[:"max_value_u"]&.value; end
|
#min_length ⇒ Integer
426
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 426
def min_length; self[:"min_length"]&.value; end
|
#min_value_s ⇒ Integer
410
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 410
def min_value_s; self[:"min_value_s"]&.value; end
|
#min_value_u ⇒ Integer
418
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 418
def min_value_u; self[:"min_value_u"]&.value; end
|
#policy_idx ⇒ Integer
434
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 434
def policy_idx; self[:"policy_idx"]&.value; end
|
#policy_maxtype ⇒ Integer
438
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 438
def policy_maxtype; self[:"policy_maxtype"]&.value; end
|
#type ⇒ Integer
406
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 406
def type; self[:"type"]&.value; end
|