From owner-freebsd-net Fri Jan 5 1:45:57 2001 From owner-freebsd-net@FreeBSD.ORG Fri Jan 5 01:45:55 2001 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id A286E37B400 for ; Fri, 5 Jan 2001 01:45:55 -0800 (PST) Received: from InterJet.elischer.org (InterJet.elischer.org [192.168.1.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id BAA69220; Fri, 5 Jan 2001 01:45:46 -0800 (PST) Date: Fri, 5 Jan 2001 01:45:44 -0800 (PST) From: Julian Elischer To: Guido van Rooij Cc: freebsd-net@freebsd.org Subject: Re: raw ethernetpackets..how? In-Reply-To: <20010105104142.A36057@gvr.gvr.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org yes and yes..it can be done. I think dhcp does it.. you can also do it very trivially by hooking a netgraph socket directly to the netgraph hook on teh ehternet driver. On Fri, 5 Jan 2001, Guido van Rooij wrote: > > I wonder if it is possible to send raw ethernet packets somehow in FreeBSD. > E.g. using a AF_LINK, SOCK_RAW socket or something. > > -Guido > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message