ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] writing non-Ethernet pcapng files

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Fri, 22 May 2009 07:35:31 +0200
Aaron Turner schrieb:
On Thu, May 21, 2009 at 12:20 PM, Michael T�xen
<Michael.Tuexen@xxxxxxxxxxxxxxxxx> wrote:
On May 21, 2009, at 9:15 PM, Aaron Turner wrote:

On Thu, May 21, 2009 at 11:55 AM, Michael T�xen
<Michael.Tuexen@xxxxxxxxxxxxxxxxx> wrote:
Hi Aaron,

can you check also with the latest svn version?
This was trunk-1.0 r28436.  Are you working in trunk (wireshark
1.1.x)?
Yes, I'm working in 1.1.x...


I just looked at the lastest trunk, and it too hard codes only
ethernet as supported:

from wiretap/pcapng.c pcapng_dump_can_write_encap():

	/* XXX - for now we only support Ethernet */
	if (encap != WTAP_ENCAP_ETHERNET)
		return WTAP_ERR_UNSUPPORTED_ENCAP;


Hi!

This comment is from the time when I started to experimentally implement pcapng.

This was only a rough prototype at that time and as I'm personally only using Ethernet, I've only implemented the absolutely necessary stuff.

It's very long ago so I can't remember if there are any further problems with anything else then Ethernet.

Seems that you're the first one trying to use it in this way ...

Regards, ULFL