search for: cp_tcp

Displaying 2 results from an estimated 2 matches for "cp_tcp".

Did you mean: cp_acp
2008 May 14
3
tcptop_snv connp->conn_tcp != connp->conn_proto_priv.cp_tcp
...s this line: <i>this->tcpp = (tcp_t *)this->connp->conn_tcp;</i> which, after looking at line 168 of <a href="http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/inet/ipclassifier.h">ipclassifier.h</a> (#define conn_tcp conn_proto_priv.cp_tcp) I changed to <i>this->tcpp = (tcp_t *)this->connp->conn_proto_priv.cp_tcp;</i> This worked, however, I''m now confused as theoretically they should be the same. Does anyone have a sane explanation? Thanks, Paul -- This message posted from opensolaris.org
2008 Aug 08
0
Bit-field in predicate
...what is the correct way to specify a bit-field value in the predicate, as I''m seeing different outputs for the following D commands: Note tcp_detached is a bit-field. This one outputs numerous result: # dtrace -n ''::tcp_accept_finish:entry/((conn_t*)arg0)->conn_proto_priv.cp_tcp->tcp_detached/ {@[stack()]=count()}'' This one outputs nothing: # dtrace -n ''::tcp_accept_finish:entry/((conn_t*)arg0)->conn_proto_priv.cp_tcp->tcp_detached==1/ {@[stack()]=count()}'' Thank you very much! - yxn