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

Safe HaskellSafe-Inferred

Net.Ethernet

Documentation

data Interface m i o Source

Constructors

Interface 

Fields

myMAC :: Addr
 
io :: Interface m i o
 

rx :: Interface m i o -> m iSource

tx :: Interface m i o -> o -> m ()Source

data Packet content Source

Constructors

Packet 

Fields

dest :: Addr
 
source :: Addr
 
packType :: PacketType
 
content :: content
 

Instances

Functor Packet 
Container Packet 
Show content => Show (Packet content) 
Parse content => Parse (Packet content)