Class: Nl::Genl::FamilyInfo

Inherits:
Data
  • Object
show all
Defined in:
nl/lib/nl/genl/client.rb

Overview

Dynamically resolved information for a generic Netlink family.

Instance Attribute Summary collapse

Instance Attribute Details

#id ⇒ Integer (readonly)

Returns the assigned family ID.

Returns:

  • (Integer) —

    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.

Returns:

  • (Hash<String, Integer>) —

    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]
)