From owner-freebsd-hackers Wed Oct 7 10:22:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02590 for freebsd-hackers-outgoing; Wed, 7 Oct 1998 10:22:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA02580 for ; Wed, 7 Oct 1998 10:22:43 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id QAA08692; Wed, 7 Oct 1998 16:18:42 +0100 From: Luigi Rizzo Message-Id: <199810071518.QAA08692@labinfo.iet.unipi.it> Subject: Re: How to send data between two network cards directly? To: andre.albsmeier@mchp.siemens.de (Andre Albsmeier) Date: Wed, 7 Oct 1998 16:18:42 +0100 (MET) Cc: mike@smith.net.au, andre.albsmeier@mchp.siemens.de, hackers@FreeBSD.ORG In-Reply-To: <199810071545.RAA02143@internal> from "Andre Albsmeier" at Oct 7, 98 05:45:26 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > together via 10Base2. I would like to send data from one > > > machine two the other without doing IP or any other > > > protocol. ... > 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... ... > 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. then for your purposes, UDP or raw ethernet packets are absolutely equivalent. if you really want to see things in detail you might try to disable UDP checksums (i think this is a socket-level option, isn't it ?) or even pass up bad frames from the ethernet driver (either use bpf, or play with the ethernet driver) cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message