Wireshark mailing list archives
Re: bitmask handling in wireshark
From: Ed Beroset <beroset () mindspring com>
Date: Tue, 28 Dec 2010 14:35:24 -0500 (GMT-05:00)
Andreas wrote:
So far I've seen only lots of boolean values.You might want to take a look at proto_tree_add_bitmask(). See doc/README.developer, which describes it and illustrates its use by taking an example from the SCSI dissector.Where can I get a sample capture file to see how this will look like?
The easiest thing might be to look at epan/dissectors/packet-tcp.c for the code and pretty much any capture file with TCP. In the code, look for hf_tcp_flags and in a capture file, just look at the TCP flags. Also, looking at doc/README.developer is highly recommended. It's how I learned. Ed ___________________________________________________________________________ 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-request () wireshark org?subject=unsubscribe
Current thread:
- bitmask handling in wireshark Andrei Emeltchenko (Dec 28)
- Re: bitmask handling in wireshark Christopher Maynard (Dec 28)
- Re: bitmask handling in wireshark Andreas (Dec 28)
- Re: bitmask handling in wireshark Christopher Maynard (Dec 28)
- Re: bitmask handling in wireshark Andreas (Dec 28)
- <Possible follow-ups>
- Re: bitmask handling in wireshark Ed Beroset (Dec 28)
- Re: bitmask handling in wireshark Andrei Emeltchenko (Dec 28)
- Re: bitmask handling in wireshark Dirk Jagdmann (Dec 29)
- Re: bitmask handling in wireshark Ed Beroset (Dec 28)
- Re: bitmask handling in wireshark Andreas (Dec 28)
- Re: bitmask handling in wireshark Christopher Maynard (Dec 28)