Ethereal-dev: SV: [Ethereal-dev] Support for reading IBM iSeries communicationstraces for cons

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

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Fri, 25 Nov 2005 07:37:48 +0100
Hi,
I get the following warnings when trying to compile:
file_access.c
file_access.c(178) : warning C4133: 'function' : incompatible types - from
'stru
ct stat *' to 'struct _stat *'
iseries.c
iseries.c(155) : warning C4305: 'initializing' : truncation from 'const int
' to
 'char '
iseries.c(155) : warning C4305: 'initializing' : truncation from 'const int
' to
 'char '
iseries.c(399) : warning C4133: 'function' : incompatible types - from
'unsigned
 char *' to 'unsigned int *'
iseries.c(681) : warning C4133: 'function' : incompatible types - from
'unsigned
 int *' to 'unsigned char *'
Generating Code...
iseries.c(513) : warning C4700: local variable 'pkt_len' used without having
bee
n initialized

Brg
Anders

-----Ursprungligt meddelande-----
Från: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] För Martin Warnes
Skickat: den 22 november 2005 18:40
Till: Ethereal development
Ämne: [Ethereal-dev] Support for reading IBM iSeries communicationstraces
for consideration


I have attached source modules and a diff against the wiretap directory 
for supporting the reading of IBM iSeries (AS/400) Comms traces for 
consideration.

The module can handle reading both formatted and unformatted Ethernet 
traces either Unicode or ASCII encoded. I've also included  a sample 
formatted iSeries capture file (compressed) with FTP and TELNET traffic. 
The module can handle all traces generated by versions 5.x of OS/400 and 
should also handle earlier 4.x version traces.

My background is IBM 390 Assembler so please excuse any oddities in my C 
code and feel free to amend as neccessary, hopefully I've followed the 
programming guidelines.

Regards

Martin Warnes

p.s I've also added a diff against the top level directory AUTHORS file 
that updates my main email address