dn_sched_wf2q.c (302408) | dn_sched_wf2q.c (325730) |
---|---|
1/* 2 * Copyright (c) 2010 Riccardo Panicucci, Universita` di Pisa 3 * Copyright (c) 2000-2002 Luigi Rizzo, Universita` di Pisa 4 * All rights reserved 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28/* | 1/* 2 * Copyright (c) 2010 Riccardo Panicucci, Universita` di Pisa 3 * Copyright (c) 2000-2002 Luigi Rizzo, Universita` di Pisa 4 * All rights reserved 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28/* |
29 * $FreeBSD: stable/11/sys/netpfil/ipfw/dn_sched_wf2q.c 300779 2016-05-26 21:40:13Z truckman $ | 29 * $FreeBSD: stable/11/sys/netpfil/ipfw/dn_sched_wf2q.c 325730 2017-11-12 01:26:43Z truckman $ |
30 */ 31 32#ifdef _KERNEL 33#include <sys/malloc.h> 34#include <sys/socket.h> 35#include <sys/socketvar.h> 36#include <sys/kernel.h> | 30 */ 31 32#ifdef _KERNEL 33#include <sys/malloc.h> 34#include <sys/socket.h> 35#include <sys/socketvar.h> 36#include <sys/kernel.h> |
37#include <sys/lock.h> |
|
37#include <sys/mbuf.h> 38#include <sys/module.h> | 38#include <sys/mbuf.h> 39#include <sys/module.h> |
40#include <sys/rwlock.h> |
|
39#include <net/if.h> /* IFNAMSIZ */ 40#include <netinet/in.h> 41#include <netinet/ip_var.h> /* ipfw_rule_ref */ 42#include <netinet/ip_fw.h> /* flow_id */ 43#include <netinet/ip_dummynet.h> | 41#include <net/if.h> /* IFNAMSIZ */ 42#include <netinet/in.h> 43#include <netinet/ip_var.h> /* ipfw_rule_ref */ 44#include <netinet/ip_fw.h> /* flow_id */ 45#include <netinet/ip_dummynet.h> |
46#include <netpfil/ipfw/ip_fw_private.h> |
|
44#include <netpfil/ipfw/dn_heap.h> 45#include <netpfil/ipfw/ip_dn_private.h> 46#ifdef NEW_AQM 47#include <netpfil/ipfw/dn_aqm.h> 48#endif 49#include <netpfil/ipfw/dn_sched.h> 50#else 51#include <dn_test.h> --- 329 unchanged lines hidden --- | 47#include <netpfil/ipfw/dn_heap.h> 48#include <netpfil/ipfw/ip_dn_private.h> 49#ifdef NEW_AQM 50#include <netpfil/ipfw/dn_aqm.h> 51#endif 52#include <netpfil/ipfw/dn_sched.h> 53#else 54#include <dn_test.h> --- 329 unchanged lines hidden --- |