Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] tapping and access to fields

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Mikael Wikström" <leakim.wikstrom@xxxxxxxxx>
Date: Thu, 4 Jan 2007 13:05:04 +0100

Hi,

I'm trying to write a tap to calculate some statistics based on values
found in multiple frames in one or more packets. I want to be able to
access some values from the prism/radiotap, for example
radiotap.rate/prism.rate.data, and wlan.type_subtype from the wlan
frame. Writing a tap for the wlan protocol gives me a basic static
context with some useful generic wlan fields but how to I access the
other fields?

1. What is the best way of accessing a field from a frame that is not
in my static protocol dependent tap context?

2. How do I access (1) of the previous frame in my tap?

I think the answer to these two questions will be very helpful to have
in the README.tapping.

In this mail I am referring to packets as in a single captured packet
and frames as (radiotap/ieee80211/ip/udp) frames  in that package.

  • Follow-Ups:
    • Re: [Wireshark-dev] tapping and access to fields
      • From: Guy Harris
  • Prev by Date: [Wireshark-dev] Building 0.99.4 under MacOS X (fixes)
  • Next by Date: Re: [Wireshark-dev] Building 0.99.4 under MacOS X (fixes)
  • Previous by thread: [Wireshark-dev] MacOS X Package 0.99.4 done
  • Next by thread: Re: [Wireshark-dev] tapping and access to fields
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation