Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/cc/cc.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
extern STAILQ_HEAD(cc_head, cc_algo) cc_list; | extern STAILQ_HEAD(cc_head, cc_algo) cc_list; | ||||
extern const int tcprexmtthresh; | extern const int tcprexmtthresh; | ||||
extern struct cc_algo newreno_cc_algo; | extern struct cc_algo newreno_cc_algo; | ||||
/* Per-netstack bits. */ | /* Per-netstack bits. */ | ||||
VNET_DECLARE(struct cc_algo *, default_cc_ptr); | VNET_DECLARE(struct cc_algo *, default_cc_ptr); | ||||
#define V_default_cc_ptr VNET(default_cc_ptr) | #define V_default_cc_ptr VNET(default_cc_ptr) | ||||
VNET_DECLARE(int, cc_do_abe); | |||||
#define V_cc_do_abe VNET(cc_do_abe) | |||||
VNET_DECLARE(int, cc_abe_frlossreduce); | |||||
#define V_cc_abe_frlossreduce VNET(cc_abe_frlossreduce) | |||||
/* Define the new net.inet.tcp.cc sysctl tree. */ | /* Define the new net.inet.tcp.cc sysctl tree. */ | ||||
SYSCTL_DECL(_net_inet_tcp_cc); | SYSCTL_DECL(_net_inet_tcp_cc); | ||||
/* CC housekeeping functions. */ | /* CC housekeeping functions. */ | ||||
int cc_register_algo(struct cc_algo *add_cc); | int cc_register_algo(struct cc_algo *add_cc); | ||||
int cc_deregister_algo(struct cc_algo *remove_cc); | int cc_deregister_algo(struct cc_algo *remove_cc); | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |