Lines Matching defs:tcpcb

308 struct tcpcb {  struct
311 #define t_zero_size (sizeof(struct tcpcb) - \ argument
321 TAILQ_ENTRY(tcpcb) t_hpts; /* linkage to HPTS ring */ argument
323 uint32_t t_hpts_request; /* Current hpts request, zero if
325 uint32_t t_hpts_slot; /* HPTS wheel slot this tcb is. */
326 uint32_t t_hpts_drop_reas; /* Reason we are dropping the pcb. */
327 uint32_t t_hpts_gencnt;
328 uint16_t t_hpts_cpu; /* CPU chosen by hpts_cpuid(). */
329 uint16_t t_lro_cpu; /* CPU derived from LRO. */
331 enum {
335 } t_in_hpts; /* Is it linked into HPTS? */
337 uint32_t t_maxseg:24, /* maximum segment size */
338 _t_logstate:8; /* State of "black box" logging */
339 uint32_t t_port:16, /* Tunneling (over udp) port */
340 t_state:4, /* state of this connection */
364 u_int t_flags2; /* More tcpcb flags storage */ argument
365 int t_srtt; /* smoothed round-trip time */
366 int t_rttvar; /* variance in round-trip time */
367 uint32_t ts_recent; /* timestamp echo data */
368 u_char snd_scale; /* window scaling for send window */
369 u_char rcv_scale; /* window scaling for recv window */
370 u_char snd_limited; /* segments limited transmitted */
371 u_char request_r_scale; /* pending window scaling */
372 tcp_seq last_ack_sent;
373 u_int t_rcvtime; /* inactivity time */
374 tcp_seq rcv_up; /* receive urgent pointer */
375 int t_segqlen; /* segment reassembly queue length */
376 uint32_t t_segqmbuflen; /* total reassembly queue byte length */
377 struct tsegqe_head t_segq; /* segment reassembly queue */
378 uint32_t snd_ssthresh; /* snd_cwnd size threshold for
382 tcp_seq snd_wl1; /* window update seg seq number */
383 tcp_seq snd_wl2; /* window update seg ack number */
385 tcp_seq irs; /* initial receive sequence number */
386 tcp_seq iss; /* initial send sequence number */
387 u_int t_acktime; /* RACK and BBR incoming new data was acked */
388 u_int t_sndtime; /* time last data was sent */
389 u_int ts_recent_age; /* when last updated */
390 tcp_seq snd_recover; /* for use in NewReno Fast Recovery */
391 char t_oobflags; /* have some */
392 char t_iobc; /* input character */
393 uint8_t t_nic_ktls_xmit:1, /* active nic ktls xmit sessions */
394 t_nic_ktls_xmit_dis:1, /* disabled nic xmit ktls? */
395 t_nic_ktls_spare:6; /* spare nic ktls */
396 int t_rxtcur; /* current retransmit value (ticks) */
398 int t_rxtshift; /* log(2) of rexmt exp. backoff */
399 u_int t_rtttime; /* RTT measurement start time */
401 tcp_seq t_rtseq; /* sequence number being timed */
402 u_int t_starttime; /* time connection was established */
403 u_int t_fbyte_in; /* ticks time first byte queued in */
404 u_int t_fbyte_out; /* ticks time first byte queued out */
406 u_int t_pmtud_saved_maxseg; /* pre-blackhole MSS */
407 int t_blackhole_enter; /* when to enter blackhole detection */
408 int t_blackhole_exit; /* when to exit blackhole detection */
409 u_int t_rttmin; /* minimum rtt allowed */
411 int t_softerror; /* possible error not yet reported */
412 uint32_t max_sndwnd; /* largest window peer has offered */
413 uint32_t snd_cwnd_prev; /* cwnd prior to retransmit */
414 uint32_t snd_ssthresh_prev; /* ssthresh prior to retransmit */
415 tcp_seq snd_recover_prev; /* snd_recover prior to retransmit */
416 int t_sndzerowin; /* zero-window updates sent */
417 int snd_numholes; /* number of holes seen by sender */
418 u_int t_badrxtwin; /* window for retransmit recovery */
421 tcp_seq snd_fack; /* last seq number(+1) sack'd by rcv'r*/
422 struct sackblk sackblks[MAX_SACK_BLKS]; /* seq nos. of sack blocks */
423 struct sackhint sackhint; /* SACK scoreboard hint */
424 int t_rttlow; /* smallest observerved RTT */
425 int rfbuf_cnt; /* recv buffer autoscaling byte count */
426 struct toedev *tod; /* toedev handling this connection */
427 int t_sndrexmitpack; /* retransmit packets sent */
428 int t_rcvoopack; /* out-of-order packets received */
429 void *t_toe; /* TOE pcb pointer */
430 struct cc_algo *t_cc; /* congestion control algorithm */
431 struct cc_var t_ccv; /* congestion control specific vars */
432 int t_bytes_acked; /* # bytes acked during current RTT */
433 u_int t_maxunacktime;
434 u_int t_keepinit; /* time to establish connection */
435 u_int t_keepidle; /* time before keepalive probes begin */
436 u_int t_keepintvl; /* interval between keepalives */
437 u_int t_keepcnt; /* number of keepalives before close */
438 int t_dupacks; /* consecutive dup acks recd */
439 int t_lognum; /* Number of log entries */
440 int t_loglimit; /* Maximum number of log entries */
441 uint32_t t_rcep; /* Number of received CE marked pkts */
442 uint32_t t_scep; /* Synced number of delivered CE pkts */
443 int64_t t_pacing_rate; /* bytes / sec, -1 => unlimited */
444 struct tcp_log_stailq t_logs; /* Log buffer */
445 struct tcp_log_id_node *t_lin;
446 struct tcp_log_id_bucket *t_lib;
447 const char *t_output_caller; /* Function that called tcp_output */
448 struct statsblob *t_stats; /* Per-connection stats */
450 uint32_t t_logsn; /* Log "serial number" */
451 uint32_t gput_ts; /* Time goodput measurement started */
452 tcp_seq gput_seq; /* Outbound measurement seq */
453 tcp_seq gput_ack; /* Inbound measurement ack */
454 int32_t t_stats_gput_prev; /* XXXLAS: Prev gput measurement */
455 uint32_t t_sndtlppack; /* tail loss probe packets sent */
456 uint64_t t_sndtlpbyte; /* total tail loss probe bytes sent */
457 uint64_t t_sndbytes; /* total bytes sent */
458 uint64_t t_snd_rxt_bytes; /* total bytes retransmitted */
459 uint32_t t_dsack_bytes; /* dsack bytes received */
460 uint32_t t_dsack_tlp_bytes; /* dsack bytes received for TLPs sent */
461 uint32_t t_dsack_pack; /* dsack packets we have eceived */
462 uint8_t t_tmr_granularity; /* Granularity of all timers srtt etc */
463 uint8_t t_rttupdated; /* number of times rtt sampled */
465 uint8_t t_tfo_client_cookie_len; /* TFO client cookie length */
466 uint32_t t_end_info_status; /* Status flag of end info */
467 sbintime_t t_challenge_ack_end; /* End of the challenge ack epoch */
468 uint32_t t_challenge_ack_cnt; /* Number of challenge ACKs sent in
472 unsigned int *t_tfo_pending; /* TFO server pending counter */
473 union {
476 } t_tfo_cookie; /* TCP Fast Open cookie to send */
477 union {
481 struct osd t_osd; /* storage for Khelp module data */
482 uint8_t _t_logpoint; /* Used when a BB log points is enabled */
490 uint8_t t_tcpreq_req; /* Request count */
491 uint8_t t_tcpreq_open; /* Number of open range requests */
492 uint8_t t_tcpreq_closed; /* Number of closed range requests */
493 uint32_t tcp_hybrid_start; /* Num of times we started hybrid pacing */
494 uint32_t tcp_hybrid_stop; /* Num of times we stopped hybrid pacing */
495 uint32_t tcp_hybrid_error; /* Num of times we failed to start hybrid pacing */
496 struct tcp_sendfile_track t_tcpreq_info[MAX_TCP_TRK_REQ];
499 uint64_t tcp_cnt_counters[TCP_NUM_CNT_COUNTERS];
500 uint64_t tcp_proc_time[TCP_NUM_CNT_COUNTERS];
503 struct mbufq t_inpkts; /* List of saved input packets. */
504 struct mbufq t_outpkts; /* List of saved output packets. */