From owner-svn-src-head@FreeBSD.ORG Tue Aug 7 07:52:26 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47636106566C; Tue, 7 Aug 2012 07:52:26 +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 318548FC08; Tue, 7 Aug 2012 07:52:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q777qQ2q036763; Tue, 7 Aug 2012 07:52:26 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q777qPAj036760; Tue, 7 Aug 2012 07:52:25 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <201208070752.q777qPAj036760@svn.freebsd.org> From: Luigi Rizzo Date: Tue, 7 Aug 2012 07:52:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r239124 - in head/sys/netinet: . ipfw X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 07:52:26 -0000 Author: luigi Date: Tue Aug 7 07:52:25 2012 New Revision: 239124 URL: http://svn.freebsd.org/changeset/base/239124 Log: s/lenght/length/ in comments Modified: head/sys/netinet/ip_dummynet.h head/sys/netinet/ipfw/dummynet.txt Modified: head/sys/netinet/ip_dummynet.h ============================================================================== --- head/sys/netinet/ip_dummynet.h Tue Aug 7 05:46:36 2012 (r239123) +++ head/sys/netinet/ip_dummynet.h Tue Aug 7 07:52:25 2012 (r239124) @@ -171,8 +171,8 @@ struct dn_flow { struct ipfw_flow_id fid; uint64_t tot_pkts; /* statistics counters */ uint64_t tot_bytes; - uint32_t length; /* Queue lenght, in packets */ - uint32_t len_bytes; /* Queue lenght, in bytes */ + uint32_t length; /* Queue length, in packets */ + uint32_t len_bytes; /* Queue length, in bytes */ uint32_t drops; }; Modified: head/sys/netinet/ipfw/dummynet.txt ============================================================================== --- head/sys/netinet/ipfw/dummynet.txt Tue Aug 7 05:46:36 2012 (r239123) +++ head/sys/netinet/ipfw/dummynet.txt Tue Aug 7 07:52:25 2012 (r239124) @@ -839,7 +839,7 @@ scheduler functions. The struct scheduler represent the scheduler descriptor that is passed to dummynet when a scheduler module is loaded. -This struct contains the type of scheduler, the lenght of all structs and +This struct contains the type of scheduler, the length of all structs and all function pointers. If a function is not implemented should be initialize to NULL. Some functions are mandatory, other are mandatory if some memory should be freed.