network-house-0.1.0.2: data and parsers for Ethernet, TCP, UDP, IPv4, IPv6, ICMP, DHCP, TFTP
Net.TFTP
data Packet #
Constructors
Instances
Methods
showsPrec :: Int -> Packet -> ShowS #
show :: Packet -> String #
showList :: [Packet] -> ShowS #
unparse :: Packet -> UnparseS #
parse :: PacketParser Packet #
type Filename = String #
type Mode = String #
type BlockNr = Word16 #
type Data = UArray Int Word8 #
newtype ErrorCode #
(==) :: ErrorCode -> ErrorCode -> Bool #
(/=) :: ErrorCode -> ErrorCode -> Bool #
showsPrec :: Int -> ErrorCode -> ShowS #
show :: ErrorCode -> String #
showList :: [ErrorCode] -> ShowS #
unparse :: ErrorCode -> UnparseS #
parse :: PacketParser ErrorCode #
type ErrMsg = String #
string :: PacketParser [Char] #
unstring :: Unparse t => t -> UnparseS #