From owner-freebsd-hackers Wed Oct 7 17:02:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA28103 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 17:02:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA28058 for ; Wed, 7 Oct 1998 17:02:10 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id RAA05919; Wed, 7 Oct 1998 17:01:54 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma005915; Wed Oct 7 17:01:28 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id RAA23283; Wed, 7 Oct 1998 17:01:28 -0700 (PDT) From: Archie Cobbs Message-Id: <199810080001.RAA23283@bubba.whistle.com> Subject: Re: How to send data between two network cards directly? In-Reply-To: <199810071601.JAA00589@dingo.cdrom.com> from Mike Smith at "Oct 7, 98 09:01:12 am" To: mike@smith.net.au (Mike Smith) Date: Wed, 7 Oct 1998 17:01:28 -0700 (PDT) Cc: andre.albsmeier@mchp.siemens.de, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith writes: > > > > I have two machines connected with two network cards directly > > > > together via 10Base2. I would like to send data from one > > > > machine two the other without doing IP or any other > > > > protocol. > > > > > > You have to have some protocol, or you can't tell what any given item > > > of data is. > > > > OK, maybe I desribed it in a wrong way. I would like to use > > the most basic protocol that is available. No overhead, > > no error correction, no nothing... > > You can't do this. Ethernet implicitly involves several protocols, > each with their own overheads and error correction. Not true.. Ethernet is just synchronous HDLC with a 32 bit checksum. You can send and receive raw Ethernet frames using bpf(4). -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message