Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
Bridge is an abstract representation of a 802.1d Ethernet Bridge.
func (Bridge) AddInterface ¶
AddInterface attempts to add the named interface to the bridge.
func (Bridge) NetIf ¶
NetIf returns a NetIf for the bridge. For example:
b := bridge.Create("testbr0") b.NetIf().Up()
func (Bridge) RemoveInterface ¶
RemoveInterface attempts to remove the named interface from the bridge.
Click to show internal directories.
Click to hide internal directories.