Michael Lum wrote: > Hello, > > is there a fixed meaning of packet_info.p2p_dir for all protocols? > > What is that value supposed to mean?
Well, I don't know if it's the same for all protocols, but it's usually set to one of these defines: epan/packet_info.h:#define P2P_DIR_UNKNOWN -1 epan/packet_info.h:#define P2P_DIR_SENT 0 epan/packet_info.h:#define P2P_DIR_RECV 1 epan/packet_info.h:#define P2P_DIR_UL 0 epan/packet_info.h:#define P2P_DIR_DL 1 It's useful in protocols when you know you're the sender or the receiver (and that makes a difference when dissecting). ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe