From owner-svn-src-user@FreeBSD.ORG Sun Feb 7 17:51:54 2010 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F3321065741; Sun, 7 Feb 2010 17:51:54 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3EF498FC14; Sun, 7 Feb 2010 17:51:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o17HpsH9090795; Sun, 7 Feb 2010 17:51:54 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o17HpsBb090793; Sun, 7 Feb 2010 17:51:54 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <201002071751.o17HpsBb090793@svn.freebsd.org> From: Luigi Rizzo Date: Sun, 7 Feb 2010 17:51:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203616 - user/luigi/ipfw3-head/sys/netinet/ipfw X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2010 17:51:54 -0000 Author: luigi Date: Sun Feb 7 17:51:53 2010 New Revision: 203616 URL: http://svn.freebsd.org/changeset/base/203616 Log: correct a comment and other whitespace changes Modified: user/luigi/ipfw3-head/sys/netinet/ipfw/dn_sched.h Modified: user/luigi/ipfw3-head/sys/netinet/ipfw/dn_sched.h ============================================================================== --- user/luigi/ipfw3-head/sys/netinet/ipfw/dn_sched.h Sun Feb 7 17:51:19 2010 (r203615) +++ user/luigi/ipfw3-head/sys/netinet/ipfw/dn_sched.h Sun Feb 7 17:51:53 2010 (r203616) @@ -44,11 +44,11 @@ struct dn_alg { uint32_t flags; /* DN_MULTIQUEUE if supports multiple queues */ /* - * The following define the size of 4 optional data structures + * The following define the size of 3 optional data structures * that may need to be allocated at runtime, and are appended - * to each of the base data structures. + * to each of the base data structures: scheduler, sched.inst, + * and queue. We don't have a per-flowset structure. */ - /* + parameters attached to the template, e.g. * default queue sizes, weights, quantum size, and so on; */ @@ -128,6 +128,7 @@ struct dn_alg { * Additionally, dummynet exports some functions and macros * to be used by schedulers: */ + void dn_free_pkts(struct mbuf *mnext); int dn_enqueue(struct dn_queue *q, struct mbuf* m, int drop); /* bound a variable between min and max */