Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 15:46:01 -0700 (PDT)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet ip_fw2.c
Message-ID:  <200207082246.g68Mk15p016110@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2002/07/08 15:46:01 PDT

  Modified files:
    sys/netinet          ip_fw2.c 
  Log:
  No functional changes, but:
  
  Following Darren's suggestion, make Dijkstra happy and rewrite the
  ipfw_chk() main loop removing a lot of goto's and using instead a
  variable to store match status.
  
  Add a lot of comments to explain what instructions are supposed to
  do and how -- this should ease auditing of the code and make people
  more confident with it.
  
  In terms of code size: the entire file takes about 12700 bytes of text,
  about 3K of which are for the main function, ipfw_chk(), and 2K (ouch!)
  for ipfw_log().
  
  Revision  Changes    Path
  1.4       +266 -278  src/sys/netinet/ip_fw2.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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