Class: Nl::Linux::Nlctrl::AttributeSets::CtrlAttrs
Defined Under Namespace
Classes: Attribute, FamilyId, FamilyName, Hdrsize, Maxattr, McastGroups, Op, OpPolicy, Ops, Policy, Version
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.
192
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 192
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
198
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 198
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#family_id ⇒ Integer
149
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 149
def family_id; self[:"family_id"]&.value; end
|
#family_name ⇒ String
153
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 153
def family_name; self[:"family_name"]&.value; end
|
#hdrsize ⇒ Integer
161
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 161
def hdrsize; self[:"hdrsize"]&.value; end
|
#maxattr ⇒ Integer
165
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 165
def maxattr; self[:"maxattr"]&.value; end
|
173
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 173
def mcast_groups; self[:"mcast_groups"]&.value; end
|
#op ⇒ Integer
185
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 185
def op; self[:"op"]&.value; end
|
181
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 181
def op_policy; self[:"op_policy"]&.value; end
|
169
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 169
def ops; self[:"ops"]&.value; end
|
177
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 177
def policy; self[:"policy"]&.value; end
|
#version ⇒ Integer
157
|
# File 'nl-linux/generated/nl/linux/nlctrl.rb', line 157
def version; self[:"version"]&.value; end
|