Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2009 14:09:46 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netinet ip_output.c
Message-ID:  <200912281409.nBSE9uOA093665@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

luigi       2009-12-28 14:09:46 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_output.c 
  Log:
  SVN rev 201125 on 2009-12-28 14:09:46Z by luigi
  
  + remove an unused #define print_ip;
  + remove two unnecessary initializations in ip_output;
  + localize 'len';
  + introduce a temporary variable n to count the number of fragments,
    the compiler seems unable to identify a common subexpression
    (written 3 times, used twice);
  + document some assumptions on ip_len and ip_hl
  
  Revision  Changes    Path
  1.320     +13 -19    src/sys/netinet/ip_output.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912281409.nBSE9uOA093665>