*BSD News Article 68785


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!quagga.ru.ac.za!uct.ac.za!iafrica.com!aztec.co.za!not-for-mail
From: gram@aztec.co.za (Graham Wheeler)
Newsgroups: comp.unix.bsd.misc
Subject: Writing to BPF pseudo-device
Date: 17 May 1996 19:16:48 +0200
Organization: Aztec Public Access Internet
Lines: 13
Message-ID: <4nica0$30i@aztec.co.za>
NNTP-Posting-Host: aztec.co.za

Hi folks

I'm trying to send an Ethernet frame over an interface by writing
it to a bpf device bound to an interface. The frame is going out,
but 64 bytes are being inserted between the link header and the IP
header. These 64 bytes correspond to the bytes from IPheader+2, so
it is almost as though the IP packet is being appended to itself.

Is there anyone out there who has experience with this who can help?

Thanks in advance
Gram