Re: BPF into the HARP stack
Vincent Jardin <[email protected]> Thu, 22 Aug 2002 20:08:51 +0200
| Newsgroups | gmane.os.freebsd.devel.atm |
|---|---|
| Message-ID | <[email protected]> |
> 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 [email protected] with "unsubscribe freebsd-atm" in the body of the message