/// Create a new instance of host info.
Create a new instance of host info.
Create a new instance of host info .
pub fn new(mac: MacAddr, ip: IpAddr, flags: u8) -> HostInfo {
            HostInfo {
                flags:    flags,
                mac_addr: mac,
                ip_addr:  ip,
                ports:    HashSet::new()
            }
        }
pub fn new ( mac : MacAddr , ip : IpAddr , flags : u8 ) -> HostInfo { HostInfo { flags : flags , mac_addr : mac , ip_addr : ip , ports : HashSet :: new ( ) } }
Create a new instance of host info.
Create a new instance of host info .
mac
MacAddr
ip
IpAddr
flags
u8