From owner-cvs-src-old@FreeBSD.ORG Mon Mar 15 15:43:58 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B39381065780 for ; Mon, 15 Mar 2010 15:43:58 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A186E8FC14 for ; Mon, 15 Mar 2010 15:43:58 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o2FFhw69052028 for ; Mon, 15 Mar 2010 15:43:58 GMT (envelope-from luigi@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2FFhwTv052027 for cvs-src-old@freebsd.org; Mon, 15 Mar 2010 15:43:58 GMT (envelope-from luigi@repoman.freebsd.org) Message-Id: <201003151543.o2FFhwTv052027@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to luigi@repoman.freebsd.org using -f From: Luigi Rizzo Date: Mon, 15 Mar 2010 15:43:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/ipfw ipfw2.c ipfw2.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2010 15:43:58 -0000 luigi 2010-03-15 15:43:35 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw2.c ipfw2.h Log: SVN rev 205169 on 2010-03-15 15:43:35Z by luigi Implement "lookup dscp N" which does a lookup of the DSCP (top 6 bits of ip->ip_tos) in a table. This can be useful to direct traffic to different pipes/queues according to the DSCP of the packet, as follows: ipfw add 100 queue tablearg lookup dscp 3 // table 3 maps dscp->queue This change is a no-op (but harmless) until the two-line kernel side is committed, which will happen shortly. Revision Changes Path 1.154 +3 -2 src/sbin/ipfw/ipfw2.c 1.12 +1 -0 src/sbin/ipfw/ipfw2.h