Changeset View
Changeset View
Standalone View
Standalone View
head/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 19, 2020 | ||||
.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 | ||||
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 422 Lines • Show Last 20 Lines |