Ethereal-dev: Re: [Ethereal-dev] Finding out if packet is plain UDP in tap listener

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

From: "Lars Ruoff" <lars.ruoff@xxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2003 11:25:27 +0200
i tried the current_proto field in the packet_info-struct, but it always
contains something like "<Missing Protocol Name>".
???

----- Original Message ----- 
From: "Lars Ruoff" <lars.ruoff@xxxxxxxxxxxxxxxxxx>
To: "Ethereal-Dev" <Ethereal-dev@xxxxxxxxxxxx>
Sent: Wednesday, August 27, 2003 4:53 PM
Subject: [Ethereal-dev] Finding out if packet is plain UDP in tap listener


> Hi,
> Let's say i have a tap-listener that's called for every UDP packet (with
> appropriate filter).
> Is there a way of finding out in the tap-listener function, if the packet
is
> plain UDP (i.e. not dissected by any other dissector on top of UDP) ? How
to
> do?
>
> Thanks,
> Lars.
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev