ip

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const Man = `` /* 2492-byte string literal not displayed */

Variables

View Source
var Goes = &goes.Goes{
	NAME: "ip",
	USAGE: `
	ip [ NETNS ] OBJECT [ COMMAND [ FAMILY ] [ OPTIONS ]... [ ARG ]... ]
	ip [ NETNS ] -batch [ -x | -f ] [ - | FILE ]
	
NETNS := { -a[ll] | -n[etns] NAME }

OBJECT := { address | fou | link | monitor | neighbor | netns | route }

FAMILY := { -f[amily] { inet | inet6 | mpls | bridge | link } |
	{ -4 | -6 | -B | -0 } }

OPTION := { -s[tat[isti]cs] | -d[etails] | -r[esolve] |
	-human[-readable] | -iec |
	-l[oops] { maximum-addr-flush-attempts } | -br[ief] |
	-o[neline] | -t[imestamp] | -ts[hort] |
	-rc[vbuf] [size] | -c[olor] }`,
	APROPOS: lang.Alt{
		lang.EnUS: "show / manipulate routing, etc.",
	},
	MAN: lang.Alt{
		lang.EnUS: Man,
	},
	ByName: map[string]cmd.Cmd{
		"-a":       &all.Command{Name: "-a"},
		"-all":     &all.Command{Name: "-all"},
		"-batch":   &batch.Command{},
		"-n":       &n.Command{Name: "-n"},
		"-netns":   &n.Command{Name: "-netns"},
		"address":  address.Goes,
		"cli":      &cli.Command{Prompt: "ip> "},
		"fou":      fou.Goes,
		"link":     link.Goes,
		"netns":    netns.Goes,
		"monitor":  monitor.Command{},
		"neighbor": neighbor.Goes,
		"route":    route.Goes,
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
mod
fou
add
internal
group
Cache parse of /etc/iproute2/group
Cache parse of /etc/iproute2/group
add
mod
n
mod
add
mon
set
mod
show
ip route show (default) | flush | get | save | restore
ip route show (default) | flush | get | save | restore

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL