Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] tektronix k12xx rf5 support

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

Date: Mon, 6 Jun 2005 02:54:56 +0200
Hi,
  I've put down some sort of read support for the Tektronix k12xx 32
bit .rf5 files (k1297).

I need ideas on how to handle  the .stk files (ethereal won't use
them, I hate the very same Idea behind these files). These as you
might know describe the protocol stack used by each source.

I haven't been able to infer if or how the encapsulation used for each
source is written to the file.

I temporarily worked arround this issue by using the USER0-15
encapsulations, these are handled by the DLT_USER00-15 "dissectors" I
checked in yesterday, in whose preferences one can set which
protocol(s) is(are) carried by each encapsulation.

By now each .stk file used by the file is mapped to an USER encap
starting from USER0 in  the order they appear in the file.

I know this is not the right way.

I think in having a file in which to describe which encapsulation map
to each .stk file.

Any Ideas on how to handle this?

The current implementation handle timestamps using 64bit integers. I
want to do it without 64 bit arithmetic as not every plattform
supports it.

BTW if someone has already  C code to divide a 64bit dividend by a
32bit divisor giving 32bit  quotient and 32bit remainder, without
using 64 bit integers and not loosing presition please contribute!

Attached you find a patch against the latest svn revision. Every
feedback is welcome.

Luis

Attachment: k12.patch
Description: Binary data