IP_NODEFRAG(2const) IP_NODEFRAG(2const)

IP_NODEFRAG - don't defragmentate outgoing packets

Standard C library (libc-lc)

#include <netinet/in.h>  /* Definition of IP* constants */
#include <sys/socket.h>
int setsockopt(int sockfd, IPPROTO_IP, IP_NODEFRAG,
               const int *val, sizeof(int));

If val is nonzero, the reassembly of outgoing packets is disabled in the netfilter layer.

This option is valid only for SOCK_RAW sockets.

See IPPROTO_IP(2const). See setsockopt(2). See ip(7).

Linux 2.6.36.

IPPROTO_IP(2const), setsockopt(2), ip(7)

2025-11-25 Linux man-pages 6.17