problem with 4.4.90 on solaris8 in stream.c
Marty Leisner
mleisner at eng.mc.xerox.com
Fri Jan 10 08:23:05 UTC 2003
I have a problem QUEUE_ptr isn't defined (in stream.c):
708 #ifdef T_CONN_RES
709 case T_CONN_RES: /* connect response */
710 GET (T_CONN_RES, conn_res);
711 COMMA ();
712 tprintf ("QUEUE=%p", m.conn_res.QUEUE_ptr);
713 ADDR (conn_res, OPT);
714 COMMA ();
715 tprintf ("SEQ=%ld", m.conn_res.SEQ_number);
716 break;
717 #endif
In /usr/include/sys/tihdr.h I see (nice comment):
/*
* Historical compatibility note for "struct T_conn_res" usage.
* "QUEUE_ptr" field of type "queue_t" is obsolete to support
* code portability and application binary compatibility
* between ILP32(32-bit) and LP64 (64-bit) environments.
* Use field "ACCEPTOR_id" instead.
* For compatibility, drivers using (_SUN_TPI_VERSION >= 2) interface
* can support treating ACCEPTOR_id content as queue pointer
* only when PRIM_type is O_T_CONN_RES.
*/
struct T_conn_res {
t_scalar_t PRIM_type; /* T_CONN_RES (or O_T_CONN_RES) */
t_uscalar_t ACCEPTOR_id; /* id of accepting endpoint */
t_scalar_t OPT_length; /* options length */
t_scalar_t OPT_offset; /* options offset */
t_scalar_t SEQ_number; /* sequence number */
};
Not sure how to proceed...
marty mleisner at eng.mc.xerox.com
Don't confuse education with schooling.
Milton Friedman to Yogi Berra
More information about the Strace-devel
mailing list