Subject: Re: need help for using BPF to send Ethernet frames
To: None <bcampedel@hotmail.com>
From: TATEOKA Takamichi <tate@cs.uec.ac.jp>
List: tech-net
Date: 07/27/2005 02:47:53
> Can someone provide me with an simple example that does work ?
> Just a few lines sending an array of bytes to "en0" using /dev/bpf0.

  You can find an user-level UDP/IP protocol implementation on:
    http://wwwhnl.cs.uec.ac.jp/tate/cnp/
The file "hardware_bpf.c" in it will be help you.

Regards,
Takamichi Tateoka (tate@cs.uec.ac.jp)