From owner-freebsd-net Wed Dec 2 05:05:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA18603 for freebsd-net-outgoing; Wed, 2 Dec 1998 05:05:00 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from arthur.axion.bt.co.uk (arthur.axion.bt.co.uk [132.146.5.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA18567 for ; Wed, 2 Dec 1998 05:04:54 -0800 (PST) (envelope-from caroline.beauchamps@bt-sys.bt.co.uk) Received: from rambo (actually rambo.futures.bt.co.uk) by arthur (local) with SMTP; Wed, 2 Dec 1998 13:04:01 +0000 Received: from mussel.futures.bt.co.uk (actually mussel) by rambo with SMTP (PP); Wed, 2 Dec 1998 13:07:26 +0000 Received: by mussel.futures.bt.co.uk with Microsoft Exchange (IMC 4.0.837.3) id <01BE1DF3.82D04BE0@mussel.futures.bt.co.uk>; Wed, 2 Dec 1998 12:58:52 -0000 Message-ID: From: Caroline Beauchamps To: "'net@FreeBSD.ORG'" Date: Wed, 2 Dec 1998 13:08:43 -0000 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I have a program made for Linux, and I want to transform it for FreeBSD. The problem is that some of the options don't exist in FreeBSD. What I want to do is to send an ethernet packet, so I open the following socket: sockid=socket (AF_INET, SOCK_PACKET, htons(ETH_P_802_3)) But SOCK_PACKET does not exist. Do you have an idea what I could use instead ? Thanks in advance. Caroline Beauchamps >Mobility Research Unit >caroline.beauchamps@bt-sys.bt.co.uk >B55-131B >BT Laboratories >Martlesham Heath tel : +44 1473 649 115 >IPSWICH IP5 3RE (UK) fax : +44 1473 646 885 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message