Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2009 14:22:15 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netinet/ipfw ip_fw2.c
Message-ID:  <200912031422.nB3EMbpr040000@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2009-12-03 14:22:15 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet/ipfw     ip_fw2.c 
  Log:
  SVN rev 200059 on 2009-12-03 14:22:15Z by luigi
  
  preparation work to replace the monster switch in ipfw_chk() with
  table of functions.
  
  This commit (which is heavily based on work done by Marta Carbone
  in this year's GSOC project), removes the goto's and explicit
  return from the inner switch(), so we will have a easier time when
  putting the blocks into individual functions.
  
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.20      +203 -137  src/sys/netinet/ipfw/ip_fw2.c



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