From owner-freebsd-questions Tue Sep 12 8:11:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from srcso.globis.ru (globis.ru [212.248.80.7]) by hub.freebsd.org (Postfix) with ESMTP id 9729137B422 for ; Tue, 12 Sep 2000 08:11:45 -0700 (PDT) Received: from raduga.dyndns.org (raduga.sochi.net [212.248.82.76]) by srcso.globis.ru (8.9.3/8.9.3) with ESMTP id TAA14195 for ; Tue, 12 Sep 2000 19:29:02 +0400 (MSD) (envelope-from igor@raduga.dyndns.org) Received: (from igor@localhost) by raduga.dyndns.org (8.10.0/8.10.1) id e8CFBEh30291 for freebsd-questions@freebsd.org; Tue, 12 Sep 2000 19:11:14 +0400 Date: Tue, 12 Sep 2000 19:11:14 +0400 From: Igor Roboul To: FreeBSD questions Subject: Re: ethernet programming Message-ID: <20000912191114.A30157@linux.rainbow> Reply-To: igorr@crosswinds.net Mail-Followup-To: FreeBSD questions References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: ; from salousmn@eee-fs7.bham.ac.uk on Tue, Sep 12, 2000 at 03:26:36PM +0100 X-Operating-System: Linux linux.rainbow 2.2.14-plus-SMP X-Best-Window-Manager: Window Maker (www.windowmaker.org) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Sep 12, 2000 at 03:26:36PM +0100, M.N.Salous wrote: > Hi there! > I am interested in setting up an experiment to see how a network of a few > computers would cope with traffic. What I aim to do is to write a program > writing the packets to the device (i.e. /dev/vq ) and how can I read > packets? Can you help? I appreciate it! I have never programmed networks at level bellow TCP/IP, but I know that many programs use libnet and libpcap. Oh, what fine thing is ports :-) /usr/ports/net/libnet and libpcap is in base system. "man pcap" PS. And also BSD manual pages (opposed to Linux manual pages): I have libpcap installed on my Linux server, but linux:~> man pcap No manual entry for pcap linux:~> :-( -- Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message