A ethernet stack implemented for a lecture