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 ¶
PciFromString transforms the symbolic representation of a pci address in an unsigned integer.
func PciToString ¶
PciToString transforms un unsigned integer representing a pci address in the symbolic representation as used by the Linux kernel.
func VFSMetadataDecoder ¶
func VFSMetadataDecoder(raw json.RawMessage) (common.Getter, error)
VFSMetadataDecoder implements a json message raw decoder
Types ¶
type Probe ¶
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 ¶
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) Unregister ¶
func (u *ProbeHandler) Unregister(nsPath string) error
Unregister a probe from a network namespace
type VF ¶
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
Click to show internal directories.
Click to hide internal directories.