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] doubt regarding the creation of a disector for the PCE protocol

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


From: "Silvia Cristina Tejedor" <silviacristina.tejedor@xxxxxxxxx>
Date: Mon, 6 Aug 2007 23:58:53 +0200

Dear Mr,
 
I m working on the packet reception and treatement with the PCE protocol which runs over TCP. The PCE protocol takes the TCP data and "knows" (reading this information from the PCE header) the message length, which can be contained in several TCP packets, and so, can use not an entire numer of TCP packets  but always 1 or less(a half of a packet forexample), and then the following PCE packet can be contained in the second half of the first TCP packet and the first half of the followig TCP packet. My doubt is, how can I keep the information of the position in which the PCE packet starts if the former PCE packet doesn't use the hole TCP previous packet? I was thinking in saving this information in a variable, but each time that the protocol reads a new TCP packet, all variables are resarted and I don't know how to save that information.
 
Thank you very much,
 
Silvia Tejedor.
 
 
  • Follow-Ups:
    • Re: [Wireshark-dev] doubt regarding the creation of a disector for the PCE protocol
      • From: Jaap Keuter
  • Prev by Date: Re: [Wireshark-dev] Building wireshark-0.99.6 problems on Linux
  • Next by Date: Re: [Wireshark-dev] [PATCH] wiretap: Add MPEG PES.
  • Previous by thread: Re: [Wireshark-dev] /etc/services file for "port name resolvings"?
  • Next by thread: Re: [Wireshark-dev] doubt regarding the creation of a disector for the PCE protocol
  • Index(es):
    • Date
    • Thread

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