Lines Matching defs:tcpcb

308 struct tcpcb {
311 #define t_zero_size (sizeof(struct tcpcb) - \
312 offsetof(struct tcpcb, t_start_zero))
321 TAILQ_ENTRY(tcpcb) t_hpts; /* linkage to HPTS ring */
364 u_int t_flags2; /* More tcpcb flags storage */
552 * to query a stack, if it can take over a tcpcb.
615 int (*tfb_tcp_output)(struct tcpcb *);
616 void (*tfb_tcp_do_segment)(struct tcpcb *, struct mbuf *,
618 int (*tfb_do_segment_nounlock)(struct tcpcb *, struct mbuf *,
620 int (*tfb_do_queued_segments)(struct tcpcb *, int);
621 int (*tfb_tcp_ctloutput)(struct tcpcb *, struct sockopt *);
623 int (*tfb_tcp_fb_init)(struct tcpcb *, void **);
624 void (*tfb_tcp_fb_fini)(struct tcpcb *, int);
626 int (*tfb_tcp_timer_stop_all)(struct tcpcb *);
627 void (*tfb_tcp_rexmit_tmr)(struct tcpcb *);
628 int (*tfb_tcp_handoff_ok)(struct tcpcb *);
629 void (*tfb_tcp_mtu_chg)(struct tcpcb *tp);
630 int (*tfb_pru_options)(struct tcpcb *, int);
631 void (*tfb_hwtls_change)(struct tcpcb *, int);
632 int (*tfb_chg_query)(struct tcpcb *, struct tcp_query_resp *);
633 void (*tfb_switch_failed)(struct tcpcb *);
634 bool (*tfb_early_wake_check)(struct tcpcb *);
635 int (*tfb_compute_pipe)(struct tcpcb *tp);
636 int (*tfb_stack_info)(struct tcpcb *tp, struct stack_specific_info *);
637 void (*tfb_inherit)(struct tcpcb *tp, struct inpcb *h_inp);
654 struct tcpcb * tcp_drop(struct tcpcb *, int);
657 #define intotcpcb(inp) __containerof((inp), struct tcpcb, t_inpcb)
669 tcp_output(struct tcpcb *tp)
695 tcp_output_unlock(struct tcpcb *tp)
721 * and/or tracing with tcpcb before calling tcp_drop(). To be used with
728 tcp_output_nodrop(struct tcpcb *tp)
747 tcp_unlock_or_drop(struct tcpcb *tp, int tcp_output_retval)
765 tcp_packets_this_ack(struct tcpcb *tp, tcp_seq ack)
861 * processing (in tcp_input), but not held in the tcpcb.
1154 struct tcpcb *tp;
1162 void hhook_run_tcp_est_out(struct tcpcb *tp,
1172 * with "t_" or other prefixes match corresponding fields of 'struct tcpcb'.
1369 void tcp_account_for_send(struct tcpcb *, uint32_t, uint8_t, uint8_t, bool);
1371 struct tcpcb *
1372 tcp_close(struct tcpcb *);
1373 void tcp_discardcb(struct tcpcb *);
1374 void tcp_twstart(struct tcpcb *);
1381 int tcp_reass(struct tcpcb *, struct tcphdr *, tcp_seq *, int *,
1384 void tcp_reass_flush(struct tcpcb *);
1387 struct tcpcb *, int, int);
1390 void tcp_xmit_timer(struct tcpcb *, int);
1391 void tcp_newreno_partial_ack(struct tcpcb *, struct tcphdr *);
1392 void cc_ack_received(struct tcpcb *tp, struct tcphdr *th,
1394 void cc_conn_init(struct tcpcb *tp);
1395 void cc_post_recovery(struct tcpcb *tp, struct tcphdr *th);
1396 void cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos);
1397 void cc_ecnpkt_handler_flags(struct tcpcb *tp, uint16_t flags, uint8_t iptos);
1398 void cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type);
1400 void hhook_run_tcp_est_in(struct tcpcb *tp,
1406 struct tcpcb *, int);
1408 void tcp_do_segment(struct tcpcb *, struct mbuf *, struct tcphdr *, int,
1420 uint32_t tcp_get_srtt(struct tcpcb *tp, int granularity);
1421 void tcp_switch_back_to_default(struct tcpcb *tp);
1424 int tcp_default_ctloutput(struct tcpcb *tp, struct sockopt *sopt);
1426 void tcp_log_socket_option(struct tcpcb *tp, uint32_t option_num,
1457 void tcp6_use_min_mtu(struct tcpcb *);
1458 u_int tcp_maxseg(const struct tcpcb *);
1459 u_int tcp_fixed_maxseg(const struct tcpcb *);
1460 void tcp_mss_update(struct tcpcb *, int, int, struct hc_metrics_lite *,
1462 void tcp_mss(struct tcpcb *, int);
1464 struct tcpcb *
1465 tcp_newtcpcb(struct inpcb *, struct tcpcb *);
1466 int tcp_default_output(struct tcpcb *);
1467 void tcp_state_change(struct tcpcb *, int);
1468 void tcp_respond(struct tcpcb *, void *,
1470 void tcp_send_challenge_ack(struct tcpcb *, struct tcphdr *, struct mbuf *);
1473 void tcp_setpersist(struct tcpcb *);
1474 void tcp_record_dsack(struct tcpcb *tp, tcp_seq start, tcp_seq end, int tlp);
1478 void tcp_timer_activate(struct tcpcb *, tt_which, u_int);
1479 bool tcp_timer_active(struct tcpcb *, tt_which);
1480 void tcp_timer_stop(struct tcpcb *);
1493 void cc_after_idle(struct tcpcb *tp);
1502 tcp_sack_doack(struct tcpcb *, struct tcpopt *, tcp_seq);
1503 int tcp_dsack_block_exists(struct tcpcb *);
1504 void tcp_update_dsack_list(struct tcpcb *, tcp_seq, tcp_seq);
1505 void tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_laststart,
1507 void tcp_clean_dsack_blocks(struct tcpcb *tp);
1508 void tcp_clean_sackreport(struct tcpcb *tp);
1509 int tcp_sack_adjust(struct tcpcb *tp);
1510 struct sackhole *tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt);
1511 void tcp_do_prr_ack(struct tcpcb *, struct tcphdr *, struct tcpopt *,
1513 void tcp_lost_retransmission(struct tcpcb *, struct tcphdr *);
1514 void tcp_sack_partialack(struct tcpcb *, struct tcphdr *, u_int *);
1515 void tcp_resend_sackholes(struct tcpcb *tp);
1516 void tcp_free_sackholes(struct tcpcb *tp);
1517 void tcp_sack_lost_retransmission(struct tcpcb *, struct tcphdr *);
1518 int tcp_newreno(struct tcpcb *, struct tcphdr *);
1519 int tcp_compute_pipe(struct tcpcb *);
1521 void tcp_sndbuf_autoscale(struct tcpcb *, struct socket *, uint32_t);
1522 int tcp_stats_sample_rollthedice(struct tcpcb *tp, void *seed_bytes,
1528 void tcp_change_time_units(struct tcpcb *, int);
1529 void tcp_handle_orphaned_packets(struct tcpcb *);
1536 void tcp_log_end_status(struct tcpcb *tp, uint8_t status);
1538 void tcp_req_free_a_slot(struct tcpcb *tp, struct tcp_sendfile_track *ent);
1540 tcp_req_find_a_req_that_is_completed_by(struct tcpcb *tp, tcp_seq th_ack, int *ip);
1541 int tcp_req_check_for_comp(struct tcpcb *tp, tcp_seq ack_point);
1543 tcp_req_is_entry_comp(struct tcpcb *tp, struct tcp_sendfile_track *ent, tcp_seq ack_point);
1545 tcp_req_find_req_for_seq(struct tcpcb *tp, tcp_seq seq);
1547 tcp_req_log_req_info(struct tcpcb *tp,
1554 tcp_req_alloc_req(struct tcpcb *tp, union tcp_log_userdata *user,
1558 tcp_req_alloc_req_full(struct tcpcb *tp, struct tcp_snd_req *req, uint64_t ts, int rec_dups);
1563 int tcp_do_ack_accounting(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to, uint32_t tiwin, int mss);
1567 tcp_lro_features_off(struct tcpcb *tp)