diff --git a/src/linux.rs b/src/linux.rs
index 5417bbc..5b59bd2 100644
--- a/src/linux.rs
+++ b/src/linux.rs
@@ -1,5 +1,10 @@
#![allow(dead_code)]
+use std::{
+ collections::HashMap,
+ net::{IpAddr, Ipv4Addr, Ipv6Addr},
+};
+
use crate::MacAddressError;
use nix::ifaddrs::*;
@@ -30,6 +35,54 @@ pub fn get_mac(name: Option<&str>) -> Result