[][src]Crate network_bridge

This crate is a simple wrapper around the ioctls exposed by Linux.

The goal of this crate is to make it easy to create networking bridges in Rust.

Structs

BridgeBuilder

Builder pattern for constructing networking bridges.

Constants

IFNAMSIZ

The maximum length of an interface name.

Functions

add_interface_to_bridge

Attach an interface to a bridge.

create_bridge

Create a network bridge using the interface name supplied.

delete_bridge

Delete an existing network bridge of the interface name supplied.

delete_interface_from_bridge

Remove an interface from a bridge.

interface_id

Converts an interface name into the identifier used by the kernel.