package
2.2.1+incompatible
Repository: https://github.com/docker/libcontainer.git
Documentation: pkg.go.dev

# Functions

Add a new default gateway.
Add a new route table entry.
Add a slave to a bridge device.
No description provided by the author
Create the actual bridge device.
Delete the actual bridge device.
Detach a slave from a bridge device.
Rename a particular interface to a different name !!! Note that you can't rename an active interface.
Add a new VETH pair link on the host This is identical to running: ip link add name $name type veth peer name $peername.
Returns an array of IPNet for all the currently routed subnets on ipv4 This is similar to the first column of "ip route" output.
Add a new network link of a specified type.
Add an Ip address to an interface.
No description provided by the author
No description provided by the author
Add a new VLAN interface with masterDev as its upper device This is identical to running: ip link add name $name link $masterdev type vlan id $id.
Delete a network link.
Delete an IP address from an interface.
Bring down a particular network interface.
Bring up a particular network interface.
Set link layer address ie.
Add an interface to bridge.
Set link Maximum Transmission Unit This is identical to running: ip link set dev $name mtu $MTU bridge is a bitch here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=292088 https://bugzilla.redhat.com/show_bug.cgi?id=697021 There is a discussion about how to deal with ifcs joining bridge with MTU > 1500 Regular network nterfaces do seem to work though!.
Remove an interface from the bridge This is is identical to to running: ip link $name set nomaster.
Move a particular network interface to a particular mounted network namespace specified by file descriptor.
Move a particular network interface to a particular network namespace specified by PID.
Set link queue length This is identical to running: ip link set dev $name txqueuelen $QLEN.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

An IfAddr defines IP network settings for a given network interface.
No description provided by the author
No description provided by the author
MacVlan link has LowerDev, UpperDev and operates in Mode mode This simplifies the code when creating MacVlan or MacVtap interface.
No description provided by the author
No description provided by the author
A Route is a subnet associated with the interface to reach it.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author