tcptrace-bugs Problem compiling on AIX 4.3.3

Date: 03/31/03

  • Next message: Sarah Williams: "tcptrace-bugs"

    Date: Mon, 31 Mar 2003 19:56:39 -0500
    Subject: tcptrace-bugs Problem compiling on AIX 4.3.3
    Message-ID: <>

    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?


    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,

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