Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotImplemented = errors.New("bridge: not implemented")
)
errors about bridge
Functions ¶
func DialFdbMonitor ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
A Client can manipulate the bridge netlink interface.
func (*Client) MonitorFdb ¶
MonitorFdb monitors bridge fdb entry's adding and deleting.
type FdbActionType ¶
type FdbActionType int
FdbActionType is the type for the fdb entry's action.
const ( // FdbActionAdd indicates a fdb entry was added. FdbActionAdd FdbActionType = iota // FdbActionDel indicates a fdb entry was deleted. FdbActionDel )
type FdbEntry ¶
type FdbEntry struct { Action FdbActionType State iproute2.NudState Flag iproute2.NtfFlag Ifindex int Lladdr net.HardwareAddr Vlan int Master int }
FdbEntry contains fdb messages for bridge fdb.
Click to show internal directories.
Click to hide internal directories.