dbs_utils/net/mod.rs
1// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2// SPDX-License-Identifier: Apache-2.0
3//
4// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
5// Use of this source code is governed by a BSD-style license that can be
6// found in the THIRD-PARTY file.
7
8#![deny(missing_docs)]
9//! # Network-related utilities
10//!
11//! Provides tools for representing and handling network related concepts like MAC addresses and
12//! network interfaces.
13
14mod mac;
15pub use self::mac::{MacAddr, MAC_ADDR_LEN};
16
17mod tap;
18pub use self::tap::{Error as TapError, Tap};
19
20pub mod net_gen;