Ethereal-dev: Re: [Ethereal-dev] Ethereal DOCSIS plugin

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 18 Dec 2003 16:42:10 -0800

On Nov 12, 2003, at 4:28 PM, Guy Harris wrote:

On Nov 12, 2003, at 4:14 PM, Anand V. Narwani wrote:

I noticed in 0.9.16 the capture dialog allows you to select the link-layer header type.  Is it possible that we can use this to set the link layer type when capturing DOCSIS packets?

It would be *IF*

	1) we add a DLT_DOCSIS link-layer header to libpcap;

Done a while ago, as per previous mail.

2) we modified libpcap so that, for Ethernet devices, it adds DLT_DOCSIS to the list of supported link-layer types and allows that type to be selected even though it's not in the list you get from the kernel;

I recently checked that into the main branch of libpcap. (It's not in the 0.8 branch, so it won't be in 0.8; it's sufficiently late in the 0.8 release cycle that I'm loath to add it at this point.)

A side-effect of that is that we could add support for DLT_DOCSIS in the BPF compiler, so you could do capture filtering.

Not done yet.

I've also added support in Ethereal for mapping DLT_DOCSIS to WTAP_ENCAP_DOCSIS.