Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 1998 17:01:28 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        mike@smith.net.au (Mike Smith)
Cc:        andre.albsmeier@mchp.siemens.de, hackers@FreeBSD.ORG
Subject:   Re: How to send data between two network cards directly?
Message-ID:  <199810080001.RAA23283@bubba.whistle.com>
In-Reply-To: <199810071601.JAA00589@dingo.cdrom.com> from Mike Smith at "Oct 7, 98 09:01:12 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810080001.RAA23283>