Protocol.hs: Typeclass for polymorphic protocol functions

Ethernet protocol abstract interface