Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!not-for-mail From: Torbjorn Tornkvist <tobbe@universe.serc.rmit.edu.au> Newsgroups: comp.unix.bsd.freebsd.misc,comp.protocols.tcp-ip Subject: Re: Q: Raw sockets to buypass tcp/udp? Date: 18 Apr 1997 08:37:38 +1000 Organization: SERC, Melbourne, Australia Lines: 19 Message-ID: <t4912hnuml.fsf@universe.serc.rmit.edu.au> References: <33551811.6113@snads.lkg.dec.com> NNTP-Posting-Host: universe.serc.rmit.edu.au X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39253 comp.protocols.tcp-ip:53108 > Second, I need to put my own 802.2 packets (ie. no IP layer) for my > own "layer 2" on the LAN. What is the proper way to do this? Use BPF. You can find an example of how to do it at: http://www.serc.rmit.edu.au/~tobbe/bpf_drv.c /Tobbe +---------------------------------------------------+ | Torbjörn Törnkvist , tel: +61 3 9282 2410 | | email: tobbe@serc.rmit.edu.au | | WWW: http://www.serc.rmit.edu.au/~tobbe | +---------------------------------------------------+