From owner-freebsd-hackers Sat Sep 13 13:15:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA24678 for hackers-outgoing; Sat, 13 Sep 1997 13:15:47 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA24670 for ; Sat, 13 Sep 1997 13:15:43 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA25809; Sat, 13 Sep 1997 22:15:42 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id WAA02269; Sat, 13 Sep 1997 22:13:42 +0200 (MET DST) Message-ID: <19970913221342.BV60285@uriah.heep.sax.de> Date: Sat, 13 Sep 1997 22:13:42 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Cc: stt@pluto.cpe.ku.ac.th (Sunthiti Patchararungruang) Subject: Re: Need Help about BPF References: X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Sunthiti Patchararungruang on Sep 14, 1997 01:22:50 +0700 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Sunthiti Patchararungruang wrote: > Dear Sir, Probably many of them here. :) > Someone in FreeBsd.org told me that I should use BPF. I rarely > have the document about it, only have BPF(4) man-page and BPF data in > ftp.ee.lbl.gov. If you also recommend BPF, please tell me where I can find > the information about it. Well, your problem isn't quite clear to me. Anyway, if you intend to send some arbitrary packets down to the wire, have a look at the implementation of rarpd(8) (in /usr/src/usr.sbin/rarpd/), i think it's doing a similar job. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)