Debian Codegraph @

upstream/debian-unstable/man2/IP_NODEFRAG.2const

raw
1 .\" Copyright, the authors of the Linux man-pages project
2 .\"
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
4 .\"
5 .TH IP_NODEFRAG 2const 2025-11-25 "Linux man-pages 6.18"
6 .SH NAME
7 IP_NODEFRAG
8 \-
9 don't defragmentate outgoing packets
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc ,\~ \-lc )
13 .SH SYNOPSIS
14 .nf
15 .BR "#include <netinet/in.h>" " /* Definition of " IP* " constants */"
16 .B #include <sys/socket.h>
17 .P
18 .BI int\~setsockopt(int\~ sockfd ,\~IPPROTO_IP,\~IP_NODEFRAG,
19 .BI " const\~int\~*" val ,\~sizeof(int));
20 .fi
21 .SH DESCRIPTION
22 If
23 .I val
24 is nonzero,
25 the reassembly of outgoing packets is disabled in the netfilter layer.
26 .P
27 This option is valid only for
28 .B SOCK_RAW
29 sockets.
30 .SH ERRORS
31 See
32 .BR IPPROTO_IP (2const).
33 See
34 .BR setsockopt (2).
35 See
36 .BR ip (7).
37 .SH HISTORY
38 Linux 2.6.36.
39 .SH SEE ALSO
40 .BR IPPROTO_IP (2const),
41 .BR setsockopt (2),
42 .BR ip (7)