Lines Matching defs:tcpcb
185 struct tcpcb { struct
186 int t_family; /* address family on the wire */
187 struct ipqehead segq; /* sequencing queue */
188 int t_segqlen; /* length of the above */
189 callout_t t_timer[TCPT_NTIMERS];/* tcp timers */
190 short t_state; /* state of this connection */
191 short t_rxtshift; /* log(2) of rexmt exp. backoff */
192 uint32_t t_rxtcur; /* current retransmit value */
193 short t_dupacks; /* consecutive dup acks recd */
200 short t_partialacks; /* partials acks during fast rexmit */
201 u_short t_peermss; /* peer's maximum segment size */
202 u_short t_ourmss; /* our's maximum segment size */
203 u_short t_segsz; /* current segment size in use */
204 char t_force; /* 1 if forcing out a byte */
205 u_int t_flags;
226 struct mbuf *t_template; /* skeletal packet for transmit */
227 struct inpcb *t_inpcb; /* back pointer to internet pcb */
228 struct in6pcb *t_in6pcb; /* back pointer to internet pcb */
229 callout_t t_delack_ch; /* delayed ACK callout */
235 tcp_seq snd_una; /* send unacknowledged */
236 tcp_seq snd_nxt; /* send next */
237 tcp_seq snd_up; /* send urgent pointer */
238 tcp_seq snd_wl1; /* window update seg seq number */
239 tcp_seq snd_wl2; /* window update seg ack number */
240 tcp_seq iss; /* initial send sequence number */
241 u_long snd_wnd; /* send window */
252 tcp_seq snd_recover;
253 tcp_seq snd_high;
255 u_long rcv_wnd; /* receive window */
256 tcp_seq rcv_nxt; /* receive next */
257 tcp_seq rcv_up; /* receive urgent pointer */
258 tcp_seq irs; /* initial receive sequence number */
263 tcp_seq rcv_adv; /* advertised window */
272 tcp_seq snd_max;
275 u_long snd_cwnd; /* congestion-controlled window */
276 u_long snd_ssthresh; /* snd_cwnd size threshhold for
281 u_int rfbuf_cnt; /* recv buffer autoscaling byte count */
282 uint32_t rfbuf_ts; /* recv buffer autoscaling timestamp */
288 uint32_t t_rcvtime; /* time last segment received */
289 uint32_t t_rtttime; /* time we started measuring rtt */
290 tcp_seq t_rtseq; /* sequence number being timed */
291 int32_t t_srtt; /* smoothed round-trip time */
292 int32_t t_rttvar; /* variance in round-trip time */
293 uint32_t t_rttmin; /* minimum rtt allowed */
294 u_long max_sndwnd; /* largest window peer has offered */
297 char t_oobflags; /* have some */
298 char t_iobc; /* input character */
301 short t_softerror; /* possible error not yet reported */
304 u_char snd_scale; /* window scaling for send window */
305 u_char rcv_scale; /* window scaling for recv window */
306 u_char request_r_scale; /* pending window scaling */
307 u_char requested_s_scale;
308 u_int32_t ts_recent; /* timestamp echo data */
309 u_int32_t ts_recent_age; /* when last updated */
310 u_int32_t ts_timebase; /* our timebase */
311 tcp_seq last_ack_sent;
314 u_long t_bytes_acked; /* ABC "bytes_acked" parameter */
320 u_char rcv_sack_flags; /* SACK flags. */
321 struct sackblk rcv_dsack_block; /* RX D-SACK block. */
322 struct ipqehead timeq; /* time sequenced queue. */
323 struct sackhead snd_holes; /* TX SACK holes. */
324 int snd_numholes; /* Number of TX SACK holes. */
325 tcp_seq rcv_lastsack; /* last seq number(+1) sack'd by rcv'r*/
326 tcp_seq sack_newdata; /* New data xmitted in this recovery
328 tcp_seq snd_fack; /* FACK TCP. Forward-most data held by
332 ulong snd_cubic_wmax; /* W_max */
333 ulong snd_cubic_wmax_last; /* Used for fast convergence */
334 ulong snd_cubic_ctime; /* Last congestion time */
340 struct mbuf *t_lastm; /* last mbuf that data was sent from */
341 int t_inoff; /* data offset in previous mbuf */
342 int t_lastoff; /* last data address in mbuf chain */
343 int t_lastlen; /* last length read from mbuf chain */
346 int t_mtudisc; /* perform mtudisc for this tcb */
348 u_int t_pmtud_mss_acked; /* MSS acked, lower bound for MTU */
349 u_int t_pmtud_mtu_sent; /* MTU used, upper bound for MTU */
350 tcp_seq t_pmtud_th_seq; /* TCP SEQ from ICMP payload */
351 u_int t_pmtud_nextmtu; /* Advertised Next-Hop MTU from ICMP */
352 u_short t_pmtud_ip_len; /* IP length from ICMP payload */
353 u_short t_pmtud_ip_hl; /* IP header length from ICMP payload */
355 uint8_t t_ecn_retries; /* # of ECN setup retries */
357 const struct tcp_congctl *t_congctl; /* per TCB congctl algorithm */
360 u_int t_keepinit;
361 u_int t_keepidle;
362 u_int t_keepintvl;
363 u_int t_keepcnt;
364 u_int t_maxidle; /* t_keepcnt * t_keepintvl */
366 u_int t_msl; /* MSL to use for this connexion */
391 static __inline int tcp_reass_lock_try (struct tcpcb *) argument