Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_var.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | struct sackhint { | ||||
int sack_bytes_rexmit; | int sack_bytes_rexmit; | ||||
tcp_seq last_sack_ack; /* Most recent/largest sacked ack */ | tcp_seq last_sack_ack; /* Most recent/largest sacked ack */ | ||||
int ispare; /* explicit pad for 64bit alignment */ | int ispare; /* explicit pad for 64bit alignment */ | ||||
int sacked_bytes; /* | int sacked_bytes; /* | ||||
* Total sacked bytes reported by the | * Total sacked bytes reported by the | ||||
* receiver via sack option | * receiver via sack option | ||||
*/ | */ | ||||
uint32_t _pad1[1]; /* TBD */ | uint32_t recover_fs; /* Flight Size at the start of Loss recovery */ | ||||
uint64_t _pad[1]; /* TBD */ | uint32_t prr_delivered; /* Total bytes delivered using PRR */ | ||||
uint32_t _pad[1]; /* TBD */ | |||||
}; | }; | ||||
#define SEGQ_EMPTY(tp) TAILQ_EMPTY(&(tp)->t_segq) | #define SEGQ_EMPTY(tp) TAILQ_EMPTY(&(tp)->t_segq) | ||||
STAILQ_HEAD(tcp_log_stailq, tcp_log_mem); | STAILQ_HEAD(tcp_log_stailq, tcp_log_mem); | ||||
/* | /* | ||||
* Tcp control block, one per tcp; fields: | * Tcp control block, one per tcp; fields: | ||||
▲ Show 20 Lines • Show All 709 Lines • ▼ Show 20 Lines | |||||
VNET_DECLARE(int, tcp_sack_globalholes); | VNET_DECLARE(int, tcp_sack_globalholes); | ||||
VNET_DECLARE(int, tcp_sack_globalmaxholes); | VNET_DECLARE(int, tcp_sack_globalmaxholes); | ||||
VNET_DECLARE(int, tcp_sack_maxholes); | VNET_DECLARE(int, tcp_sack_maxholes); | ||||
VNET_DECLARE(int, tcp_sc_rst_sock_fail); | VNET_DECLARE(int, tcp_sc_rst_sock_fail); | ||||
VNET_DECLARE(int, tcp_sendspace); | VNET_DECLARE(int, tcp_sendspace); | ||||
VNET_DECLARE(struct inpcbhead, tcb); | VNET_DECLARE(struct inpcbhead, tcb); | ||||
VNET_DECLARE(struct inpcbinfo, tcbinfo); | VNET_DECLARE(struct inpcbinfo, tcbinfo); | ||||
#define V_tcp_do_prr VNET(tcp_do_prr) | |||||
#define V_tcp_do_prr_conservative VNET(tcp_do_prr_conservative) | |||||
#define V_tcp_do_newcwv VNET(tcp_do_newcwv) | #define V_tcp_do_newcwv VNET(tcp_do_newcwv) | ||||
#define V_drop_synfin VNET(drop_synfin) | #define V_drop_synfin VNET(drop_synfin) | ||||
#define V_path_mtu_discovery VNET(path_mtu_discovery) | #define V_path_mtu_discovery VNET(path_mtu_discovery) | ||||
#define V_tcb VNET(tcb) | #define V_tcb VNET(tcb) | ||||
#define V_tcbinfo VNET(tcbinfo) | #define V_tcbinfo VNET(tcbinfo) | ||||
#define V_tcp_abc_l_var VNET(tcp_abc_l_var) | #define V_tcp_abc_l_var VNET(tcp_abc_l_var) | ||||
#define V_tcp_autorcvbuf_max VNET(tcp_autorcvbuf_max) | #define V_tcp_autorcvbuf_max VNET(tcp_autorcvbuf_max) | ||||
#define V_tcp_autosndbuf_inc VNET(tcp_autosndbuf_inc) | #define V_tcp_autosndbuf_inc VNET(tcp_autosndbuf_inc) | ||||
▲ Show 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | |||||
int tcp_sack_doack(struct tcpcb *, struct tcpopt *, tcp_seq); | int tcp_sack_doack(struct tcpcb *, struct tcpopt *, tcp_seq); | ||||
void tcp_update_dsack_list(struct tcpcb *, tcp_seq, tcp_seq); | void tcp_update_dsack_list(struct tcpcb *, tcp_seq, tcp_seq); | ||||
void tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_laststart, tcp_seq rcv_lastend); | void tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_laststart, tcp_seq rcv_lastend); | ||||
void tcp_clean_dsack_blocks(struct tcpcb *tp); | void tcp_clean_dsack_blocks(struct tcpcb *tp); | ||||
void tcp_clean_sackreport(struct tcpcb *tp); | void tcp_clean_sackreport(struct tcpcb *tp); | ||||
void tcp_sack_adjust(struct tcpcb *tp); | void tcp_sack_adjust(struct tcpcb *tp); | ||||
struct sackhole *tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt); | struct sackhole *tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt); | ||||
void tcp_prr_partialack(struct tcpcb *, struct tcphdr *); | |||||
void tcp_sack_partialack(struct tcpcb *, struct tcphdr *); | void tcp_sack_partialack(struct tcpcb *, struct tcphdr *); | ||||
void tcp_free_sackholes(struct tcpcb *tp); | void tcp_free_sackholes(struct tcpcb *tp); | ||||
int tcp_newreno(struct tcpcb *, struct tcphdr *); | int tcp_newreno(struct tcpcb *, struct tcphdr *); | ||||
int tcp_compute_pipe(struct tcpcb *); | int tcp_compute_pipe(struct tcpcb *); | ||||
uint32_t tcp_compute_initwnd(uint32_t); | uint32_t tcp_compute_initwnd(uint32_t); | ||||
void tcp_sndbuf_autoscale(struct tcpcb *, struct socket *, uint32_t); | void tcp_sndbuf_autoscale(struct tcpcb *, struct socket *, uint32_t); | ||||
int tcp_stats_sample_rollthedice(struct tcpcb *tp, void *seed_bytes, | int tcp_stats_sample_rollthedice(struct tcpcb *tp, void *seed_bytes, | ||||
size_t seed_len); | size_t seed_len); | ||||
Show All 28 Lines |