Lines Matching refs:T

157 translator tcpinfo_t < tcph_t *T > {
158 tcp_sport = ntohs(*(uint16_t *)T->th_lport);
159 tcp_dport = ntohs(*(uint16_t *)T->th_fport);
160 tcp_seq = ntohl(*(uint32_t *)T->th_seq);
161 tcp_ack = ntohl(*(uint32_t *)T->th_ack);
162 tcp_offset = (*(uint8_t *)T->th_offset_and_rsrvd & 0xf0) >> 2;
163 tcp_flags = *(uint8_t *)T->th_flags;
164 tcp_window = ntohs(*(uint16_t *)T->th_win);
165 tcp_checksum = ntohs(*(uint16_t *)T->th_sum);
166 tcp_urgent = ntohs(*(uint16_t *)T->th_urp);
167 tcp_hdr = T;
171 translator tcpinfo_t < __dtrace_tcp_tcph_t *T > {
173 T != NULL ? ntohs(*(uint16_t *)((tcph_t *)T)->th_lport) :
180 T != NULL ? ntohs(*(uint16_t *)((tcph_t *)T)->th_fport) :
187 T != NULL ? ntohl(*(uint32_t *)((tcph_t *)T)->th_seq) :
194 T != NULL ? ntohl(*(uint32_t *)((tcph_t *)T)->th_ack) :
200 tcp_offset = T != NULL ?
201 (*(uint8_t *)((tcph_t *)T)->th_offset_and_rsrvd & 0xf0) >> 2 :
203 tcp_flags = T != NULL ? *(uint8_t *)((tcph_t *)T)->th_flags : TH_ACK;
204 tcp_window = T != NULL ? ntohs(*(uint16_t *)((tcph_t *)T)->th_win) :
206 tcp_checksum = T != NULL ? ntohs(*(uint16_t *)((tcph_t *)T)->th_sum) :
208 tcp_urgent = T != NULL ? ntohs(*(uint16_t *)((tcph_t *)T)->th_urp) : 0;
213 translator tcpsinfo_t < tcp_t *T > {
214 tcps_addr = (uintptr_t)T;
221 tcps_local = T ? T->tcp_ipha ?
222 T->tcp_ipha->ipha_src == T->tcp_ipha->ipha_dst : 1 : 0;
223 tcps_active = T ? !T->tcp_saved_listener : 0;
224 tcps_lport = T ?
225 ntohs(T->tcp_connp->u_port.connu_ports.connu_lport) : 0;
226 tcps_rport = T ?
227 ntohs(T->tcp_connp->u_port.connu_ports.connu_fport) : 0;
228 tcps_laddr = T ?
229 inet_ntoa6(&T->tcp_connp->connua_v6addr.connua_laddr) : "<unknown>";
230 tcps_raddr = T ?
231 inet_ntoa6(&T->tcp_connp->connua_v6addr.connua_faddr) : "<unknown>";
232 tcps_state = T ? T->tcp_state : TCP_STATE_CLOSED;
233 tcps_iss = T ? T->tcp_iss : 0;
234 tcps_suna = T ? T->tcp_suna : 0;
235 tcps_snxt = T ? T->tcp_snxt : 0;
236 tcps_rack = T ? T->tcp_rack : 0;
237 tcps_rnxt = T ? T->tcp_rnxt : 0;
238 tcps_swnd = T ? T->tcp_swnd : 0;
239 tcps_snd_ws = T ? T->tcp_snd_ws : 0;
240 tcps_rwnd = T ? T->tcp_rwnd : 0;
241 tcps_rcv_ws = T ? T->tcp_rcv_ws : 0;
242 tcps_cwnd = T ? T->tcp_cwnd : 0;
243 tcps_cwnd_ssthresh = T ? T->tcp_cwnd_ssthresh : 0;
244 tcps_sack_fack = T ? T->tcp_sack_info.tcp_fack : 0;
245 tcps_sack_snxt = T ? T->tcp_sack_info.tcp_sack_snxt : 0;
246 tcps_rto = T ? T->tcp_rto : 0;
247 tcps_mss = T ? T->tcp_mss : 0;
254 tcps_retransmit = T && probename == "send" && arg4 != NULL &&
255 ntohl(*(uint32_t *)((tcph_t *)arg4)->th_seq) >= T->tcp_rexmit_nxt &&
256 ntohl(*(uint32_t *)((tcph_t *)arg4)->th_seq) < T->tcp_rexmit_max ?