Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 2.50 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /*
  2.  * Codel - The Controlled-Delay Active Queue Management algorithm
  3.  *
  4.  * Codel ("coddle") is a novel (nearly) no knobs, just works,  
  5.  * handles variable bandwidth and RTT, and simple AQM algorithm.  
  6.  *
  7.  * Based on pseudo-code and a ns2 description published in:
  8.  * "Controlling Queue Delay" http://queue.acm.org/detail.cfm?id=2209336
  9.  *
  10.  * Copyright (C) 2012 Eric Dumazet <eric.dumazet@gmail.com>
  11.  * Copyright (C) 2012 Michael D. Taht <dave.taht@bufferbloat.net>
  12.  * Copyright (C) 2012 Kathleen Nichols <nichols@pollere.com>
  13.  * Copyright (C) 2012 Van Jacobson <van@pollere.com>
  14.  * All rights reserved.
  15.  *
  16.  * Redistribution and use in source and binary forms, with or without
  17.  * modification, are permitted provided that the following conditions
  18.  * are met:
  19.  * 1. Redistributions of source code must retain the above copyright
  20.  *    notice, this list of conditions, and the following disclaimer,
  21.  *    without modification.
  22.  * 2. Redistributions in binary form must reproduce the above copyright
  23.  *    notice, this list of conditions and the following disclaimer in the
  24.  *    documentation and/or other materials provided with the distribution.
  25.  * 3. The names of the authors may not be used to endorse or promote products
  26.  *    derived from this software without specific prior written permission.
  27.  *
  28.  * Alternatively, provided that this notice is retained in full, this
  29.  * software may be distributed under the terms of the GNU General
  30.  * Public License ("GPL") version 2, in which case the provisions of the
  31.  * GPL apply INSTEAD OF those given above.
  32.  *
  33.  * The provided data structures and external interfaces from this code
  34.  * are not restricted to be used by modules with a GPL compatible license.
  35.  *
  36.  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  37.  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  38.  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  39.  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  40.  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  41.  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  42.  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  43.  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  44.  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  45.  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  46.  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  47.  * DAMAGE.
  48.  *
  49.  */