Structs§
Constants§
Functions§
- addr_
add - Add an address to an interface
- addr_
list - Given an interface, list addresses.
- bridge_
add - Create bridge interface.
- bridge_
exists - Check if bridge interface exists.
- interface_
del - Remove interface.
- interface_
mtu - Sets an interface’s MTU.
- interface_
show - Get details of an interface.
- interface_
up - Set an interface to be up.
- iptables_
restore - iptables_
save - link_
get_ master - link_
set_ master - netns_
add - Adds a network namespace. This creates a new, isolated network namespace with nothing but the loopback interface in it.
- netns_
del - Delete a network namespace. This will also delete any network interfaces contained therein.
- netns_
exists - Checks if a network namespaces exists.
TODO: use
ip --json netns list
here. - netns_
list - List all network namespaces.
- netns_
write_ file - Write file into network namespace config folder.
- nginx_
reload - veth_
add - Create veth interface.
- veth_
exists - Check if a veth interface exists.
- wireguard_
create - Create a wireguard interface.
- wireguard_
exists - Check if wireguard interface exists.
- wireguard_
stats - wireguard_
syncconf - Sync the configuration state of a WireGuard interface with a given one.