*BSD News Article 92844


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!news-xfer.netaxs.com!news.mathworks.com!howland.erols.net!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Ethernet Driver source
Date: 4 Apr 1997 15:46:59 GMT
Organization: Awfulhak Ltd.
Lines: 25
Message-ID: <5i37pj$i6r@ui-gate.utell.co.uk>
References: <5i2n64$3iu@chavvy.spider.com>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38503

In article <5i2n64$3iu@chavvy.spider.com>,
	stewart@spider.com (Stewart Potter) writes:
> Hi,
> 
>     I'm new to this sort of thing, but I have a FreeBSD machine sitting
> nexto to my desk. I need to re-route some of the frames received on the Ether-
> net interface, so could someone point me in the direction of the appropriate
> source code please. I'm planning to send these frames directly to another
> low level driver to be transmitted on another hardware interface. Can anyone
> point me in the direction of any helpful documentation ?

man divert(4) may be of help, and ftp://kn6-045.ktvlpr.inet.fi/pub/natd
is a good example implemetation.

Only if you're running 2.2 or greater.

> Thanks for any replies,
> 
> Stewart
> 

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !