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 August 26, 2019 | .Dd August 26, 2019 | ||||
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 287 Lines • ▼ Show 20 Lines | |||||
In-kernel TLS framing and encryption is not enabled for this socket. | In-kernel TLS framing and encryption is not enabled for this socket. | ||||
.It Dv TCP_TLS_MODE_SW | .It Dv TCP_TLS_MODE_SW | ||||
TLS records are encrypted by the kernel prior to placing the data in the | TLS records are encrypted by the kernel prior to placing the data in the | ||||
socket buffer. | socket buffer. | ||||
Typically this encryption is performed in software. | Typically this encryption is performed in software. | ||||
.It Dv TCP_TLS_MODE_IFNET | .It Dv TCP_TLS_MODE_IFNET | ||||
TLS records are encrypted by the network interface card (NIC). | TLS records are encrypted by the network interface card (NIC). | ||||
.El | .El | ||||
.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" | |||||
bzUnsubmitted 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). | |||||
gallatinAuthorUnsubmitted 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… | |||||
bcrUnsubmitted 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… | |||||
gallatinAuthorUnsubmitted 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… | |||||
.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 | ||||
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 , | ||||
▲ Show 20 Lines • Show All 391 Lines • Show Last 20 Lines |
Please do not forget to update .Dd before comitting.