Date: 2 Dec 1998 13:46:41 +0100 From: Graeme Brown <graeme.brown@bt-sys.bt.co.uk> To: "FreeBSD-Net (FreeBSD.Org) List" <freebsd-net@FreeBSD.ORG> Subject: FW: How can I write a packet directly to an Ethernet NIC ?layer Message-ID: <n1299516076.75931@maczebedee>
next in thread | raw e-mail | index | archive | help
_______________________________________________________________________________ To: 'net@FreeBSD.ORG' From: Caroline Beauchamps on Wed, Dec 2, 1998 1:11 pm 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n1299516076.75931>