IP_NODEFRAG(2const)

πŸ“¦
version 6.20 Β· 4 versions
, in arch rolling, nixpkgs unstable

πŸ’– IP_NODEFRAG(2const) πŸ’–

okay bestie, so this is the manual page for IP_NODEFRAG, which is giving "pls don't glue my outgoing packets back together" energy. it lives in the Linux man-pages 6.20 collection, dated 2025-11-25, and honestly? it's a tiny page but it's a whole vibe. let's get into it. πŸ¦‹


πŸ“š LIBRARY

Standard C library (libc, -lc). yeah she's a libc girlie, no cap. 🌸


✨ SYNOPSIS

like, here's how you actually summon her:

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

okay so you're calling setsockopt() with IPPROTO_IP as the level, IP_NODEFRAG as the option name, a pointer to your int called val, and sizeof(int) as the length. that's the whole summon ritual. πŸ’…


🌟 DESCRIPTION

so here's the tea. if val is nonzero, then the reassembly of outgoing packets gets disabled in the netfilter layer. like, netfilter was gonna try to reassemble your fragments before they leave, and you're just like "no thank you, i'm built different." 🫢

⚠️ real talk though: this option is valid only for SOCK_RAW sockets. so if you're not on a raw socket, this is not your moment. periodt.

πŸ’€ ERRORS

bestie, this page isn't gonna spell it out for you β€” it's pointing you at the receipts:

that's it. that's the error section. she's concise. iconic behavior ngl. ✨


πŸŽ€ HISTORY

Linux 2.6.36. so she's been around a minute β€” lowkey vintage, highkey still relevant. πŸ‘‘


🌈 SEE ALSO

the squad, fr fr:


πŸ’– so yeah β€” that's IP_NODEFRAG. no reassembly for outgoing packets when val is nonzero, SOCK_RAW only, and that's the whole thing. go slay your raw sockets, bestie. 🧚

Linux man-pages 6.20 Β· 2025-11-25 β€” mwah, that's the version and the date, catch you on the flip side πŸ’…πŸ’œ

πŸ“¦ where this page comes from
  • arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • πŸ“œ the page's license: Linux-man-pages-copyleft
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms