1/*- 2 * Copyright (c) 2007-2008 3 * Swinburne University of Technology, Melbourne, Australia. 4 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org> 5 * Copyright (c) 2010 The FreeBSD Foundation 6 * All rights reserved. 7 * 8 * This software was developed at the Centre for Advanced Internet --- 33 unchanged lines hidden (view full) --- 42 * Technology's Centre for Advanced Internet Architectures, Melbourne, 43 * Australia, which was made possible in part by a grant from the Cisco 44 * University Research Program Fund at Community Foundation Silicon Valley. 45 * More details are available at: 46 * http://caia.swin.edu.au/urp/newtcp/ 47 */ 48 49#include <sys/cdefs.h> |
50__FBSDID("$FreeBSD: head/sys/netinet/cc/cc.c 294535 2016-01-21 22:34:51Z glebius $"); |
51 52#include <sys/param.h> 53#include <sys/kernel.h> 54#include <sys/libkern.h> 55#include <sys/lock.h> 56#include <sys/malloc.h> 57#include <sys/module.h> 58#include <sys/mutex.h> 59#include <sys/queue.h> 60#include <sys/rwlock.h> 61#include <sys/sbuf.h> 62#include <sys/socket.h> 63#include <sys/socketvar.h> 64#include <sys/sysctl.h> 65 66#include <net/vnet.h> 67 |
68#include <netinet/in.h> 69#include <netinet/in_pcb.h> |
70#include <netinet/tcp.h> |
71#include <netinet/tcp_var.h> |
72#include <netinet/tcp_cc.h> |
73 74#include <netinet/cc/cc_module.h> 75 76/* 77 * List of available cc algorithms on the current system. First element 78 * is used as the system default CC algorithm. 79 */ 80struct cc_head cc_list = STAILQ_HEAD_INITIALIZER(cc_list); --- 247 unchanged lines hidden --- |