From patchwork Sat Sep 11 05:36:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Michael Kerrisk \\(man-pages\\)" X-Patchwork-Id: 64484 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 7DC5CB70A3 for ; Sat, 11 Sep 2010 15:36:59 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751327Ab0IKFgi (ORCPT ); Sat, 11 Sep 2010 01:36:38 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:51846 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750801Ab0IKFgh convert rfc822-to-8bit (ORCPT ); Sat, 11 Sep 2010 01:36:37 -0400 Received: by vws3 with SMTP id 3so3267687vws.19 for ; Fri, 10 Sep 2010 22:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to :in-reply-to:references:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=go3hiYU6liLKyoq7FQFamoG/KAt/FDNODPhqvIo0B5Y=; b=El3ixLSGRHhmuTysW0panTmdjFSrqBIxgp2X8S4YF0zSvGnC/141c/fvC7QOPvV81V TLB+HV+mi4t+ze5/lZ+0cPi0ZkR+mHJWBPiwEVljG55nFL1iHw5txKgZrPcY0L7kc1AQ HBlzG51SPO3hkA/CW7+6ekUP5BvN3cJnY9zUg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=pJSz1LJCKH6emCc5dpEhXgESyCSfrpflk9bxqk/NT63+Cjklrt3OEYnbDk6wCyX+H7 ubGmAts9obAvLCwklCwnaclSvI6T/bxy1X2sfUqf//D8vXysoHldYMpJBocPPsD6kbTh YKpv6oNM3cP8VZVd7tGjoQ0XQ2SY/DcQoU3do= Received: by 10.220.124.33 with SMTP id s33mr974774vcr.19.1284183396033; Fri, 10 Sep 2010 22:36:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.42.208 with HTTP; Fri, 10 Sep 2010 22:36:15 -0700 (PDT) Reply-To: mtk.manpages@gmail.com In-Reply-To: <20100626191315.GA2076@jolsa.nomadprime.subscribe.loganwifi.com> References: <1276600052-16499-1-git-send-email-jolsa@redhat.com> <1276600052-16499-3-git-send-email-jolsa@redhat.com> <20100626.095857.137828263.davem@davemloft.net> <20100626191315.GA2076@jolsa.nomadprime.subscribe.loganwifi.com> From: Michael Kerrisk Date: Sat, 11 Sep 2010 07:36:15 +0200 Message-ID: Subject: Re: [PATCH 2/2 v2] man - IP_NODEFRAG option for IPv4 socket To: Jiri Olsa Cc: David Miller , eric.dumazet@gmail.com, jengelh@medozas.de, kaber@trash.net, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, linux-man@vger.kernel.org Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello Jiri On Sat, Jun 26, 2010 at 9:13 PM, Jiri Olsa wrote: > On Sat, Jun 26, 2010 at 09:58:57AM -0700, David Miller wrote: >> From: Michael Kerrisk >> Date: Sat, 26 Jun 2010 15:01:03 +0200 >> >> >>  sent from this socket. >> >> +.TP >> >> +.BR IP_NODEFRAG " (since Linux 2.6)" >> > >> > here, we'd write the exact version in which the flag is added. It >> > looks like that might be 2.36, right? >> >> It'll show up in 2.6.36 >> >> I doubt I'll be alive when we make it to 2.36 :-) > > :) ok, attaching changed patch I tweaked that slightly, and applied the below for man-pages-3.27. Thanks, Michael Set or get the IP options to be sent with every packet from this socket. --- a/man7/ip.7 +++ b/man7/ip.7 @@ -399,6 +399,14 @@ The default is 1 which means that multicast packets don't leave the local network unless the user program explicitly requests it. Argument is an integer. .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. +This option is only valid for +.B SOCK_RAW +sockets. +The argument is an integer. +.TP .BR IP_OPTIONS " (since Linux 2.0)" .\" Precisely: 1.3.30