network-house-0.1.0.2: data and parsers for Ethernet, TCP, UDP, IPv4, IPv6, ICMP, DHCP, TFTP

Safe HaskellSafe
LanguageHaskell98

Net.DHCP

Documentation

data Packet #

Instances

Show Packet # 
Unparse Packet # 

Methods

unparse :: Packet -> UnparseS #

Parse Packet # 

data Flags #

Constructors

Flags 

Fields

Instances

Eq Flags # 

Methods

(==) :: Flags -> Flags -> Bool #

(/=) :: Flags -> Flags -> Bool #

Show Flags # 

Methods

showsPrec :: Int -> Flags -> ShowS #

show :: Flags -> String #

showList :: [Flags] -> ShowS #

Unparse Flags # 

Methods

unparse :: Flags -> UnparseS #

Parse Flags # 

newtype Options #

Constructors

Options [Option] 

Instances

parses :: Parse a => Int -> PacketParser [a] #

bounded :: (Enum a, Integral a1, Bounded a) => Int -> a1 -> PacketParser a #

unEnum :: (Enum a, Num b) => Int -> a -> b #