From owner-freebsd-questions Thu Jun 3 1: 7:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from righi.ml.org (RIGHI.DF.UNIBO.IT [137.204.49.17]) by hub.freebsd.org (Postfix) with ESMTP id 6E03914DFE for ; Thu, 3 Jun 1999 01:07:42 -0700 (PDT) (envelope-from riccardo@righi.ml.org) Received: from localhost (riccardo@localhost) by righi.ml.org (8.9.2/8.9.1) with ESMTP id KAA12888 for ; Thu, 3 Jun 1999 10:12:02 +0200 (CEST) (envelope-from riccardo@righi.ml.org) Date: Thu, 3 Jun 1999 10:12:02 +0200 (CEST) From: Riccardo Veraldi To: freebsd-questions@freebsd.org Subject: ether interface. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I would like to know how to directly access to raw tcp/ip data on my ethernet interface without using tcpdump or pcap library. I need to know this to improove my sniffer program which is right now in the ports collection. In which way I can access to ethernet data?? do I ahve to use a ioctl or something ?? Can someone give me some hints please ?? ON Solaris and Linux is easier because it's possible to ioctl on hte interface file in /dev well thank you Rick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message