diff options
| author | Alejandro Colomar <alx@kernel.org> | 2025-11-24 16:13:31 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-11-25 01:10:23 +0100 |
| commit | 93af4bc76fa1be040fa9aab42c5eb73645838492 (patch) | |
| tree | 9ecf3f0340b01b74ffb9b623d6da9e8e6e6f844a | |
| parent | f6dc39a863c1f45b521ecddcac936db55bb1cf13 (diff) | |
| download | man-pages-93af4bc76fa1be040fa9aab42c5eb73645838492.tar.gz | |
man/man2const/{IPPROTO_IP,IP_NODEFRAG}.2const: Split IP_NODEFRAG from IPPROTO_IP(2const)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man/man2const/IPPROTO_IP.2const | 11 | ||||
| -rw-r--r-- | man/man2const/IP_NODEFRAG.2const | 41 |
2 files changed, 43 insertions, 9 deletions
diff --git a/man/man2const/IPPROTO_IP.2const b/man/man2const/IPPROTO_IP.2const index 2ce3282870..dfad29d780 100644 --- a/man/man2const/IPPROTO_IP.2const +++ b/man/man2const/IPPROTO_IP.2const @@ -98,15 +98,8 @@ fail with the error .BR IP_MULTICAST_LOOP (2const) .TQ .BR IP_MULTICAST_TTL (2const) -.TP -.BR IP_NODEFRAG " (since Linux 2.6.36)" -If enabled (argument is nonzero), -the reassembly of outgoing packets is disabled in the netfilter layer. -The argument is an integer. -.IP -This option is valid only for -.B SOCK_RAW -sockets. +.TQ +.BR IP_NODEFRAG (2const) .TP .BR IP_OPTIONS " (since Linux 2.0)" .\" Precisely: since Linux 1.3.30 diff --git a/man/man2const/IP_NODEFRAG.2const b/man/man2const/IP_NODEFRAG.2const new file mode 100644 index 0000000000..d5c4230cd7 --- /dev/null +++ b/man/man2const/IP_NODEFRAG.2const @@ -0,0 +1,41 @@ +.\" Copyright, the authors of the Linux man-pages project +.\" +.\" SPDX-License-Identifier: Linux-man-pages-copyleft +.\" +.TH IP_NODEFRAG 2const (date) "Linux man-pages (unreleased)" +.SH NAME +IP_NODEFRAG +\- +don't defragmentate outgoing packets +.SH LIBRARY +Standard C library +.RI ( libc ,\~ \-lc ) +.SH SYNOPSIS +.nf +.BR "#include <netinet/in.h>" " /* Definition of " IP* " constants */" +.B #include <sys/socket.h> +.P +.BI int\~setsockopt(int\~ sockfd ,\~IPPROTO_IP,\~IP_NODEFRAG, +.BI " const\~int\~*" val ,\~sizeof(int)); +.fi +.SH DESCRIPTION +.TP +.BR IP_NODEFRAG " (since Linux 2.6.36)" +If enabled (argument is nonzero), +the reassembly of outgoing packets is disabled in the netfilter layer. +The argument is an integer. +.IP +This option is valid only for +.B SOCK_RAW +sockets. +.SH ERRORS +See +.BR IPPROTO_IP (2const). +See +.BR setsockopt (2). +See +.BR ip (7). +.SH SEE ALSO +.BR IPPROTO_IP (2const), +.BR setsockopt (2), +.BR ip (7) |
