Date: Thu, 22 Aug 2002 20:08:51 +0200 From: Vincent Jardin <vjardin@wanadoo.fr> To: mark tinguely <tinguely@web.cs.ndsu.nodak.edu>, freebsd-atm@FreeBSD.ORG Subject: Re: BPF into the HARP stack Message-ID: <20020822180851.A849A15039F@venus.vincentjardin.net> In-Reply-To: <200208221259.g7MCx3I34803@web.cs.ndsu.nodak.edu> References: <200208221259.g7MCx3I34803@web.cs.ndsu.nodak.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> In my Nicstar driver, I put the hooks into the device driver, right > after transmission, and as it recieved a new packet. In this way we > are not HARP specific. I saw your source code, however I would prefer a solution that is not driver depedent. > > I added a pseudo-header consisting of the following 5 octects: > > DIRECTION VPI VCI GFC Payload Type Cell Loss Priority > 8bits 8bits 16 bits 4 bits 3 bits 1 bit > 0x80 = transmit > 0x00 = recieve > > New pcap rules have to be added to use the ATM packets with tcpdump and > family. Is it included into the official libpcap or tcpdump release ? > > when I supplied the DMA address for the first buffer of the PDU, I > left 8 octects, so I knew I had room to add the pseudo-header without > needing a m_pullup(). grr, the famous m_pullup issues ;-( Thanks, Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020822180851.A849A15039F>