Class: Nl::Linux::Psp::Notifications::DevDelNtf
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Psp::Notifications::DevDelNtf
- Defined in:
- nl-linux/generated/nl/linux/psp.rb
Overview
Notification about device disappearing.
Multicast group: mgmt.
Constant Summary collapse
- TYPE =
3- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Dev
- ATTRIBUTES =
Ractor.make_shareable(%i[id ifindex psp_versions_cap psp_versions_ena assoc_list by_association])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#assoc_list ⇒ Array<AttributeSets::AssocDevInfo>
List of associated virtual devices.
-
#by_association ⇒ Integer
Flag indicating the PSP device is an associated device from a different network namespace.
-
#id ⇒ Integer
PSP device ID.
-
#ifindex ⇒ Integer
ifindex of the main netdevice linked to the PSP device, or the ifindex to associate with the PSP device.
-
#psp_versions_cap ⇒ Integer
Bitmask of PSP versions supported by the device.
-
#psp_versions_ena ⇒ Integer
Bitmask of currently enabled (accepted on Rx) PSP versions.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#assoc_list ⇒ Array<AttributeSets::AssocDevInfo>
List of associated virtual devices.
1188 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1188 def assoc_list; attributes[:"assoc_list"].map(&:value); end |
#by_association ⇒ Integer
Flag indicating the PSP device is an associated device from a different network namespace. Present when in associated namespace, absent when in primary/host namespace.
1196 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1196 def by_association; attributes[:"by_association"]&.value; end |
#id ⇒ Integer
PSP device ID.
1163 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1163 def id; attributes[:"id"]&.value; end |
#ifindex ⇒ Integer
ifindex of the main netdevice linked to the PSP device, or the ifindex to associate with the PSP device.
1169 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1169 def ifindex; attributes[:"ifindex"]&.value; end |
#psp_versions_cap ⇒ Integer
Bitmask of PSP versions supported by the device.
Known flags are defined in Flags::Version.
1176 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1176 def psp_versions_cap; attributes[:"psp_versions_cap"]&.value; end |
#psp_versions_ena ⇒ Integer
Bitmask of currently enabled (accepted on Rx) PSP versions.
Known flags are defined in Flags::Version.
1183 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 1183 def psp_versions_ena; attributes[:"psp_versions_ena"]&.value; end |