From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA01741; Wed, 11 Jun 2003 21:20:53 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA01375 for ; Wed, 11 Jun 2003 21:20:51 +0200 (MET DST) Received: from walnut.he.net (walnut.he.net [64.71.137.114]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h5BJKoT02974 for ; Wed, 11 Jun 2003 21:20:50 +0200 (MET DST) Received: from localhost (kmacy@localhost) by walnut.he.net (8.8.6p2003-03-31/8.8.2) with ESMTP id MAA22621; Wed, 11 Jun 2003 12:20:21 -0700 Date: Wed, 11 Jun 2003 12:20:21 -0700 (PDT) From: Kip Macy X-Sender: kmacy@walnut.he.net To: Francois Rouaix cc: Alex Efros , caml-list@inria.fr Subject: Re: [Caml-list] socket PF_PACKET In-Reply-To: <222275D2-9C3C-11D7-8A50-000A95773ED2@rouaix.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam: no; 0.00; kip:99 caml-list:01 conforms:01 posix:01 unlikely:02 unix:02 module:03 interface:03 library:03 subset:03 mostly:06 distribution:07 runs:07 approach:08 linux:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > I'll give it a try, although my answer is not authoritative... > If PF_PACKET is Linux only, as I believe it is, it is unlikely that it > will be > added in the default Unix library, which mostly conforms to Posix > standards. from the packet(7) man page on my linux desktop: NOTES For portable programs it is suggested to use PF_PACKET via pcap(3); although this only covers a subset of the PF_PACKET features. A module to interface to libpcap, (which runs on all UN*X hosts I know of) might be an approach sufficiently general to be incorporated into the distribution. -Kip ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners