IP_NODEFRAG(2const)

IP_NODEFRAG2const

Don't defragmentate outgoing packets

Usage

#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));

Library

Standard C library (libc, -lc)

Overview

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

This option is valid only for SOCK_RAW sockets.

Errors

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

History

Linux 2.6.36.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.