Class: Nl::Linux::Fou::AttributeSets::Fou
Defined Under Namespace
Classes: Af, Attribute, Ifindex, Ipproto, LocalV4, LocalV6, PeerPort, PeerV4, PeerV6, Port, RemcsumNopartial, 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.
187
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 187
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
193
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 193
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#af ⇒ Integer
144
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 144
def af; self[:"af"]&.value; end
|
#ifindex ⇒ Integer
180
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 180
def ifindex; self[:"ifindex"]&.value; end
|
#ipproto ⇒ Integer
148
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 148
def ipproto; self[:"ipproto"]&.value; end
|
#local_v4 ⇒ Integer
160
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 160
def local_v4; self[:"local_v4"]&.value; end
|
#local_v6 ⇒ String
164
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 164
def local_v6; self[:"local_v6"]&.value; end
|
#peer_port ⇒ Integer
176
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 176
def peer_port; self[:"peer_port"]&.value; end
|
#peer_v4 ⇒ Integer
168
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 168
def peer_v4; self[:"peer_v4"]&.value; end
|
#peer_v6 ⇒ String
172
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 172
def peer_v6; self[:"peer_v6"]&.value; end
|
#port ⇒ Integer
140
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 140
def port; self[:"port"]&.value; end
|
#remcsum_nopartial ⇒ Integer
156
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 156
def remcsum_nopartial; self[:"remcsum_nopartial"]&.value; end
|
#type ⇒ Integer
152
|
# File 'nl-linux/generated/nl/linux/fou.rb', line 152
def type; self[:"type"]&.value; end
|