Documentation ¶
Index ¶
- func IsErrSrch(err error) bool
- type Address
- type Link
- type Route
- func (route *Route) Add(netStr, maskStr, gwStr string) *Route
- func (route *Route) AddByCidr(cidr string, gwStr string) *Route
- func (route *Route) AddByIPNet(ipnet *net.IPNet, gw net.IP) *Route
- func (route *Route) AddByRouteSpec(r RouteSpec) *Route
- func (route *Route) Del(netStr, maskStr string) *Route
- func (route *Route) DelByCidr(cidr string) *Route
- func (route *Route) DelByIPNet(ipnet *net.IPNet) *Route
- func (route *Route) List4() ([]RouteSpec, error)
- type RouteSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Address ¶
type Address struct { *Link // contains filtered or unexported fields }
func NewAddress ¶
Click to show internal directories.
Click to hide internal directories.