From owner-freebsd-hackers Mon Jul 8 08:00:49 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA09838 for hackers-outgoing; Mon, 8 Jul 1996 08:00:49 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA09828 for ; Mon, 8 Jul 1996 08:00:45 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id KAA22786; Mon, 8 Jul 1996 10:00:08 -0500 From: Joe Greco Message-Id: <199607081500.KAA22786@brasil.moneng.mei.com> Subject: Re: BPF and point-to-point links To: gram@oms.co.za (Gram) Date: Mon, 8 Jul 1996 10:00:07 -0500 (CDT) Cc: hackers@freebsd.org In-Reply-To: <199607081217.OAA00431@gram.oms.co.za> from "Gram" at Jul 8, 96 02:17:06 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi folks > > I am trying to use BPF to write packets directly out to a network > interface. I hacked the kernel to allow me to do this with PPP (both > user and kernel PPP). As a quick clarification, is there some reason that you cannot use the tun device to set up a separate interface for your program? In other words, I do not understand why you are trying to do this in what appears to be a more "difficult" manner, when the system provides facilities for this sort of stuff... ... JG