Replace CC_VAR with CCV, since the CC_VAR macro doesn't exist.

While here, add MLINK for CCV.9 and DECLARE_CC_MODULE.9.
This commit is contained in:
Kevin Lo 2014-12-25 15:17:57 +00:00
parent 46b34e5adc
commit 2433b5f10f
2 changed files with 6 additions and 4 deletions

View File

@ -1080,6 +1080,8 @@ MLINKS+=microuptime.9 binuptime.9 \
microuptime.9 sbinuptime.9
MLINKS+=mi_switch.9 cpu_switch.9 \
mi_switch.9 cpu_throw.9
MLINKS+=mod_cc.9 CCV.9 \
mod_cc.9 DECLARE_CC_MODULE.9
MLINKS+=mtx_pool.9 mtx_pool_alloc.9 \
mtx_pool.9 mtx_pool_create.9 \
mtx_pool.9 mtx_pool_destroy.9 \

View File

@ -31,19 +31,19 @@
.\"
.\" $FreeBSD$
.\"
.Dd September 15, 2011
.Dd December 25, 2014
.Dt MOD_CC 9
.Os
.Sh NAME
.Nm mod_cc ,
.Nm DECLARE_CC_MODULE ,
.Nm CC_VAR
.Nm CCV
.Nd Modular Congestion Control
.Sh SYNOPSIS
.In netinet/cc.h
.In netinet/cc/cc_module.h
.Fn DECLARE_CC_MODULE "ccname" "ccalgo"
.Fn CC_VAR "ccv" "what"
.Fn CCV "ccv" "what"
.Sh DESCRIPTION
The
.Nm
@ -223,7 +223,7 @@ To aid the eventual transition towards this goal, direct use of variables from
the transport protocol's data structures is strongly discouraged.
However, it is inevitable at the current time to require access to some of these
variables, and so the
.Fn CC_VAR
.Fn CCV
macro exists as a convenience accessor.
The
.Fa ccv