Lines Matching refs:T
130 translator tcpinfo_t < struct tcphdr *T > {
131 tcp_sport = ntohs(T->th_sport);
132 tcp_dport = ntohs(T->th_dport);
133 tcp_seq = ntohl(T->th_seq);
134 tcp_ack = ntohl(T->th_ack);
135 tcp_offset = T->th_off << 2;
136 tcp_flags = T->th_flags;
137 tcp_window = ntohs(T->th_win);
138 tcp_checksum = ntohs(T->th_sum);
139 tcp_urgent = ntohs(T->th_urp);
140 tcp_hdr = T;
170 translator tcpsinfo_t < struct tcpcb *T> {
173 tcps_state = T ?
174 T->t_state == TCPS_CLOSED ? "state-closed" :
175 T->t_state == TCPS_LISTEN ? "state-listen" :
176 T->t_state == TCPS_SYN_SENT ? "state-syn-sent" :
177 T->t_state == TCPS_SYN_RECEIVED ? "state-syn-received" :
178 T->t_state == TCPS_ESTABLISHED ? "state-established" :
179 T->t_state == TCPS_CLOSE_WAIT ? "state-close-wait" :
180 T->t_state == TCPS_FIN_WAIT_1 ? "state-fin-wait1" :
181 T->t_state == TCPS_CLOSING ? "state-closing" :
182 T->t_state == TCPS_LAST_ACK ? "state-last-ack" :
183 T->t_state == TCPS_FIN_WAIT_2 ? "state-fin-wait2" :
184 T->t_state == TCPS_TIME_WAIT ? "state-time-wait" :
186 t_flags = T->t_flags;
187 rcv_nxt = T->rcv_nxt;
188 rcv_adv = T->rcv_adv;
189 rcv_wnd = T->rcv_wnd;
190 snd_wnd = T->snd_wnd;
191 snd_cwnd = T->snd_cwnd;
192 snd_ssthresh = T->snd_ssthresh;
193 snd_una = T->snd_una;
194 snd_nxt = T->snd_nxt;
195 snd_max = T->snd_max;
196 snd_recover = T->snd_recover;
197 t_rxtcur = T->t_rxtcur;
198 t_maxseg = T->t_maxseg;
199 t_rttbest = T->t_rttbest;
200 rcv_numsacks = T->rcv_numsacks;
201 snd_numholes = T->snd_numholes;
202 tcpcb = T;