hans-2.4.0.0: IPv4 Network Stack

Safe HaskellNone
LanguageHaskell98

Hans.Address.Mac

Synopsis

Documentation

data Mac Source

Mac addresses.

Constructors

Mac !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 

broadcastMac :: Mac Source

The broadcast mac address.

showsMac :: Mac -> ShowS Source

Show a Mac address.

macMask :: Mac -> Mac Source

Generates a mask tailored to the given MAC address.