Class: Nl::Linux::MptcpPm::AttributeSets::Address
Defined Under Namespace
Classes: Addr4, Addr6, Attribute, Family, Flags, Id, IfIdx, Port
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.
159
|
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 159
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
165
|
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 165
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#addr4 ⇒ Integer
136
|
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 136
def addr4; self[:"addr4"]&.value; end
|
#addr6 ⇒ String
140
|
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 140
def addr6; self[:"addr6"]&.value; end
|
#family ⇒ Integer
128
|
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 128
def family; self[:"family"]&.value; end
|
#flags ⇒ Integer
148
|
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 148
def flags; self[:"flags"]&.value; end
|
#id ⇒ Integer
132
|
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 132
def id; self[:"id"]&.value; end
|
#if_idx ⇒ Integer
152
|
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 152
def if_idx; self[:"if_idx"]&.value; end
|
#port ⇒ Integer
144
|
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 144
def port; self[:"port"]&.value; end
|