Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RtmNewNeigh Neighbor netlink message RtmNewNeigh = 28 // RtmDelNeigh Neighbor netlink message RtmDelNeigh = 29 )
Variables ¶
This section is empty.
Functions ¶
func PciFromString ¶ added in v0.23.0
PciFromString transforms the symbolic representation of a pci address in an unsigned integer.
func PciToString ¶ added in v0.23.0
PciToString transforms un unsigned integer representing a pci address in the symbolic representation as used by the Linux kernel.
Types ¶
type Probe ¶ added in v0.21.0
type Probe struct {
common.RWMutex
Ctx tp.Context
NsPath string
// contains filtered or unexported fields
}
Probe describes a topology probe based on netlink in a network namespace
type ProbeHandler ¶ added in v0.25.0
type ProbeHandler struct {
common.RWMutex
Ctx tp.Context
// contains filtered or unexported fields
}
ProbeHandler describes a list NetLink NameSpace probe to enhance the graph
func (*ProbeHandler) Init ¶ added in v0.25.0
Init initializes a new netlink probe
func (*ProbeHandler) Register ¶ added in v0.25.0
Register a new network netlink/namespace probe in the graph
func (*ProbeHandler) Unregister ¶ added in v0.25.0
func (u *ProbeHandler) Unregister(nsPath string) error
Unregister a probe from a network namespace
type VF ¶ added in v0.24.0
type VF struct {
ID int64 `json:",omitempty"`
LinkState int64 `json:",omitempty"`
MAC string `json:",omitempty"`
Qos int64 `json:",omitempty"`
Spoofchk bool `json:",omitempty"`
TxRate int64 `json:",omitempty"`
Vlan int64 `json:",omitempty"`
}
VF describes the metadata of a virtual function easyjson:json gendecoder
Source Files
¶
- metadata.go
- netlink.go
- sriov.go
Click to show internal directories.
Click to hide internal directories.