tcptrace-bugs Problem compiling on AIX 4.3.3

From: TripleInsomniac@aol.com
Date: 03/31/03

  • Next message: Sarah Williams: "tcptrace-bugs www.tcptrace.org"

    Date: Mon, 31 Mar 2003 19:56:39 -0500
    From: TripleInsomniac@aol.com
    Subject: tcptrace-bugs Problem compiling on AIX 4.3.3
    Message-ID: <2B0E944B.0AD26310.507E9F7D@aol.com>
    
    

    Thanks for bouncing the question to the bugs section.
    Sorry about that.

    The compile problem in trace.c is related to ip_len and th_win in AIX's ip.h and tcp.h.

    I wasn't able to track down the exact cause, but made the following changes to the v6.3.2 of trace.c

    1173: u_short th_win1; /* window */
    1176: short ip_len1;
    1197: th_win1 = ntohs(ptcp->th_win);
    1199: ip_len1 = gethdrlength(pip, plast) + getpayloadlength(pip,plast);

    1253: eff_win = (u_long) th_win1;

    I did this just as a test and was able to compile the whole package after these changes were put in.

    Can anyone see any possible problems with these changes?

    -update-

    I found the ./cygwin-includes/netinet/tcp.h and ip.h files.
    Is tcptrace supposed to be using these exclusivly?

    If so, should configure be setup to point to these?

    Thanks Again,
    -Alan



    This archive was generated by hypermail 2b30 : 04/01/03 EST