//
pkg.gl
Category
github.com/genuinetools/netns
bridge
package
0.5.3
Repository:
https://github.com/genuinetools/netns.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
2
Files
98 SLOC
#
Functions
Delete
Delete removes the bridge by the specified name.
Init
Init creates a bridge with the name specified if it does not exist.
#
Constants
DefaultMTU
DefaultMTU is the default MTU for new bridge interfaces.
#
Variables
ErrIPAddrEmpty
ErrIPAddrEmpty holds the error for when the ip address is empty.
ErrNameEmpty
ErrNameEmpty holds the error for when the name is empty.
#
Structs
Opt
Opt holds the options for the bridge interface.