mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-23 08:56:06 +01:00
18 lines
379 B
Go
18 lines
379 B
Go
|
package genetlink
|
||
|
|
||
|
// A Family is a generic netlink family.
|
||
|
type Family struct {
|
||
|
ID uint16
|
||
|
Version uint8
|
||
|
Name string
|
||
|
Groups []MulticastGroup
|
||
|
}
|
||
|
|
||
|
// A MulticastGroup is a generic netlink multicast group, which can be joined
|
||
|
// for notifications from generic netlink families when specific events take
|
||
|
// place.
|
||
|
type MulticastGroup struct {
|
||
|
ID uint32
|
||
|
Name string
|
||
|
}
|