Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

Ethernet

  1. Outdated egg!
  2. Ethernet
    1. Description
    2. Author
    3. Requirements
    4. Documentation
      1. Usage

Description

A pure scheme ethernet frame parser/unparser.

Currently in beta - not ready for production.

Author

Omar Shorbaji

Requirements

Requires the defstruct egg.

Documentation

Provides an ethernet frame data structure (destination MAC, source MAC, 802.1q, ethertype and payload). Also provides read-ethernet-frame function which reads an ethernet frame and creates an ethernet frame data structure as well as the inverse write-ethernet-frame function.

Usage

 (use ethernet)