From owner-cvs-all@FreeBSD.ORG Fri Jul 11 22:54:18 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBE6337B405; Fri, 11 Jul 2003 22:54:18 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57F3743F85; Fri, 11 Jul 2003 22:54:18 -0700 (PDT) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6C5sI0U008835; Fri, 11 Jul 2003 22:54:18 -0700 (PDT) (envelope-from luigi@repoman.freebsd.org) Received: (from luigi@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6C5sICj008834; Fri, 11 Jul 2003 22:54:18 -0700 (PDT) Message-Id: <200307120554.h6C5sICj008834@repoman.freebsd.org> From: Luigi Rizzo Date: Fri, 11 Jul 2003 22:54:18 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_fw2.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 05:54:19 -0000 luigi 2003/07/11 22:54:18 PDT FreeBSD src repository Modified files: sys/netinet ip_fw2.c Log: Implement comments embedded into ipfw2 instructions. Since we already had 'O_NOP' instructions which always match, all I needed to do is allow the NOP command to have arbitrary length (i.e. move its label in a different part of the switch() which validates instructions). The kernel must know nothing about comments, everything else is done in userland (which will be described in the upcoming ipfw2.c commit). Revision Changes Path 1.36 +1 -1 src/sys/netinet/ip_fw2.c