Ethereal-dev: Re: [Ethereal-dev] reconizing direction

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 09 Dec 2005 11:32:16 -0800
Jaap Keuter wrote:

see packet_info.h
#define P2P_DIR_UNKNOWN   -1
#define P2P_DIR_SENT      0
#define P2P_DIR_RECV      1

That's the link-layer direction, and isn't present on non-point-to-point links, e.g. it's not meaningful on Ethernet or other broadcast LANs (it's set to P2P_DIR_UNKNOWN on them).