Class: Nl::Linux::Netdev::Notifications::DevDelNtf
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Netdev::Notifications::DevDelNtf
- Defined in:
- nl-linux/generated/nl/linux/netdev.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[ifindex xdp_features xdp_zc_max_segs xdp_rx_metadata_features xsk_features])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#ifindex ⇒ Integer
netdev ifindex.
-
#xdp_features ⇒ Integer
Bitmask of enabled xdp-features.
-
#xdp_rx_metadata_features ⇒ Integer
Bitmask of supported XDP receive metadata features.
-
#xdp_zc_max_segs ⇒ Integer
max fragment count supported by ZC driver.
-
#xsk_features ⇒ Integer
Bitmask of enabled AF_XDP features.
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
#ifindex ⇒ Integer
netdev ifindex
2739 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2739 def ifindex; attributes[:"ifindex"]&.value; end |
#xdp_features ⇒ Integer
Bitmask of enabled xdp-features.
Known flags are defined in Flags::XdpAct.
2746 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2746 def xdp_features; attributes[:"xdp_features"]&.value; end |
#xdp_rx_metadata_features ⇒ Integer
Bitmask of supported XDP receive metadata features. See Documentation/networking/xdp-rx-metadata.rst for more details.
Known flags are defined in Flags::XdpRxMetadata.
2758 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2758 def ; attributes[:"xdp_rx_metadata_features"]&.value; end |
#xdp_zc_max_segs ⇒ Integer
max fragment count supported by ZC driver
2751 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2751 def xdp_zc_max_segs; attributes[:"xdp_zc_max_segs"]&.value; end |
#xsk_features ⇒ Integer
Bitmask of enabled AF_XDP features.
Known flags are defined in Flags::XskFlags.
2765 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2765 def xsk_features; attributes[:"xsk_features"]&.value; end |