From owner-freebsd-hackers Sun Jun 28 19:05:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA16495 for freebsd-hackers-outgoing; Sun, 28 Jun 1998 19:05:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from indigo.ie (nsmart@ts01-04.waterford.indigo.ie [194.125.139.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA16489 for ; Sun, 28 Jun 1998 19:05:04 -0700 (PDT) (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id DAA02262 for hackers@freebsd.org; Mon, 29 Jun 1998 03:01:12 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199806290201.DAA02262@indigo.ie> Date: Mon, 29 Jun 1998 03:01:12 +0000 Reply-To: rotel@indigo.ie X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: hackers@FreeBSD.ORG Subject: writing to ppp interfaces using bpf Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, bpf(4) say: "Currently, only writes to Ethernets and SLIP links are supported." It looks like it would only take a few lines of code to fix this, does anyone know otherwise? As the ppp driver prepends the header surely a case statement can simply be added in bpf_movein... Niall -- Niall Smart. PGP: finger njs3@motmot.doc.ic.ac.uk FreeBSD: Turning PC's into Workstations: www.freebsd.org Annoy your enemies and astonish your friends: echo "#define if(x) if (!(x))" >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message