From owner-cvs-src@FreeBSD.ORG Sat Sep 6 16:47:19 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFA1610656CA; Sat, 6 Sep 2008 16:47:19 +0000 (UTC) (envelope-from rik@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A7E938FC19; Sat, 6 Sep 2008 16:47:19 +0000 (UTC) (envelope-from rik@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m86GlJet029172; Sat, 6 Sep 2008 16:47:19 GMT (envelope-from rik@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m86GlJea029171; Sat, 6 Sep 2008 16:47:19 GMT (envelope-from rik@repoman.freebsd.org) Message-Id: <200809061647.m86GlJea029171@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rik@repoman.freebsd.org using -f From: Roman Kurakin Date: Sat, 6 Sep 2008 16:47:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet ip_fw.h ip_fw2.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2008 16:47:19 -0000 rik 2008-09-06 16:47:07 UTC FreeBSD src repository Modified files: sys/netinet ip_fw.h ip_fw2.c Log: SVN rev 182818 on 2008-09-06 16:47:07Z by rik Export the IPFW_DEFAULT_RULE outside ip_fw2.c. This number in not only the default rule number but also the maximum rule number. User space software such as ipfw and natd should be aware of its value. The software that already includes ip_fw.h should use the defined value. All other a expected to use sysctl (as discussed on net@). MFC after: 5 days. Discussed on: net@ Revision Changes Path 1.115 +5 -0 src/sys/netinet/ip_fw.h 1.192 +2 -1 src/sys/netinet/ip_fw2.c