cc.c (fe267a559009cbf34f9341666fe4d88a92c02d5e) cc.c (370efe5ac85e97e32cfe78d25183c6f605b4d3e5)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2007-2008
5 * Swinburne University of Technology, Melbourne, Australia.
6 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org>
7 * Copyright (c) 2010 The FreeBSD Foundation
8 * All rights reserved.

--- 313 unchanged lines hidden (view full) ---

322
323SYSCTL_PROC(_net_inet_tcp_cc, OID_AUTO, algorithm,
324 CTLFLAG_VNET | CTLTYPE_STRING | CTLFLAG_RW,
325 NULL, 0, cc_default_algo, "A", "Default congestion control algorithm");
326
327SYSCTL_PROC(_net_inet_tcp_cc, OID_AUTO, available, CTLTYPE_STRING|CTLFLAG_RD,
328 NULL, 0, cc_list_available, "A",
329 "List available congestion control algorithms");
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2007-2008
5 * Swinburne University of Technology, Melbourne, Australia.
6 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org>
7 * Copyright (c) 2010 The FreeBSD Foundation
8 * All rights reserved.

--- 313 unchanged lines hidden (view full) ---

322
323SYSCTL_PROC(_net_inet_tcp_cc, OID_AUTO, algorithm,
324 CTLFLAG_VNET | CTLTYPE_STRING | CTLFLAG_RW,
325 NULL, 0, cc_default_algo, "A", "Default congestion control algorithm");
326
327SYSCTL_PROC(_net_inet_tcp_cc, OID_AUTO, available, CTLTYPE_STRING|CTLFLAG_RD,
328 NULL, 0, cc_list_available, "A",
329 "List available congestion control algorithms");
330
331VNET_DEFINE(int, cc_do_abe) = 0;
332SYSCTL_INT(_net_inet_tcp_cc, OID_AUTO, abe, CTLFLAG_VNET | CTLFLAG_RW,
333 &VNET_NAME(cc_do_abe), 0,
334 "Enable draft-ietf-tcpm-alternativebackoff-ecn (TCP Alternative Backoff with ECN)");
335
336VNET_DEFINE(int, cc_abe_frlossreduce) = 0;
337SYSCTL_INT(_net_inet_tcp_cc, OID_AUTO, abe_frlossreduce, CTLFLAG_VNET | CTLFLAG_RW,
338 &VNET_NAME(cc_abe_frlossreduce), 0,
339 "Apply standard beta instead of ABE-beta during ECN-signalled congestion "
340 "recovery episodes if loss also needs to be repaired");