From owner-freebsd-hackers Wed Oct 7 08:46:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA15295 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 08:46:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA15225 for ; Wed, 7 Oct 1998 08:46:03 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.1a/8.9.1) with ESMTP id RAA04690 for ; Wed, 7 Oct 1998 17:45:47 +0200 (MET DST) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by mail.siemens.de (8.9.1a/8.9.1) with ESMTP id RAA24732 for ; Wed, 7 Oct 1998 17:45:48 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id RAA16600 for ; Wed, 7 Oct 1998 17:45:48 +0200 (CEST) From: Andre Albsmeier Message-Id: <199810071545.RAA02143@internal> Subject: Re: How to send data between two network cards directly? In-Reply-To: <199810071541.IAA00429@dingo.cdrom.com> from Mike Smith at "Oct 7, 1998 8:41: 8 am" To: mike@smith.net.au (Mike Smith) Date: Wed, 7 Oct 1998 17:45:45 +0200 (CEST) Cc: andre.albsmeier@mchp.siemens.de, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > 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... > > > What functions in FreeBSD could be used for that without > > hacking around in the kernel or the network drivers? > > > > Is there something like a low-level-open or some ioctl > > or anything similar? > > >From the opposite direction - why do you want to do this? There's a > perfectly functional solution already available that doesn't involve > reinventing the wheel. I have got two wireless-lan-like developer boxes. They got each an UTP port and transmit data via a direct spread spectrum frequency hopping protocol. We have two compare their performance, errors and reliabilty with other, for example RS232 or S0 bus based, boxes. They run the ethernet protocol (ok, this is the lowest level protocol, I have to use) and I would like to transmit data without running TCP,UDP or something else. -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message