Lines Matching refs:tcpcb
308 struct tcpcb { struct
311 #define t_zero_size (sizeof(struct tcpcb) - \ argument
312 offsetof(struct tcpcb, t_start_zero))
321 TAILQ_ENTRY(tcpcb) t_hpts; /* linkage to HPTS ring */ argument
614 int (*tfb_tcp_output)(struct tcpcb *);
615 void (*tfb_tcp_do_segment)(struct tcpcb *, struct mbuf *,
617 int (*tfb_do_segment_nounlock)(struct tcpcb *, struct mbuf *,
619 int (*tfb_do_queued_segments)(struct tcpcb *, int);
620 int (*tfb_tcp_ctloutput)(struct tcpcb *, struct sockopt *);
622 int (*tfb_tcp_fb_init)(struct tcpcb *, void **);
623 void (*tfb_tcp_fb_fini)(struct tcpcb *, int);
625 int (*tfb_tcp_timer_stop_all)(struct tcpcb *);
626 void (*tfb_tcp_rexmit_tmr)(struct tcpcb *);
627 int (*tfb_tcp_handoff_ok)(struct tcpcb *);
628 void (*tfb_tcp_mtu_chg)(struct tcpcb *tp);
629 int (*tfb_pru_options)(struct tcpcb *, int);
630 void (*tfb_hwtls_change)(struct tcpcb *, int);
631 int (*tfb_chg_query)(struct tcpcb *, struct tcp_query_resp *);
632 void (*tfb_switch_failed)(struct tcpcb *);
633 bool (*tfb_early_wake_check)(struct tcpcb *);
634 int (*tfb_compute_pipe)(struct tcpcb *tp);
635 int (*tfb_stack_info)(struct tcpcb *tp, struct stack_specific_info *);
636 void (*tfb_inherit)(struct tcpcb *tp, struct inpcb *h_inp);
653 struct tcpcb * tcp_drop(struct tcpcb *, int);
656 #define intotcpcb(inp) __containerof((inp), struct tcpcb, t_inpcb)
668 tcp_output(struct tcpcb *tp) in tcp_output()
694 tcp_output_unlock(struct tcpcb *tp) in tcp_output_unlock()
727 tcp_output_nodrop(struct tcpcb *tp) in tcp_output_nodrop()
746 tcp_unlock_or_drop(struct tcpcb *tp, int tcp_output_retval) in tcp_unlock_or_drop()
764 tcp_packets_this_ack(struct tcpcb *tp, tcp_seq ack) in tcp_packets_this_ack()
1153 struct tcpcb *tp;
1161 void hhook_run_tcp_est_out(struct tcpcb *tp,
1370 void tcp_account_for_send(struct tcpcb *, uint32_t, uint8_t, uint8_t, bool);
1372 struct tcpcb *
1373 tcp_close(struct tcpcb *);
1374 void tcp_discardcb(struct tcpcb *);
1375 void tcp_twstart(struct tcpcb *);
1382 int tcp_reass(struct tcpcb *, struct tcphdr *, tcp_seq *, int *,
1385 void tcp_reass_flush(struct tcpcb *);
1388 struct tcpcb *, int, int);
1391 void tcp_xmit_timer(struct tcpcb *, int);
1392 void tcp_newreno_partial_ack(struct tcpcb *, struct tcphdr *);
1393 void cc_ack_received(struct tcpcb *tp, struct tcphdr *th,
1395 void cc_conn_init(struct tcpcb *tp);
1396 void cc_post_recovery(struct tcpcb *tp, struct tcphdr *th);
1397 void cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos);
1398 void cc_ecnpkt_handler_flags(struct tcpcb *tp, uint16_t flags, uint8_t iptos);
1399 void cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type);
1401 void hhook_run_tcp_est_in(struct tcpcb *tp,
1407 struct tcpcb *, int);
1409 void tcp_do_segment(struct tcpcb *, struct mbuf *, struct tcphdr *, int,
1421 uint32_t tcp_get_srtt(struct tcpcb *tp, int granularity);
1422 void tcp_switch_back_to_default(struct tcpcb *tp);
1425 int tcp_default_ctloutput(struct tcpcb *tp, struct sockopt *sopt);
1427 void tcp_log_socket_option(struct tcpcb *tp, uint32_t option_num,
1458 void tcp6_use_min_mtu(struct tcpcb *);
1459 u_int tcp_maxseg(const struct tcpcb *);
1460 u_int tcp_fixed_maxseg(const struct tcpcb *);
1461 void tcp_mss_update(struct tcpcb *, int, int, struct hc_metrics_lite *,
1463 void tcp_mss(struct tcpcb *, int);
1465 struct tcpcb *
1466 tcp_newtcpcb(struct inpcb *, struct tcpcb *);
1467 int tcp_default_output(struct tcpcb *);
1468 void tcp_state_change(struct tcpcb *, int);
1469 void tcp_respond(struct tcpcb *, void *,
1471 void tcp_send_challenge_ack(struct tcpcb *, struct tcphdr *, struct mbuf *);
1474 void tcp_setpersist(struct tcpcb *);
1475 void tcp_record_dsack(struct tcpcb *tp, tcp_seq start, tcp_seq end, int tlp);
1479 void tcp_timer_activate(struct tcpcb *, tt_which, u_int);
1480 bool tcp_timer_active(struct tcpcb *, tt_which);
1481 void tcp_timer_stop(struct tcpcb *);
1494 void cc_after_idle(struct tcpcb *tp);
1503 tcp_sack_doack(struct tcpcb *, struct tcpopt *, tcp_seq);
1504 int tcp_dsack_block_exists(struct tcpcb *);
1505 void tcp_update_dsack_list(struct tcpcb *, tcp_seq, tcp_seq);
1506 void tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_laststart,
1508 void tcp_clean_dsack_blocks(struct tcpcb *tp);
1509 void tcp_clean_sackreport(struct tcpcb *tp);
1510 int tcp_sack_adjust(struct tcpcb *tp);
1511 struct sackhole *tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt);
1512 void tcp_do_prr_ack(struct tcpcb *, struct tcphdr *, struct tcpopt *,
1514 void tcp_lost_retransmission(struct tcpcb *, struct tcphdr *);
1515 void tcp_sack_partialack(struct tcpcb *, struct tcphdr *, u_int *);
1516 void tcp_resend_sackholes(struct tcpcb *tp);
1517 void tcp_free_sackholes(struct tcpcb *tp);
1518 void tcp_sack_lost_retransmission(struct tcpcb *, struct tcphdr *);
1519 int tcp_newreno(struct tcpcb *, struct tcphdr *);
1520 int tcp_compute_pipe(struct tcpcb *);
1522 void tcp_sndbuf_autoscale(struct tcpcb *, struct socket *, uint32_t);
1523 int tcp_stats_sample_rollthedice(struct tcpcb *tp, void *seed_bytes,
1529 void tcp_change_time_units(struct tcpcb *, int);
1530 void tcp_handle_orphaned_packets(struct tcpcb *);
1537 void tcp_log_end_status(struct tcpcb *tp, uint8_t status);
1539 void tcp_req_free_a_slot(struct tcpcb *tp, struct tcp_sendfile_track *ent);
1541 tcp_req_find_a_req_that_is_completed_by(struct tcpcb *tp, tcp_seq th_ack, int *ip);
1542 int tcp_req_check_for_comp(struct tcpcb *tp, tcp_seq ack_point);
1544 tcp_req_is_entry_comp(struct tcpcb *tp, struct tcp_sendfile_track *ent, tcp_seq ack_point);
1546 tcp_req_find_req_for_seq(struct tcpcb *tp, tcp_seq seq);
1548 tcp_req_log_req_info(struct tcpcb *tp,
1555 tcp_req_alloc_req(struct tcpcb *tp, union tcp_log_userdata *user,
1559 tcp_req_alloc_req_full(struct tcpcb *tp, struct tcp_snd_req *req, uint64_t ts, int rec_dups);
1564 int tcp_do_ack_accounting(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to, uint32_t tiwin, i…
1568 tcp_lro_features_off(struct tcpcb *tp) in tcp_lro_features_off()