Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/tcp_function_ctrl/tcp_function_ctrl.8
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
.\" Copyright (c) 2015 | |||||
.\" Netflix Inc. | |||||
.\" | |||||
.\" Redistribution and use in source and binary forms, with or without | |||||
.\" modification, are permitted provided that the following conditions | |||||
.\" are met: | |||||
.\" 1. Redistributions of source code must retain the above copyright | |||||
.\" notice, this list of conditions and the following disclaimer. | |||||
.\" 2. Redistributions in binary form must reproduce the above copyright | |||||
.\" notice, this list of conditions and the following disclaimer in the | |||||
.\" documentation and/or other materials provided with the distribution. | |||||
.\" | |||||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |||||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |||||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |||||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |||||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |||||
.\" SUCH DAMAGE. | |||||
.\" | |||||
.\" $FreeBSD$ | |||||
.\" | |||||
.Dd Oct 31, 2015 | |||||
.Dt TCP_FUNCTION_CTRL 8 | |||||
.Os | |||||
.Sh NAME | |||||
.Nm tcp_function_control | |||||
.Nd Control and list TCP function sets | |||||
.Sh SYNOPSIS | |||||
.Nm | |||||
.Fl s Ar name | |||||
.Nm | |||||
.Fl l | |||||
.Nm | |||||
.Fl d | |||||
.Sh DESCRIPTION | |||||
The | |||||
.Nm | |||||
program is designed to help you list and control what TCP functions | |||||
jtl: I'm curious why you chose to create a new program, rather than making the sysctls allow changes… | |||||
rrsAuthorUnsubmitted Not Done Inline ActionsCan you do a sysctl that accepts a string? Or a sysctl that If so I would be glad to do that... rrs: Can you do a sysctl that accepts a string? Or a sysctl that
prints out a structure like the… | |||||
jtlUnsubmitted Not Done Inline ActionsAbsolutely! Now, let me find one you can use for a prototype... See: cc_default_algo and cc_list_available at the bottom of sys/netinet/cc/cc.c. jtl: Absolutely!
Now, let me find one you can use for a prototype...
See: cc_default_algo and… | |||||
are available and in use on your system. The system has a default | |||||
function set that contain the standard FreeBSD TCP functions. Users | |||||
Not Done Inline ActionsLet me go look at that :-) rrs: Let me go look at that :-) | |||||
Not Done Inline ActionsOk I can do this.. but I am not sure I want to. I have to Let me mull on this to see if I really want to do that. Maybe for getting rrs: Ok I can do this.. but I am not sure I want to. I have to
change it so you *do not* get the… | |||||
may load kernel loadable modules which add different TCP behaviors | |||||
through new functionality. Each set of functionality is named by | |||||
the designer. Once the module is installed it makes available new | |||||
functionality. You may use the | |||||
.Nm | |||||
progam to list, enquire which function set is the default, or set | |||||
a new default function set. The default function set is the one | |||||
that any new TCP connection will use. Users may also use the | |||||
TCP_FUNCTION_BLK socket option to change a specific TCP socket | |||||
at startup. | |||||
.Sh OPTIONS | |||||
The following options are available: | |||||
.Bl -tag -width indent | |||||
.It Fl l | |||||
List out the current TCP function sets installed on this machine and | |||||
give an account of the number of PCB using it. | |||||
.It Fl d | |||||
List the default TCP function set that will be used if no socket | |||||
option is specified by the program. | |||||
.It Fl s Ar name | |||||
Set the default TCP function set to name. | |||||
.Sh SEE ALSO | |||||
.Xr tcp 4 | |||||
.Sh HISTORY | |||||
The | |||||
.Nm | |||||
utility first appeared in | |||||
.Fx 11.0. | |||||
.Sh AUTHORS | |||||
.An Randall Stewart Aq Mt rrs@FreeBSD.org |
I'm curious why you chose to create a new program, rather than making the sysctls allow changes directly?