From owner-freebsd-atm Wed Aug 21 15:44:47 2002 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A17F37B400 for ; Wed, 21 Aug 2002 15:44:46 -0700 (PDT) Received: from venus.vincentjardin.net (AVelizy-102-1-5-103.abo.wanadoo.fr [80.13.229.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 937D343E91 for ; Wed, 21 Aug 2002 15:44:45 -0700 (PDT) (envelope-from jardin@venus.vincentjardin.net) Received: by venus.vincentjardin.net (Postfix, from userid 501) id D8DD615039F; Thu, 22 Aug 2002 00:58:10 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-15" From: Vincent Jardin To: freebsd-atm@freebsd.org Subject: BPF into the HARP stack Date: Thu, 22 Aug 2002 00:58:10 +0200 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020821225810.D8DD615039F@venus.vincentjardin.net> Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I am wondering where the best place could be to add a bpf_[m]tap support into the HARP stack. For example, I think that the incoming mbufs could be tapped into atm_subr.c: atm_intr() About's the outgoing mbufs, I think that they could be tapped into atm_if.c: atm_ifoutput(). However, which DLT_XXX should I use ? I do not think that DLT_ATM_RFC1483, nor DLT_ATM_CLIP are the right one because it is not useful for the ILMI, ARP, ... cells. Moreover, which header shoud be appended in order to be compatible with tcpdump and ethereal ? Thanks, Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message