Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Neighbor ¶ added in v0.19.1
type Neighbor struct { Flags []string `json:"Flags,omitempty"` MAC string IP string `json:"IP,omitempty"` State []string `json:"State,omitempty"` Vlan int64 `json:"Vlan,omitempty"` VNI int64 `json:"VNI,omitempty"` IfIndex int64 }
easyjson:json
type NetLinkProbe ¶
type NetLinkProbe struct { common.RWMutex Graph *graph.Graph // contains filtered or unexported fields }
NetLinkProbe describes a list NetLink NameSpace probe to enhance the graph
func NewNetLinkProbe ¶
NewNetLinkProbe creates a new netlink probe
func (*NetLinkProbe) Register ¶
func (u *NetLinkProbe) Register(nsPath string, root *graph.Node) (*NetNsNetLinkProbe, error)
Register a new network netlink/namespace probe in the graph
func (*NetLinkProbe) Unregister ¶
func (u *NetLinkProbe) Unregister(nsPath string) error
Unregister a probe from a network namespace
type NetNsNetLinkProbe ¶
type NetNsNetLinkProbe struct { common.RWMutex Graph *graph.Graph Root *graph.Node NsPath string // contains filtered or unexported fields }
NetNsNetLinkProbe describes a topology probe based on netlink in a network namespace
type NextHop ¶
type NextHop struct { Priority int64 `json:"Priority,omitempty"` IP net.IP `json:"Src,omitempty"` IfIndex int64 `json:"IfIndex,omitempty"` }
NextHop describes a next hop easyjson:json
Source Files
¶
- netlink.go
Click to show internal directories.
Click to hide internal directories.