hans-2.4.0.1: IPv4 Network Stack

Safe HaskellNone
LanguageHaskell98

Hans.Layer.IP4

Contents

Synopsis

Documentation

type IP4Handle = Channel (IP ()) Source

data Rule mask addr Source

Constructors

Direct mask addr Mtu 
Indirect mask addr 

Instances

(Show mask, Show addr) => Show (Rule mask addr) 

External Interface

withIP4Source :: IP4Handle -> IP4 -> (IP4 -> IO ()) -> IO () Source

type Mtu = Int Source