Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/tcp.4
Show All 28 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" 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 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 | .\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd November 25, 2020 | .Dd December 18, 2020 | ||||
bz: Please do not forget to update .Dd before comitting. | |||||
.Dt TCP 4 | .Dt TCP 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm tcp | .Nm tcp | ||||
.Nd Internet Transmission Control Protocol | .Nd Internet Transmission Control Protocol | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.In sys/types.h | .In sys/types.h | ||||
.In sys/socket.h | .In sys/socket.h | ||||
▲ Show 20 Lines • Show All 263 Lines • ▼ Show 20 Lines | |||||
See | See | ||||
.Xr ktls 4 | .Xr ktls 4 | ||||
for more details. | for more details. | ||||
.It Dv TCP_RXTLS_ENABLE | .It Dv TCP_RXTLS_ENABLE | ||||
Enable in-kernel TLS for data read from this socket. | Enable in-kernel TLS for data read from this socket. | ||||
See | See | ||||
.Xr ktls 4 | .Xr ktls 4 | ||||
for more details. | for more details. | ||||
.It Dv TCP_REUSPORT_LB_NUMA | |||||
Changes NUMA affinity filtering for an established TCP listen | |||||
socket. | |||||
This option takes a single integer argument which specifies | |||||
the NUMA domain to filter on for this listen socket. | |||||
The argument can also have the follwing special values: | |||||
.Bl -tag -width "Dv TCP_REUSPORT_LB_NUMA" | |||||
.It Dv TCP_REUSPORT_LB_NUMA_NODOM | |||||
Remove NUMA filtering for this listen socket. | |||||
.It Dv TCP_REUSPORT_LB_NUMA_CURDOM | |||||
Filter traffic associated with the domain where the calling thread is | |||||
currently executing. | |||||
This is typically used after a process or thread inherits a listen | |||||
socket from its parent, and sets its CPU affinity to a particular core. | |||||
.El | |||||
.El | .El | ||||
.Pp | .Pp | ||||
The option level for the | The option level for the | ||||
.Xr setsockopt 2 | .Xr setsockopt 2 | ||||
Not Done Inline ActionsVery long lines. Please "man-lint" using the usual tools (or by hand). bz: Very long lines. Please "man-lint" using the usual tools (or by hand). | |||||
Done Inline ActionsI have no idea what man-lint is. I was using mandoc -T lint share/man/man4/tcp.4 and those long lines did not add to the existing 46 warnings. I have shortened the lines, but would appreciate a pointer to the proper tool. gallatin: I have no idea what man-lint is. I was using mandoc -T lint share/man/man4/tcp.4 and those… | |||||
Not Done Inline ActionsYou can use the textproc/igor port package in addition to "mandoc -Tlint". The igor tool will tell you to wrap a line after a sentence stop (among other things). bcr: You can use the textproc/igor port package in addition to "mandoc -Tlint". The igor tool will… | |||||
Done Inline ActionsAwesome! Thank you! I wish we had something like this for style(9). That would be almost as good as clang-format.. gallatin: Awesome! Thank you! I wish we had something like this for style(9). That would be almost as… | |||||
call is the protocol number for | call is the protocol number for | ||||
.Tn TCP , | .Tn TCP , | ||||
available from | available from | ||||
.Xr getprotobyname 3 , | .Xr getprotobyname 3 , | ||||
or | or | ||||
.Dv IPPROTO_TCP . | .Dv IPPROTO_TCP . | ||||
All options are declared in | All options are declared in | ||||
.In netinet/tcp.h . | .In netinet/tcp.h . | ||||
▲ Show 20 Lines • Show All 418 Lines • Show Last 20 Lines |
Please do not forget to update .Dd before comitting.