Class: Nl::Genl::FamilyInfo
- Inherits:
-
Data
- Object
- Data
- Nl::Genl::FamilyInfo
- Defined in:
- nl/lib/nl/genl/client.rb
Overview
Dynamically resolved information for a generic Netlink family.
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
The assigned family ID.
-
#multicast_groups ⇒ Hash<String, Integer>
readonly
Multicast group names mapped to their IDs.
Instance Attribute Details
#id ⇒ Integer (readonly)
Returns the assigned family ID.
15 16 17 18 |
# File 'nl/lib/nl/genl/client.rb', line 15 FamilyInfo = Data.define( :id, #: Integer :multicast_groups, #: Hash[String, Integer] ) |
#multicast_groups ⇒ Hash<String, Integer> (readonly)
Returns multicast group names mapped to their IDs.
15 16 17 18 |
# File 'nl/lib/nl/genl/client.rb', line 15 FamilyInfo = Data.define( :id, #: Integer :multicast_groups, #: Hash[String, Integer] ) |